function saveComment() {
	if (!isdefined('$')){
               	alert("Thank you for submitting your comment. It will be reviewed before appearing.");
var cform = document.getElementById('comment-form');
//               	$("#comment-form").submit();
cform.submit();
	}else{
		$(this).attr("disabled","disabled");
		$("#comment-form").hide();
		alert("Thank you for submitting your comment. It will be reviewed before appearing.");
		$("#comment-form").submit();
	//return false;
	}
	
}
function isdefined( variable)
{
    return (typeof(window[variable]) == "undefined")?  false: true;
}

