function reportCommentAbuse(url, commentId, referenceType, referenceId, userId) {
	$.ajax({
	    url: url+'?commentId='+commentId+'&referenceType='+referenceType+'&referenceId='+referenceId+'&userId='+userId,
	    type: 'POST',
	    dataType: 'text',
	    timeout: 15000,
	    error: function(){
	        alert('Your request cannot be processed at this time.\nPlease try again later.');
	    },
	    success: function(xml){
	        window.parent.location.reload();
	    }
	});
}


function reportProfileAbuse(userId) {
	$.ajax({
	    url:'/reportUserAbuse.htj?user_id='+userId,
	    type: 'POST',
	    dataType: 'text',
	    timeout: 15000,
	    error: function(){
	        alert('Your request cannot be processed at this time.\nPlease try again later.');
	    },
	    success: function(xml){
	        window.parent.location.reload();
	    }
	});
}

