function VerifyForm(theForm)
{
	if (theForm.CompanyName.value == "")
	{
   	   window.alert("Please enter the Company Name...");
   	   theForm.CompanyName.focus();
	   return false;
   	}      
	if (theForm.Address1.value == "")
	{
   	   window.alert("Please enter the Company Address...");
   	   theForm.Address1.focus();
	   return false;
   	}      
	if (theForm.City.value == "")
	{
   	   //window.alert("Please enter the City...");
   	   //theForm.City.focus();
	   //return false;
   	}      
	if (theForm.State.value == "")
	{
   	   //window.alert("Please enter the State...");
   	   //theForm.State.focus();
	   //return false;
   	}      
	if (theForm.ZIP.value == "")
	{
   	   //window.alert("Please enter the ZIP Code...");
   	   //theForm.ZIP.focus();
	   //return false;
   	}      
	if (theForm.Country.value == "")
	{
   	   window.alert("Please enter the State...");
   	   theForm.Country.focus();
	   return false;
   	}      
	if (theForm.PrimaryPhone.value == "")
	{
   	   //window.alert("Please enter the Primary Phone...");
   	   //theForm.PrimaryPhone.focus();
	   //return false;
   	}      
	if (theForm.Category.value == "")
	{
   	   window.alert("Please enter the Company Category...");
   	   theForm.Category.focus();
	   return false;
   	}
   	else
   	{
		for(i=0; i < theForm.Category.length; i++)
		{
			if (theForm.Category.options(i).selected == true)
				theForm.Categories.value = theForm.Categories.value + theForm.Category.options(i).value + ";";
		}  	
   	}	
	if (theForm.Description.value == "")
	{
   	   window.alert("Please enter the Description...");
   	   theForm.Description.focus();
	   return false;
   	}
	if (theForm.FirstName.value == "")
	{
   	   window.alert("Please enter your First Name...");
   	   theForm.FirstName.focus();
	   return false;
   	}
	if (theForm.LastName.value == "")
	{
   	   window.alert("Please enter your Last Name...");
   	   theForm.LastName.focus();
	   return false;
   	}
	if (theForm.FormalTitle.value == "")
	{
   	   //window.alert("Please enter your Formal Title...");
   	   //theForm.FormalTitle.focus();
	   //return false;
   	}
	if (theForm.Email.value == "")
	{
   	   window.alert("Please enter your Email...");
   	   theForm.Email.focus();
	   return false;
   	}
	if (theForm.Phone1.value == "")
	{
   	   //window.alert("Please enter your Primary Phone...");
   	   //theForm.Phone1.focus();
	   //return false;
   	}
	return true;
}
