function validateUserCommentsFields() {
	var valid = true;
	if (!validateCommentTitle()) valid=false;
	if (!validateCommentBody()) valid=false;
	return valid;
}


function validateCommentTitle() {
    return validateInputField('commentTitle', 1, 'commentTitle_error', 'Please supply a comment title.');
}


function validateCommentBody() {
    return validateInputField('commentBody', 1, 'commentBody_error', 'Please supply a comment.');
}
 
function confirmDeleteComment() {
	var answer = confirm("Are you sure you want to delete this comment");
	return answer;
}