// JavaScript Document
var isPost = false;
function validateForm(objForm) {
	if  ( isPost ) {
		alert("You have press the SUBMIT button already");
		return false;
	} else if ( IsEmpty(objForm.first_name.value)) {
		Warning(objForm.first_name , "Please specify your First Name");
		return false;
	} else if ( IsEmpty(objForm.last_name.value)) {
		Warning(objForm.last_name , "Please specify your Last 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.country.value)) {
		Warning(objForm.country , "Please specify your Country");
		return false;
	} else if ( IsEmpty(objForm.password.value)) {
		Warning(objForm.password , "Please insert validation code");
		return false;
	} else {
		isPost = true;
		objForm.btnSubmit.disabled = true;
		return true;


	}
}	