// 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.country.value)) {
		Warning(objForm.country , "Please Select Your Country Contact");
		return false;	
	} else if ( IsEmpty(objForm.enquiries.value)) {
		Warning(objForm.enquiries ,"Please specify Your Enquiry");
		return false;
	} else {
		isPost = true;
		objForm.btnSubmit.disabled = true;
		return true;
	}
}	
