<!--
function FrontPage_Form1_Validator(theForm)
{

  if (theForm.Name.value == "")
  {
    alert("Please enter a value for the \"Name\" field.");
    theForm.Name.focus();
    return (false);
  }

  if (theForm.Name.value.length < 3)
  {
    alert("Please enter at least 3 characters in the \"Name\" field.");
    theForm.Name.focus();
    return (false);
  }

  if (theForm.Email.value == "")
  {
    alert("Please enter a value for the \"Email\" field.");
    theForm.Email.focus();
    return (false);
  }

  if (theForm.Email.value.length < 5)
  {
    alert("Please enter at least 5 characters in the \"Email\" field.");
    theForm.Email.focus();
    return (false);
  }

  var checkOK = "0123456789-";
  var checkStr = theForm.Guests.value;
  var allValid = true;
  var validGroups = true;
  var decPoints = 0;
  var allNum = "";
  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;
    }
    allNum += ch;
  }
  if (!allValid)
  {
    alert("Please enter only digit characters in the \"Number of Guests\" field.");
    theForm.Guests.focus();
    return (false);
  }

  if (theForm.Month.selectedIndex == 0)
  {
    alert("The first \"Month\" option is not a valid selection.  Please choose one of the other options.");
    theForm.Month.focus();
    return (false);
  }

  if (theForm.Day.selectedIndex == 0)
  {
    alert("The first \"Day\" option is not a valid selection.  Please choose one of the other options.");
    theForm.Day.focus();
    return (false);
  }

  if (theForm.Month.selectedIndex == 0)
  {
    alert("The first \"Month\" option is not a valid selection.  Please choose one of the other options.");
    theForm.Month.focus();
    return (false);
  }

  if (theForm.Year.selectedIndex == 0)
  {
    alert("The first \"Year\" option is not a valid selection.  Please choose one of the other options.");
    theForm.Year.focus();
    return (false);
  }

  if (theForm.Start.selectedIndex == 0)
  {
    alert("The first \"Start\" option is not a valid selection.  Please choose one of the other options.");
    theForm.Start.focus();
    return (false);
  }

  if (theForm.End.selectedIndex == 0)
  {
    alert("The first \"End\" option is not a valid selection.  Please choose one of the other options.");
    theForm.End.focus();
    return (false);
  }
  return (true);
}
//-->