// JavaScript Document
var isPost = false;
function validateForm(objForm) {
	if  ( isPost ) {
		alert("You have press the SUBMIT button already");
		return false;
	} else if ( objForm.country.value==0) {
		Warning(objForm.country , "Please select your Country");
		return false;
	} else if ( IsEmpty(objForm.phone.value)) {
		Warning(objForm.phone , "Please specify your Phone Number");
		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 Address");
		return false;
	} else if ( ! IsEmail(objForm.email.value)) {
		Warning(objForm.email ,"Please specify your E-mail Address in the right format");
		return false;
	} else if ( IsEmpty(objForm.password.value)) {
		Warning(objForm.password , "Please specify Verify code");
		return false;
	} else {
		isPost = true;
		objForm.btnSubmit.disabled = true;
		return true;
	}
}	