// JavaScript Document
var isPost = false;
function validateForm(objForm) {
	if  ( isPost ) {
		alert("You have press the SUBMIT button already");
		return false;
	} else if ( IsEmpty(objForm.name.value)) {
		Warning(objForm.name , "Please specify your Name");
		return false;
	} else if ( IsEmpty(objForm.email.value)) {
		Warning(objForm.email ,"Please specify your E-mail");
		return false;
	} else if ( ! IsEmail(objForm.email.value)) {
		Warning(objForm.email ,"Please specify your E-mail in the right format");
		return false;
    } else if ( IsEmpty(objForm.tel.value)) {
		Warning(objForm.tel , "Please specify your Telephone Number");
		return false;
  } else if ( IsEmpty(objForm.info.value)) {
		Warning(objForm.info , "Please specify your comment or query");
		return false;
	} else {
		isPost = true;
		objForm.btnSubmit.disabled = true;
		return true;


	}
}	
