function ctuonlineCheckForm(form) {
	if (form.state && form.state.value == "AR") {
		alert("We're sorry but Colorado Technical University Online does not currently accept students in your state.");
		return (false);
    }
	if (form.hsged && form.hsged.value=='0' && form.educationLevel && (form.educationLevel.value == 'GED' || form.educationLevel.value == 'High School' || form.educationLevel.value == 'Nursing')) {
 		alert("Your Student Information Form indicates that you do not meet the admissions requirements.");
 		return (false);
 	}
	if(form.emailAddress && form.confirm_emailAddress && form.emailAddress.value != form.confirm_emailAddress.value) {
		alert("Confirm email address field does not match email address field.")
		return (false);
	}
	if(form.homePhone && form.confirm_homePhone && form.homePhone.value != form.confirm_homePhone.value) {
		alert("Confirm home phone field does not match home phone field.")
		return (false);
	}
	if(form.educationLevel && form.educationLevel.value != "Bachelors" && form.educationLevel.value != "Masters" && form.educationLevel.value != "Doctoral"
		&& form.program && (form.program.options[form.program.selectedIndex].text.indexOf("M")==0||form.program.options[form.program.selectedIndex].text.indexOf("E")==0)) {
		alert("Based on the information you provided, you do not currently meet the application requirements for Colorado Technical University Online.");
		return (false);
	}
	if(form.educationLevel && form.educationLevel.value != "Masters" && form.educationLevel.value != "Doctoral"
		&& form.program && (form.program.value=='2001'
		||form.program.value=='2002'||form.program.value=='2003')) {
		alert("Based on the information you provided, you do not currently meet the application requirements for Colorado Technical University Online.");
		return (false);
	}
	if (form.program && form.program.value == "1035") {
        if (form.registerednurse && !form.registerednurse[0].checked && !form.registerednurse[1].checked) {
            alert("Please specify whether you possess a current, unrestricted license to practice as a registered nurse in at least one U.S. state.");
            return (false);
        }
    }
	if (form.citizen && form.citizen.value == '') {
        alert("Please specify whether you are a US citizen.");
        return (false);
    }
	if (form.contactRequest && !form.contactRequest.checked) {
        alert("To request more information, you must understand an Admissions Advisor will contact you within the next few days to provide you with additional information related to your specific goals.");
        return (false);
    }
    return true;
}

function ctuonlineProgramChange(form)
{
	if (form.program.value == '1035') {
		document.getElementById("NursingDiv").style.display = "block";
    }
    else {
		document.getElementById("NursingDiv").style.display = "none";
    }
}

