

function verify(enquiry){

  if(enquiry.bill_name.value == ""){
	  
    	alert("Please enter the cardholder name.");
    	enquiry.bill_name.focus();
		enquiry.bill_name.select();
    	return (false);
  }
  
  
  if(enquiry.bill_addr_1.value == ""){
    
	  	alert("Please enter the first line of your address.");
    	enquiry.bill_addr_1.focus();
		enquiry.bill_addr_1.select();
    	return (false);
  }
  
  
  if(enquiry.bill_city.value == ""){
    
	  	alert("Please enter the town or city.");
    	enquiry.bill_city.focus();
		enquiry.bill_city.select();
    	return (false);
  }
  
  if(enquiry.bill_state.value == ""){
    
	  	alert("Please enter the county or state.");
    	enquiry.bill_state.focus();
		enquiry.bill_state.select();
    	return (false);
  }
  
   if(enquiry.bill_post_code.value == "") {
	   
    	alert("To ensure accurate delivery, we also require a postcode or zip code.");
    	enquiry.bill_post_code.focus();
		enquiry.bill_post_code.select();
    	return (false);
  }

  
  	if(enquiry.bill_country.options[enquiry.bill_country.selectedIndex].value == 0){
	
	  	alert("Please select the country you live in.");
    	enquiry.bill_country.focus();
    	return (false);
	}

	
	if(enquiry.bill_company.value == ""){
    
	    alert("Please enter your company name.");
    	enquiry.bill_company.focus();
		enquiry.bill_company.select()
    	return (false);
  }
   
   if(enquiry.bill_email.value == ""){
    
	    alert("Please enter an E-mail address to send your order confirmation to.");
    	enquiry.bill_email.focus();
		enquiry.bill_email.select()
    	return (false);
  }
  
 
 
 if(enquiry.bill_tel.value == ""){
	 
    	alert("Please enter a contact telephone number.");
    	enquiry.bill_tel.focus();
		enquiry.bill_tel.select();
    	return (false);
  }



  var checkOK = "0123456789-+()#{}[] \t\r\n\f";
  var checkStr = enquiry.bill_tel.value;
  var allValid = true;
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
  }
  
  if (!allValid){
	  
    	alert("This field accepts only digits and the characters  + - ( ) # { } [ ] ");
    	enquiry.bill_tel.focus()
		enquiry.bill_tel.select()
    	return (false);
  }

	

return (true);

}
 



