function Validator2(theForm)
{

  if (theForm.email.value == "")
  {
    alert("Please fill out all required fields!!"); // no email
    theForm.email.focus();
    return (false);
  }

  if (theForm.num.value == "")
  {
    alert("Please fill out all required fields!!"); // no number of rooms
    theForm.num.focus();
    return (false);
  }

  if (theForm.category.value == "")
  {
    alert("Please fill out all required fields!"); // no category
    theForm.category.focus();
    return (false);
  }

if (theForm.arrival.value == "")
  {
    alert("Please fill out all required fields!"); // no arrival date
    theForm.arrival.focus();
    return (false);
  }
  
if (theForm.departure.value == "")
  {
    alert("Please fill out all required fields!"); // no departure date
    theForm.departure.focus();
    return (false);
  }  

return (true);
}