

function ValidateForm(theForm)
{

	if(theForm.State.selectedIndex == "-1")
	{
		alert("Please Select a State");
		theForm.State.focus();
		return false;
	}

	if(theForm.vartrade1.value == "")
	{
		alert("Please enter your first choice for the Trade Name");
		theForm.vartrade1.focus();
		return false;
	}

	if(theForm.varfirstname.value == "")
	{
		alert("Please enter your first name");
		theForm.varfirstname.focus();
		return false;
	}

	if(theForm.varlastname.value == "")
	{
		alert("Please enter your last name");
		theForm.varlastname.focus();
		return false;
	}

	if(theForm.varstreet.value == "")
	{
		alert("Please enter your Street Address");
		theForm.varstreet.focus();
		return false;
	}

	if(theForm.varcity.value == "")
	{
		alert("Please enter your city");
		theForm.varcity.focus();
		return false;
	}

	if(theForm.varstate2.selectedIndex == "0")
	{
		alert("Please enter your State");
		theForm.varstate2.focus();
		return false;
	}

	if(theForm.varzip.value == "")
	{
		alert("Please enter your zip code");
		theForm.varzip.focus();
		return false;
	}

	if(theForm.varcounty.value == "")
	{
		alert("Please enter your county");
		theForm.varcounty.focus();
		return false;
	}

	if(theForm.varphone.value == "")
	{
		alert("Please enter your phone number");
		theForm.varphone.focus();
		return false;
	}

	if(theForm.varemail.value == "")
	{
		alert("Please enter your email address.  This is necessary to utilize our online order status.  If for any reason, you do not have an email address available, you can also print out this form and fax your order to 1-631-224-7979");
		theForm.varemail.focus();
		return false;
	} 

	if(theForm.varbiztype.value == "")
	{
		alert("Please enter your type of business");
		theForm.varbiztype.focus();
		return false;
	}

	if(theForm.varownerfirst1.value == "")
	{
		alert("Please enter the owner first name");
		theForm.varownerfirst1.focus();
		return false;
	}

	if(theForm.varownerlast1.value == "")
	{
		alert("Please enter the owner last name");
		theForm.varownerlast1.focus();
		return false;
	}

	if(theForm.varowneradd1.value == "")
	{
		alert("Please enter the owner Street Address");
		theForm.varowneradd1.focus();
		return false;
	}

	if(theForm.varownercity1.value == "")
	{
		alert("Please enter the owner city");
		theForm.varownercity1.focus();
		return false;
	}

	if(theForm.varownerstate1.selectedIndex == "0")
	{
		alert("Please enter the owner State");
		theForm.varownerstate1.focus();
		return false;
	}

	if(theForm.varownerzip1.value == "")
	{
		alert("Please enter the owner zip code");
		theForm.varownerzip1.focus();
		return false;
	}

	if(theForm.varownerphone1.value == "")
	{
		alert("Please enter the owner phone number");
		theForm.varownerphone1.focus();
		return false;
	}
         return true;	   
	
}

