// JavaScript Document
function myFormValidator(theForm) {	
	
if ( theForm.Company.value=="" ) {		
	alert("Please enter the name of your company.");
	theForm.Company.focus();
	return false;
}
	if ( theForm.TypeOfBusiness.value=="" ) {		
		alert("Please enter the Type of Business.");
		theForm.TypeOfBusiness.focus();
		return false;
	}
	if ( theForm.WebSite.value=="http://" ) {	
		alert("Please enter your company's web site URL.");
		theForm.WebSite.focus();
		return false;
	}
	if ( theForm.Contact.value=="" ) {	
		alert("Please enter the Contact Name.");
		theForm.Contact.focus();
		return false;
	}
	if ( theForm.Street.value=="" ) {
		alert("Please enter your Street Address.");
		theForm.Street.focus();
		return false;
	}
	if ( theForm.City.value=="" ) {
		alert("Please enter a City.");
		theForm.City.focus();
		return false;
	}
	if ( theForm.State_Province.value=="" ) {
		alert("Please enter a State or Province.");
		theForm.State_Province.focus();
		return false;
	}
	if ( theForm.Code.value=="" ) {
		alert("Please enter a Zip or Postal Code.");
		theForm.Code.focus();
		return false;
	}
	if ( theForm.Email.value=="" ) {
		alert("Please enter an Email Address.");
		theForm.Email.focus();
		return false;
	}
	if ( theForm.Phone.value=="" ) {
		alert("Please enter a Phone Number.");
		theForm.Phone.focus();
		return false;
	}
		
  	return true;
}