function validate_form(theForm)
{

  if (theForm.First_Name.value == "")
  {
    alert("Please enter a value for the \"First Name\" field.");
    theForm.First_Name.focus();
    return (false);
  }

  if (theForm.Email.value == "")
  {
    alert("Please enter a value for the \"Email Address\" field.");
    theForm.Email.focus();
    return (false);
  }

  if (theForm.When.selectedIndex < 0)
  {
    alert("Please select one of the \"When are you looking\" options.");
    theForm.When.focus();
    return (false);
  }

  if (theForm.When.selectedIndex == 0)
  {
    alert("The first \"When are you looking\" option is not a valid selection.  Please choose one of the other options.");
    theForm.When.focus();
    return (false);
  }

  if (theForm.Property_Type.selectedIndex < 0)
  {
    alert("Please select one of the \"Property Type\" options.");
    theForm.Property_Type.focus();
    return (false);
  }

  if (theForm.Property_Type.selectedIndex == 0)
  {
    alert("The first \"Property Type\" option is not a valid selection.  Please choose one of the other options.");
    theForm.Property_Type.focus();
    return (false);
  }
  return (true);
}