function validate(theForm) {
   if (theForm.FirstName.value == '') {
      alert('You must provide a first name.');
      theForm.FirstName.focus();
      return false;
   }
   if (theForm.LastName.value == '') {
      alert('You must provide a last name.');
      theForm.LastName.focus();
      return false;
   }
   
   noAddress = false;
   noCity = false;
   noState = false;
   noPhone = false;
   noEmail = false;
   noFax = false;
   
  if (theForm.Address1.value == '') { 
      noAddress = true;
      //alert(noAddress);
   }
  
  if (theForm.City.value == '') {
      noCity = true;
      //alert(noCity);
   }
   
   if (theForm.State.value == '') {
         noState = true;
         //alert(noState);
   }
   
   if (noAddress || noCity || noState ) {
   	noAddress = true;
       //alert("no Address");
       
   }
   
   if (theForm.EMail.value == '') {
         noEmail = true; 
         //alert("no Email");
   } 
   
   if (theForm.Telephone.value == '') {
      noPhone = true;
      //alert("no Phone");
   } 
   
   
   if (theForm.Fax.value == '') {
      noFax = true;
      //alert("no Fax");
   } 
 
   if (noAddress && noPhone && noEmail && noFax) {
       theForm.Address1.focus();
       alert("You must enter an address, phone, email, or fax number so we can contact you.");
       return false;
       }
       
   return true;
 
}  


