// JavaScript Document
<!-- HIDE FROM OTHER BROWSERS
	
	function validate(theForm) 
	{
	   
   if (theForm.Company_Name.value == "")
  	     {
    	 alert("Name required. Thank you.");
    	 theForm.name.focus();
    	 return (false);
  		 }
  	 if (theForm.Address.value == "")
  	     {
    	 alert("Address required. Thank you.");
    	 theForm.Address.focus();
    	 return (false);
  		 }
	
  	   if (theForm.City.value == "") 	
  	     {
    	 alert("City required. Thank you.");
    	 theForm.City.focus();
    	 return (false);
  		 }	
  	  if (theForm.State.value == "")  	
  	     {
    	 alert("State required. Thank you.");
    	 theForm.State.focus();
    	 return (false);
  		 }	
  	     	   
  	   if (theForm.Zip.value == "")  	
  	     {
    	 alert("Zip required. Thank you.");
    	 theForm.Zip.focus();
    	 return (false);
  		 }	
  	   if (theForm.Phone.value == "")  	
  	     {
    	 alert("Phone required. Thank you.");
    	 theForm.Phone.focus();
    	 return (false);
  		 }	 
	
	   if (theForm.Email.value == "" || theForm.Email.value.indexOf ('@', 0) == -1) 	
  	     {
    	 alert("Please enter valid Email address.");
    	 theForm.Email.focus();
    	 return (false);
  		 }
  	  if (theForm.Authorized_By.value == "")  	
  	     {
    	 alert("Purchase Authorized by required. Thank you.");
    	 theForm.Authorized_By.focus();
    	 return (false);
  		 }
  	 
	 
 	return (true);
	}
	
	// STOP HIDING FROM OTHER BROWSERS -->	