function FrontPage_Form1_Validator(theForm)
{
  
  if (theForm.date_of_tour.value == "")
  {    alert("Please enter a value for the \"Date of tour\" field.");
    theForm.date_of_tour.focus();
    return (false);  }

  if (theForm.group_name.value == "")
  {    alert("Please enter a value for the \"Group name\" field.");
    theForm.group_name.focus();
    return (false);  }

  var checkboxSelected = false;
  for (i = 0;  i < theForm.grade_of_students.length;  i++)
  {    if (theForm.grade_of_students[i].checked)
        checkboxSelected = true;  }
  if (!checkboxSelected)
  {    alert("Please select at least one of the \"Grade of students\" options.");
    return (false);  }

  if (theForm.number_of_students.value == "")
  {    alert("Please enter a value for the \"Number of students\" field.");
    theForm.number_of_students.focus();
    return (false);  }

  if (theForm.number_of_chaperones.value == "")
  {    alert("Please enter a value for the \"Number of chaperones\" field.");
    theForm.number_of_chaperones.focus();
    return (false);  }

  if (theForm.coordinator_name.value == "")
  {    alert("Please enter a value for the \"Coordinator name\" field.");
    theForm.coordinator_name.focus();
    return (false);  }
	
	  if (theForm.phone_areacode.value == "")
  {    alert("Please enter a value for the \"Phone area code\" field.");
    theForm.phone_areacode.focus();
    return (false);  }
	
	  if (theForm.phone_number.value == "")
  {    alert("Please enter a value for the \"Phone number\" field.");
    theForm.phone_number.focus();
    return (false);  }
	
  if (theForm.cc.value == "")
  {    alert("Please enter an email address for the \"Email Address\" field.");
    theForm.cc.focus();
    return (false);  }

   var radioSelected = false;
  for (i = 0;  i < theForm.Contact.length;  i++)
  {    if (theForm.Contact[i].checked)
        radioSelected = true;  }
  if (!radioSelected)
  {    alert("Please select one of the \"Contact method\" options.");
    return (false);  }

   var radioSelected = false;
  for (i = 0;  i < theForm.Sessions.length;  i++)
  {    if (theForm.Sessions[i].checked)
        radioSelected = true;  }
  if (!radioSelected)
  {    alert("Please select one of the \"Information sessions\" options.");
    return (false);  }

  var radioSelected = false;
  for (i = 0;  i < theForm.Tours.length;  i++)
  {    if (theForm.Tours[i].checked)
        radioSelected = true;  }
  if (!radioSelected)
  {    alert("Please select one of the \"Tours\" options.");
    return (false);  }

 var radioSelected = false;
  for (i = 0;  i < theForm.Meals.length;  i++)
  {    if (theForm.Meals[i].checked)
        radioSelected = true;  }
  if (!radioSelected)
  {    alert("Please select one of the \"Meal planning assistance\" options.");
    return (false);  }
	

	
  return (true);}

