function Verify(theForm)
{

  if (theForm.txtFirstName.value == "") {
    alert("Please enter your first name.");
    theForm.txtFirstName.focus();
    return (false); }

  if (theForm.txtLastName.value == "") {
    alert("Please enter your last name.");
    theForm.txtLastName.focus();
    return (false); }

  if (theForm.txtAddress.value == "") {
    alert("Please enter your address.");
    theForm.txtAddress.focus();
    return (false); }

  if (theForm.txtCity.value == "") {
    alert("Please enter your home city.");
    theForm.txtCity.focus();
    return (false); }

  if (theForm.txtState.value == "") {
    alert("Please enter your home state.");
    theForm.txtState.focus();
    return (false); }

  if (theForm.txtZip.value == "") {
    alert("Please enter your zip code.");
    theForm.txtZip.focus();
    return (false); }

  if (theForm.txtCountry.value == "") {
    alert("Please select your home country.");
    theForm.txtCountry.focus();
    return (false); }

  if (theForm.txtHomePhone.value == "") {
    alert("Please enter your home phone.");
    theForm.txtHomePhone.focus();
    return (false); }

	if (theForm.txtEmail.value != "") {
		var testresults;
		var str=theForm.txtEmail.value;
		var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;
		if (filter.test(str)) {
			testresults=true;
		} else {
			alert("Thank you for entering your E-Mail address.  Please make sure it is a valid E-Mail address.");
			testresults=false;
			theForm.txtEmail.focus();
			return (false);
		}
	}

  if (theForm.rgCampus[0].checked == false && theForm.rgCampus[1].checked == false && theForm.rgCampus[2].checked == false && theForm.rgCampus[3].checked == false && theForm.rgCampus[4].checked == false && theForm.rgCampus[5].checked == false) {
    alert("Please select a campus.");
    theForm.rgCampus[0].focus();
    return (false); }

  if (theForm.rgCampus[0].checked == true && theForm.txtCitizenship.value == "") {
    alert("Please select your country of citizenship.");
    theForm.txtCitizenship.focus();
    return (false); }

  if (theForm.rgCampus[0].checked == true && theForm.txtHighSchool.value == "") {
    alert("Please enter the name of your high school.");
    theForm.txtHighSchool.focus();
    return (false); }

  if (theForm.rgCampus[0].checked == true && theForm.Intended_Major.value == "") {
    alert("Please indicate your academic Interest.");
    theForm.Intended_Major.focus();
    return (false); }

  var HSDate = theForm.txtHighSchoolDate.value;
  if (theForm.rgCampus[0].checked == true && (HSDate == "" || HSDate.substring(2,3) != "/" || HSDate.substring(5,6) != "/" || HSDate.length != 10)) {
    alert("Please enter your high school graduation date in mm/dd/yyyy format.");
    theForm.txtHighSchoolDate.focus();
    return (false); }

  if (theForm.rgCampus[1].checked == true && theForm.rgDegree[0].checked == false && theForm.rgDegree[1].checked == false && theForm.rgDegree[2].checked == false && theForm.rgDegree[3].checked == false && theForm.rgDegree[4].checked == false && theForm.rgDegree[5].checked == false && theForm.rgDegree[6].checked == false && theForm.rgDegree[7].checked == false && theForm.rgDegree[8].checked == false && theForm.rgDegree[9].checked == false && theForm.rgDegree[10].checked == false && theForm.rgDegree[11].checked == false && theForm.rgDegree[12].checked == false) {
    alert("Please select the degree you are interested in.");
    theForm.rgDegree[0].focus();
    return (false); }

  if (theForm.rgCampus[1].checked == true && (theForm.rgDegree[0].checked == true || theForm.rgDegree[1].checked == true || theForm.rgDegree[2].checked == true || theForm.rgDegree[3].checked == true || theForm.rgDegree[4].checked == true || theForm.rgDegree[5].checked == true || theForm.rgDegree[6].checked == true) && theForm.AspireEntryDate.value == "") {
    alert("Please enter your intended date of entry.");
    theForm.AspireEntryDate.focus();
    return (false); }

  if (theForm.rgCampus[1].checked == true && (theForm.rgDegree[7].checked == true || theForm.rgDegree[8].checked == true || theForm.rgDegree[9].checked == true || theForm.rgDegree[10].checked == true) && theForm.listMATMEDEntryMonth.value == "") {
    alert("Please select your intended date of entry.");
    theForm.listMATMEDEntryMonth.focus();
    return (false); }

  if (theForm.rgCampus[1].checked == true && theForm.rgDegree[11].checked == true && theForm.listPACEEntryMonth.value == "") {
    alert("Please select your intended date of entry.");
    theForm.listPACEEntryMonth.focus();
    return (false); }

  if (theForm.rgCampus[1].checked == true && theForm.rgDegree[12].checked == true && theForm.MPAEntryDate.value == "") {
    alert("Please select your intended date of entry.");
    theForm.MPAEntryDate.focus();
    return (false); }

  if (theForm.rgCampus[2].checked == true && theForm.listOnlinePrograms.value == "") {
    alert("Please select the program you are interested in.");
    theForm.listOnlinePrograms.focus();
    return (false); }

  if (theForm.rgCampus[2].checked == true && theForm.listOnlineEntryDate.value == "") {
    alert("Please select your intended month of entry.");
    theForm.listOnlineEntryDate.focus();
    return (false); }

  if (theForm.rgCampus[3].checked == true && theForm.HoustonEntryDate.value == "") {
    alert("Please select your intended date of entry.");
    theForm.HoustonEntryDate.focus();
    return (false); }

  if (theForm.rgCampus[3].checked == true && theForm.listHouston.value == "") {
    alert("Please select the program you are interested in.");
    theForm.listHouston.focus();
    return (false); }

  if (theForm.rgCampus[4].checked == true && theForm.MemphisEntryDate.value == "") {
    alert("Please select your intended date of entry.");
    theForm.MemphisEntryDate.focus();
    return (false); }

  if (theForm.rgCampus[4].checked == true && theForm.listMemphis.value == "") {
    alert("Please select the program you are interested in.");
    theForm.listMemphis.focus();
    return (false); }

  if (theForm.rgCampus[5].checked == true && theForm.OrlandoEntryDate.value == "") {
    alert("Please select your intended date of entry.");
    theForm.OrlandoEntryDate.focus();
    return (false); }

  if (theForm.rgCampus[5].checked == true && theForm.listOrlando.value == "") {
    alert("Please select the program you are interested in.");
    theForm.listOrlando.focus();
    return (false); }

}
