function validateForm(theForm)
{

if (theForm.Name.value == "") {
        alert( "Please enter your Name." );
        theForm.Name.focus();
        return false ;
    }
    if (theForm.Email.value == "") {
        alert( "Please enter your e-mail address." );
        theForm.Email.focus();
        return false ;
    }

if (theForm.ConfirmEmail.value == "") {
        alert( "Please confirm your e-mail address." );
        theForm.ConfirmEmail.focus();
        return false ;
    }
    
    
    
if ( theForm.ConfirmEmail.value != theForm.Email.value )
{
alert ( "Your Email addresses do not match" );
theForm.ConfirmEmail.focus();
return false;
}

if ( theForm.PhoneNumber.value == "")
  {
    alert("Enter your phone numbers.");
	theForm.PhoneNumber.focus();
    return (false);
  }
  if (theForm.ArriveDay.selectedIndex < 0)
  {
    alert("Please select one of the \"ArriveDay\" options.");
    theForm.ArriveDay.focus();
    return (false);
  }

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

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

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

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

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

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

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

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

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

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

  if (theForm.DepartYear.selectedIndex == 0)
  {
    alert("The first \"DepartYear\" option is not a valid selection.  Please choose one of the other options.");
    theForm.DepartYear.focus();
    return (false);
  }
/*
if ( theForm.SpamCheck.value == "" )
{
alert ( "Please enter the red number" );
theForm.SpamCheck.focus();
return false;
}
*/
 return (true);

}


