// JavaScript Document
function sub_mit(){
	if (validate() == true){
		document.ContactForm.action="contact.php";
		document.ContactForm.submit();
	}
}
function validate()
{
	if(document.ContactForm.FirstName.value=='' ){
	alert("Please enter First name");
	document.ContactForm.FirstName.focus();
	return false;
	}
	if(document.ContactForm.LastName.value=='' ){
	alert("Please enter Last Name");
	document.ContactForm.LastName.focus();
	return false;
	}
	if(document.ContactForm.email.value=='' ){
	alert("Please enter Email");
	document.ContactForm.email.focus();
	return false;
	}
	if(document.ContactForm.HPhone.value== "" ){
	alert("Please enter Home Phone Number");
	document.ContactForm.HPhone.focus();
	return false;
	}
	if(document.ContactForm.BPhone.value== "" ){
	alert("Please enter Business Phone Number");
	document.ContactForm.BPhone.focus();
	return false;
	}
	if(document.ContactForm.Occupation.value== "" ){
	alert("Please enter Occupation");
	document.ContactForm.Occupation.focus();
	return false;
	}
	if(document.ContactForm.checkbox.checked == false 
	   && document.ContactForm.checkbox2.checked == false 
	   && document.ContactForm.checkbox3.checked == false){
	alert("Please check Action");
	//document.ContactForm.Occupation.focus();
	return false;
	}
	
return true;
}
