function removeOptions() {
	var elSel = document.getElementById('Major');
	var i;
	for (i = elSel.length - 1; i>=0; i--) elSel.remove(i);
}

function appendOptionLast(name, value) {
	var elOptNew = document.createElement('option');
	elOptNew.text = name;
	elOptNew.value = value;
	var elSel = document.getElementById('Major');

	try {
		elSel.add(elOptNew, null);
	}
	catch(ex) {
		elSel.add(elOptNew);
	}
}

function addBSDegrees() {
	appendOptionLast("Sports Management", "9530");
	appendOptionLast("Arabic Language and Culture", "5850");
	appendOptionLast("Science and Technology: Legal Studies Option", "7130");
}

function addMSDegrees() {
	appendOptionLast("Education - Principal", "0976");
	appendOptionLast("Social Science-Applied Criminology", "0945");
	appendOptionLast("Tourism Planning and Development", "0231");
	appendOptionLast("Exercise Science and Health Promotion", "0950");
	appendOptionLast(" * Wellness & Fitness", "0952");
	appendOptionLast(" * Perf. Enhancement & Injury Prevention", "0952");
	appendOptionLast(" * Rehabilitation Science", "0950");
	appendOptionLast(" * Sport Psychology", "0950");
	appendOptionLast("Legal Studies", "0951");
	appendOptionLast("Sports Management Studies", "0960");
	appendOptionLast("Master of Arts Teaching", "0975");
	appendOptionLast("Master of Education - Technology Education", "0915");
	appendOptionLast("Master of Education - Elementary Education", "0901");
	appendOptionLast(" * National Board Teacher Certification Track", "0901");
	appendOptionLast(" * Early Childhood Education Track", "0901");
	appendOptionLast(" * English as a Second Language Track", "0901");
	appendOptionLast("Master of Science - Nursing", "0901");
	appendOptionLast(" * Nursing Administration & Leadership Specializtion (spring 2010 start)", "0901");
}

function addCerts() {
	appendOptionLast("Arabic Language and Culture", "0948");
	appendOptionLast("Spanish for Business", "0949");
	appendOptionLast("Spanish for Law Enforcement", "5850");
	appendOptionLast("Superintendent's Letter of Eligibility", "0455");
	appendOptionLast("Principals K-12 Certification", "0977");
	appendOptionLast("Exer Sci Health Pro-Wellness and Fitness Cert", "0950");
	appendOptionLast("Exer Sci Health Pro-Perfrm Enh & Inj Prev Cert", "0950");
	appendOptionLast("Exer Sci Health Pro-Rehabilitation Sciences Cert", "0950");
	appendOptionLast("Exer Sci Health Pro-Sports Psychology Cert", "0950");
	appendOptionLast("Cert Sport Mgt: Facilities Management", "0980");
	appendOptionLast("Cert Sport Mgt: Intercollegiate Athletic Administration", "0981");
	appendOptionLast("Sports Counseling Certification", "0935");
}
