function validate()
{
	
if(document.frm.name.value == "")

  {

   alert("Please fill Name Field.")

   document.frm.name.focus()

   return false;

   }
if(document.frm.phone.value == "")

  {

   alert("Please fill Phone Number Field.")

   document.frm.phone.focus()

   return false;

   }
if(document.frm.n_o_guest.value == "")

  {

   alert("Please fill No. of Guests Field.")

   document.frm.n_o_guest.focus()

   return false;

   }
 if(document.frm.booking.value == "")

  {

   alert("Please fill Date of Booking Field.")

   document.frm.booking.focus()

   return false;

   }
   if(document.frm.pref.value == "")

  {

   alert("Please fill Preferred Time Field.")

   document.frm.pref.focus()

   return false;

   }
   

  return true;

 }
function IsNumeric(strString)
   //  check for valid numeric strings	
   {
   var strValidChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
   var strChar;
   var blnResult = true;

   if (strString.length == 0) return false;

   //  test strString consists of valid characters listed above
   for (i = 0; i < strString.length && blnResult == true; i++)
      {
      strChar = strString.charAt(i);
      if (strValidChars.indexOf(strChar) == -1)
         {
         blnResult = false;
         }
      }
   return blnResult;
   }
