// JavaScript Document
var isPost = false;
function validateForm(objForm) {
	if  ( isPost ) {
		alert("You have press the SUBMIT button already");
		return false;
	} else if ( IsEmpty(objForm.Erster_Name1.value)) {
		Warning(objForm.Erster_Name1 , "Bitte ihren Namen eintragen");
		return false;
	} else if ( IsEmpty(objForm.agechild.value)) {
		Warning(objForm.agechild , "Please specify Age of child");
		return false;
	}  else if ( IsEmpty(objForm.Tage_6_Tour.value)) {
		Warning(objForm.Tage_6_Tour , "Bitte ihren 6 Tage Fahrt eintragen");
		return false;
	} else if ( IsEmpty(objForm.email1.value)) {
		Warning(objForm.email1 ,"Bitte ihren E-mail eintragen");
		return false;
	} else if ( ! IsEmail(objForm.email1.value)) {
		Warning(objForm.email1 ,"Bitte ihren E-mail eintragen");
		return false;
	} else {
		isPost = true;
		objForm.btnSubmit.disabled = true;
		return true;


	}
}	
