function check()
{

  if (document.theres.Title.value=="")
     {
      alert("Please enter your Title!");
      document.theres.Title.focus();
      return false;
     }
  if (document.theres.First_Name.value=="")
     {
      alert("Please enter your FirstName!")
      document.theres.First_Name.focus();
      return false;
     }
  if (document.theres.Last_Name.value=="")
     {
      alert("Please enter your LastName!")
      document.theres.Last_Name.focus();
      return false;
     }
  if (document.theres.Preferred_Phone.value=="")
     {
      alert("Please enter your PreferredPhone!")
      document.theres.Preferred_Phone.focus();
      return false;
     }

  if (document.theres.Email_Address.value=="")
     {
      alert("Please enter your EmailAddress!")
      document.theres.Email_Address.focus();
      return false;
     }
  if (document.theres.Email_Address.value.length > 0 && !document.theres.Email_Address.value.match( /.+@.+$/ ) )
     {
     alert("Email Error!");
      return false;
     }
	if (document.theres.Email_Address.value.indexOf(".")<0)
     {
     alert("Email Error!");
     document.theres.Email_Address.focus();
      return false;
     }
	if (document.theres.Table_of_Preference.value=="")
     {
      alert("Please enter your Table_of_Preference!")
      document.theres.Table_of_Preference.focus();
      return false;
     }

	if (document.theres.Date_of_Dining.value=="")
     {
      alert("Please enter your Table_of_Preference!")
      document.theres.Date_of_Dining.focus();
      return false;
     }

	if (document.theres.Number_Adults.value=="")
     {
      alert("Please enter your Number_Adults!")
      document.theres.Number_Adults.focus();
      return false;
     }


}