
var ucflag=0;
function validatecomment(formData, jqForm, options)
{
    if (ucflag == 1)
       return false;

var form = jqForm[0];

if (form.name.value==''){
alert("Please Type In Your Name");
form.name.focus();
form.name.select();
return false;
}

if (form.email.value==''){
alert("Please Type In Your Email Address");
form.email.focus();
form.email.select();
return false;
}


if (! (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,5})+$/.test(form.email.value))){
alert("Invalid E-mail Address! Please re-enter.")
form.email.focus();
form.email.select();
return false;
}

if (form.comment.value==''){
alert("Please Type In a Comment");
form.comment.focus();
form.comment.select();
return false;
}

ucflag = 1;
return true;

}


function showResponsecomment(){
	
	$("#blogaddform").css('display', 'none');
	$("#showaddcomment").fadeIn("slow");

}


