// JavaScript Document
var isPost = false;
function validateForm(objForm) {
	if  ( isPost ) {
		alert("You have press the SUBMIT button already");
		return false;
	} else if ( IsEmpty(objForm.description.value)) {
		Warning(objForm.description , "Please specify your Member Package");
		return false;
	} else if ( IsEmpty(objForm.cust_lname.value)) {
		Warning(objForm.cust_lname , "Please specify your Last name in English");
		return false;
	} else if ( IsEmpty(objForm.cust_fname.value)) {
		Warning(objForm.cust_fname , "Please specify your First name in English");
		return false;
	} else if ( IsEmpty(objForm.cust_email.value)) {
		Warning(objForm.cust_email , "Please specify your E-mail address");
		return false;
	} else if ( ! IsEmail(objForm.cust_email.value)) {
		Warning(objForm.cust_email ,"Please specify your E-mail in the right format");
		return false;
	} else if ( IsEmpty(objForm.amount.value)) {
		Warning(objForm.amount , "Please specify your Total amount due");
		return false;
	} else if ( IsEmpty(objForm.cur_abbr.value)) {
		Warning(objForm.cur_abbr , "Please specify your Currency");
		return false;
	} else if ( IsEmpty(objForm.cust_address1.value)) {
		Warning(objForm.cust_address1 , "Please specify your Address");
		return false;
	} else if ( IsEmpty(objForm.cust_city.value)) {
		Warning(objForm.cust_city , "Please specify your City ");
		return false;
	} else if ( IsEmpty(objForm.cust_zip.value)) {
		Warning(objForm.cust_zip , "Please specify your Zip");
		return false;
	} else if ( IsEmpty(objForm.cust_country.value)) {
		Warning(objForm.cust_country , "Please specify your Country");
		return false;
	} else {
		isPost = true;
		objForm.btnSubmit.disabled = true;
		return true;
	}
}	