function ashfordCheckForm(form) {

	if (form.state && (form.state.value == "AR" || form.state.value == "PA" || form.state.value == "MN" || form.state.value == "MS")) {
      alert("We're sorry but Ashford University does not currently accept students from your state.");
      return (false);
    }

	if (form.program.value.indexOf("B") != 0 && form.program.value.indexOf("A") != 0 && form.educationLevel && form.educationLevel.value != "Bachelors"
		&& form.educationLevel.value != "Masters" && form.educationLevel.value != "Doctoral") {
		alert("To select Master's degree, must have Bachelor's Degree or higher.");
		return (false);
    }
    if (form.program.value.indexOf("B") == 0 && form.educationLevel && (form.educationLevel.value == "Bachelors" 
		|| form.educationLevel.value == "Masters" || form.educationLevel.value == "Doctoral")) {
		alert("Anyone who already has a Bachelor's degree or higher is not eligible for the program!");
		return (false);
    }
	if (form.program.value.indexOf("A") == 0 && form.educationLevel && (form.educationLevel.value == "Associate" || form.educationLevel.value == "Bachelors" 
		|| form.educationLevel.value == "Masters" || form.educationLevel.value == "Doctoral")) {
		alert("Anyone who already has a Associate's degree or higher is not eligible for the program!");
		return (false);
    }
	if (form.custom2 && form.custom2.value == "") {
		alert("Please specify whether you are eligible to receive GI Bill benefits or military tuition assistance.");
		return (false);
	}
	if (form.gradYear && form.gradYear.value == '') {
        alert("Please specify High School Graduation Year.");
        return (false);
    }
	if (form.gradYear && form.gradYear.value > '2008') {
		if(document.getElementById("validation_container")) {
			$(".page_margins").prepend($('#validation_container'));
			scroll(0,0);
			$('#validation_container').show('slide' ,'',500);

			$('#validation_container a').bind('click', function() {
				$('#validation_container').hide('slide' ,'',500);
				$('#validation_container a').unbind();
			});
		}
		else 
	        alert("Your Student Information Form indicates that you do not meet the admissions requirements.");
        return (false);
    }
	if (form.custom3 && form.custom3.value == "") {
		alert("Please specify age.");
		return (false);
	}
    if (form.program.value.indexOf("A") != 0 && form.agebs && !form.agebs[0].checked && !form.agebs[1].checked) {
		alert("Please specify whether you are age 22 or older.");
		return (false);
    }
    if (form.program.value.indexOf("A") == 0 && form.ageas && !form.ageas[0].checked && !form.ageas[1].checked) {
		alert("Please specify whether you are age 17 or older.");
		return (false);
    }
	if (!form.firstName) {
		if (form.custom3 && form.custom3.value != "22+ years old") {
			if(document.getElementById("validation_container")) {
				$(".page_margins").prepend($('#validation_container'));
				scroll(0,0);
				$('#validation_container').show('slide' ,'',500);

				$('#validation_container a').bind('click', function() {
					$('#validation_container').hide('slide' ,'',500);
					$('#validation_container a').unbind();
				});
			}
			else 
				alert("You must be age 22 or older to enroll!");
			return (false);
		}
	}
	if (form.contactRequest && !form.contactRequest.checked) {
        alert("To request more information, you must acknowledge that Ashford University will contact you via email and telephone.");
        return (false);
    }
    return true;
}

function ashfordProgramChange(form)
{
}
