// JavaScript Document
var isPost = false;
function validateForm(objForm) {
	if  ( isPost ) {
		alert("You have press the SUBMIT button already");
		return false;
	} else if ( IsEmpty(objForm.fname.value)) {
		Warning(objForm.fname , "Please specify your First 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.tel.value)) {
		Warning(objForm.tel , "Please specify your Telephone");
		return false;
	} else if ( IsEmpty(objForm.comment.value)) {
		Warning(objForm.comment , "Please specify your Comment or Notes");
		return false;
	} else if ( IsEmpty(objForm.subj.value)) {
		Warning(objForm.subj , "Please specify your Subject");
		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;
	}
}	