// 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 Email Address");
		return false;
	} else if ( ! IsEmail(objForm.Email.value)) {
		Warning(objForm.Email ,"Please specify your Email Address in the right format");
		return false;
	} /*else if ( IsEmpty(objForm.digit.value)) {
		Warning(objForm.digit , "Please specify your Digit");
		return false;
	}*/ else {
		isPost = true;
		objForm.btnSubmit.disabled = true;
		return true;
	}
}	