<!--
//	Java script for comment page
function delcomment(id){
	result = confirm("Are you sure you want to delete this comment ?");
	if(result){
		window.open("../comment/delcomment.php?id="+id,"_self");
	}
}

function form_Validator(){
	if(document.submitcomment.name.value==""){
		document.submitcomment.name.focus();
		alert("You must type your name.");
		return false;
	}
	else if(document.submitcomment.securitytext.value==""){
			document.submitcomment.securitytext.focus();
			alert("You must type security text for varify your comment.");
			return false;
	}
	else if(document.submitcomment.email.value==""){
		document.submitcomment.email.focus();
		alert("You must type your E-mail address for verify you. And this will not display in this page.");
		return false;
	}
	else if(document.submitcomment.message.value==""){
		document.submitcomment.message.focus();
		alert("You didn't type any message in comment.");
		return false;
	}
	return true;
}
// -->