
	var xmlHttp = new Array(null,null,null,null,null);
	var xmlHttpCollege = new Array(null,null,null,null);
	var xmlHttpDept = new Array(null,null,null,null);
	
	function GetXmlHttpObject()
	{ 
		var objXMLHttp = null;
		
		if (window.XMLHttpRequest)
			objXMLHttp = new XMLHttpRequest();
		else if (window.ActiveXObject)
			objXMLHttp = new ActiveXObject("Microsoft.XMLHTTP");
		
		return objXMLHttp;
	}
	
	function fillMajor(frm, cmp, howManyMajorFlds, i, major, minor, path, startup)
	{
		var k = 0;
		
		if (cmp.selectedIndex == 0)
		{
			document.getElementById("divMajor" + i).innerHTML = "<select name=\"cboMajor" + i + "\" style=\"width: 400px\"><option value=\"0\">Select One</option></select>"	

			if (howManyMajorFlds > 1)
				document.getElementById("divMinor" + i).innerHTML = "<select name=\"cboMinor" + i + "\" style=\"width: 400px\"><option value=\"0\">Select One</option></select>"	
		}
		else
		{
			//CLEAR IF STARTUP
			if (startup == "startup")
			{
				for(k = 0; k < 6; k++)
				{
					if (xmlHttp[k] == null)
					{
						xmlHttp[k] = GetXmlHttpObject();
						break;
					}
				}
			}
			else
			{
				xmlHttp = new Array(null,null,null,null,null);
				xmlHttp[k] = GetXmlHttpObject();
			}
			
	
			if (xmlHttp[k] == null)
			{
				alert ("Browser does not support HTTP Request");
				return;
			}
		
			var url = path + "ajax/loadMajors.php";
			var params = "currset=" + i + "&howmany=" + howManyMajorFlds + "&cid=" + escape(cmp.options[cmp.options.selectedIndex].value);
		
			xmlHttp[k].onreadystatechange = function () {
					
					var vMajorList = "";
		
					if (xmlHttp[k].readyState == 4 || xmlHttp[k].readyState == "complete")
						vMajorList = xmlHttp[k].responseText;
			
					if (vMajorList != "")
					{
						var arr = vMajorList.split("#");
						
						document.getElementById("divMajor" + arr[0]).innerHTML = "" +
									"<select name=\"cboMajor" + arr[0] + "\" style=\"width: 400px\"><option value=\"0\">Select One</option>" +
									insertSelect(arr[2], major) + "</select>";
					
						if (arr[1] > 1)
						{
							document.getElementById("divMinor" + arr[0]).innerHTML = "" +
									"<select name=\"cboMinor" + arr[0] + "\" style=\"width: 400px\"><option value=\"0\">Select One</option>" +
									insertSelect(arr[2], minor) + "</select>";
						}
					}
			}
			xmlHttp[k].open("POST",url,true);
			xmlHttp[k].setRequestHeader("Content-type", "application/x-www-form-urlencoded");
			xmlHttp[k].setRequestHeader("Content-length", params.length);
			xmlHttp[k].setRequestHeader("Connection", "close");
			xmlHttp[k].send(params);
		}
	}
	
	function insertSelect(txtcbo, val)
	{
		return txtcbo.replace("<option value=\"" + val + "\">", "<option value=\"" + val + "\" selected>");	
	}
	
	function fillCollege(frm, cmp, i, college, path, startup)
	{
		var k = 0;
		
		if (cmp.selectedIndex == 0)
			document.getElementById("divMentorCollege" + i).innerHTML = "<select name=\"cboMentorCollege" + i + "\" style=\"width: 400px\"><option value=\"0\">Select One</option></select>"	
		else
		{
			//CLEAR IF STARTUP
			if (startup == "startup")
			{
				for(k = 0; k < 6; k++)
				{
					if (xmlHttpCollege[k] == null)
					{
						xmlHttpCollege[k] = GetXmlHttpObject();
						break;
					}
				}
			}
			else
			{
				xmlHttpCollege = new Array(null,null,null,null);
				xmlHttpCollege[k] = GetXmlHttpObject();
			}
			
	
			if (xmlHttpCollege[k] == null)
			{
				alert ("Browser does not support HTTP Request");
				return;
			}
		
			var url = path + "ajax/loadColleges.php";
			var params = "currset=" + i + "&cid=" + escape(cmp.options[cmp.options.selectedIndex].value);
		
			xmlHttpCollege[k].onreadystatechange = function () {
					
					var vCollegeList = "";
		
					if (xmlHttpCollege[k].readyState == 4 || xmlHttpCollege[k].readyState == "complete")
						vCollegeList = xmlHttpCollege[k].responseText;
			
					if (vCollegeList != "")
					{
						var arr = vCollegeList.split("#");
						
						document.getElementById("divMentorCollege" + arr[0]).innerHTML = "" +
									"<select name=\"cboMentorCollege" + arr[0] + "\" style=\"width: 400px\"><option value=\"0\">Select One</option>" +
									insertSelect(arr[1], college) + "</select>";
					}
			}
			xmlHttpCollege[k].open("POST",url,true);
			xmlHttpCollege[k].setRequestHeader("Content-type", "application/x-www-form-urlencoded");
			xmlHttpCollege[k].setRequestHeader("Content-length", params.length);
			xmlHttpCollege[k].setRequestHeader("Connection", "close");
			xmlHttpCollege[k].send(params);
		}
	}
	
	function fillDept(frm, cmp, i, dept, path, startup)
	{
		var k = 0;
		
		if (cmp.selectedIndex == 0)
			document.getElementById("divMentorDept" + i).innerHTML = "<select name=\"cboMentorDept" + i + "\" style=\"width: 400px\"><option value=\"0\">Select One</option></select>"	
		else
		{
			//CLEAR IF STARTUP
			if (startup == "startup")
			{
				for(k = 0; k < 6; k++)
				{
					if (xmlHttpDept[k] == null)
					{
						xmlHttpDept[k] = GetXmlHttpObject();
						break;
					}
				}
			}
			else
			{
				xmlHttpDept = new Array(null,null,null,null);
				xmlHttpDept[k] = GetXmlHttpObject();
			}
			
	
			if (xmlHttpDept[k] == null)
			{
				alert ("Browser does not support HTTP Request");
				return;
			}
		
			var url = path + "ajax/loadDepts.php";
			var params = "currset=" + i + "&cid=" + escape(cmp.options[cmp.options.selectedIndex].value);
		
			xmlHttpDept[k].onreadystatechange = function () {
					
					var vDeptList = "";
		
					if (xmlHttpDept[k].readyState == 4 || xmlHttpDept[k].readyState == "complete")
						vDeptList = xmlHttpDept[k].responseText;
			
					if (vDeptList != "")
					{
						var arr = vDeptList.split("#");
						
						document.getElementById("divMentorDept" + arr[0]).innerHTML = "" +
									"<select name=\"cboMentorDept" + arr[0] + "\" style=\"width: 400px\"><option value=\"0\">Select One</option>" +
									insertSelect(arr[1], dept) + "</select>";
					}
			}
			xmlHttpDept[k].open("POST",url,true);
			xmlHttpDept[k].setRequestHeader("Content-type", "application/x-www-form-urlencoded");
			xmlHttpDept[k].setRequestHeader("Content-length", params.length);
			xmlHttpDept[k].setRequestHeader("Connection", "close");
			xmlHttpDept[k].send(params);
		}
	}

    function LoadDepartments(frm, cboCampus, cboCollege, cboDepartment)
    {
        iLengthCollege = cboCollege.length;
        iLengthDepartment = cboDepartment.length;

        for(iCounter = 1; iCounter < iLengthCollege; iCounter++)
            cboCollege.options[1] = null;
        for(iCounter = 1; iCounter < iLengthDepartment; iCounter++)
            cboDepartment.options[1] = null;

        if (cboCampus.options[cboCampus.selectedIndex].value == "Aiken")
        {
            cboCollege.options[1] = new Option("Business Administration", "Business Administration")
            cboCollege.options[2] = new Option("Education", "Education")
            cboCollege.options[3] = new Option("Humanities and Social Sciences", "Humanities and Social Sciences")
            cboCollege.options[4] = new Option("Nursing", "Nursing")
            cboCollege.options[5] = new Option("Sciences", "Sciences")
	        cboCollege.options[6] = new Option("University Libraries", "University Libraries")

            cboDepartment.options[1] = new Option("Accounting", "Accounting")
            cboDepartment.options[2] = new Option("Applied Clinical Psychology", "Applied Clinical Psychology")
            cboDepartment.options[3] = new Option("Athletic Training", "Athletic Training")
            cboDepartment.options[4] = new Option("Biology/Geology", "Biology/Geology")
            cboDepartment.options[5] = new Option("Business Administration", "Business Administration")
            cboDepartment.options[6] = new Option("Chemistry", "Chemistry")
            cboDepartment.options[7] = new Option("Communications", "Communications")
            cboDepartment.options[8] = new Option("Early Childhood Education", "Early Childhood Education")
            cboDepartment.options[9] = new Option("Education", "Education")
            cboDepartment.options[10] = new Option("Education Technology", "Education Technology")
            cboDepartment.options[11] = new Option("Elementary Education", "Elementary Education")
            cboDepartment.options[12] = new Option("English", "English")
            cboDepartment.options[13] = new Option("Engineering", "Engineering")
            cboDepartment.options[14] = new Option("Exercise and Sports Science", "Exercise and Sports Science")
            cboDepartment.options[15] = new Option("Finance", "Finance")
            cboDepartment.options[16] = new Option("Golf Course Services", "Golf Course Services")
            cboDepartment.options[17] = new Option("History", "History")
            cboDepartment.options[18] = new Option("Industrial Mathematics", "Industrial Mathematics")
            cboDepartment.options[19] = new Option("Languages, Literatures and Cultures", "Languages, Literatures and Cultures")
            cboDepartment.options[20] = new Option("Management", "Management")
            cboDepartment.options[21] = new Option("Marketing", "Marketing")
            cboDepartment.options[22] = new Option("Math/Computer Science", "Math/Computer Science")
            cboDepartment.options[23] = new Option("Nursing", "Nursing")
            cboDepartment.options[24] = new Option("Philosophy", "Philosophy")
            cboDepartment.options[25] = new Option("Political Science", "Political Science")
            cboDepartment.options[26] = new Option("Pre-Dentistry", "Pre-Dentistry")
            cboDepartment.options[27] = new Option("Pre-Law", "Pre-Law")
            cboDepartment.options[28] = new Option("Pre-Med", "Pre-Med")
            cboDepartment.options[29] = new Option("Pre-Pharmacy", "Pre-Pharmacy")
            cboDepartment.options[30] = new Option("Pre-Veterinary Science", "Pre-Veterinary Science")
            cboDepartment.options[31] = new Option("Psychology", "Psychology")
            cboDepartment.options[32] = new Option("Seconday Education", "Seconday Education")
            cboDepartment.options[33] = new Option("Sociology", "Sociology")
            cboDepartment.options[34] = new Option("Special Education", "Special Education")
	        cboDepartment.options[35] = new Option("University Libraries", "University Libraries")	
            cboDepartment.options[36] = new Option("Visual and Performing Arts", "Visual and Performing Arts")
        }
        else if (cboCampus.options[cboCampus.selectedIndex].value == "Beaufort")
        {
            cboCollege.options[1] = new Option("Humanities", "Humanities")
            cboCollege.options[2] = new Option("Math and Science", "Math and Science")
            cboCollege.options[3] = new Option("Professional Programs", "Professional Programs")
	    cboCollege.options[4] = new Option("University Libraries", "University Libraries")	

            cboDepartment.options[1] = new Option("African American Studies", "African American Studies")
            cboDepartment.options[2] = new Option("Anthropology", "Anthropology")
            cboDepartment.options[3] = new Option("Art", "Art")
            cboDepartment.options[4] = new Option("Biological Sciences", "Biological Sciences")
            cboDepartment.options[5] = new Option("Biology", "Biology")
            cboDepartment.options[6] = new Option("Business Administration", "Business Administration")
            cboDepartment.options[7] = new Option("Chemistry", "Chemistry")
            cboDepartment.options[8] = new Option("Computer Science", "Computer Science")
            cboDepartment.options[9] = new Option("Early Childhood Education", "Early Childhood Education")
            cboDepartment.options[10] = new Option("Economics", "Economics")
            cboDepartment.options[11] = new Option("Education", "Education")
            cboDepartment.options[12] = new Option("English", "English")
            cboDepartment.options[13] = new Option("Foreign Languages", "Foreign Languages")
            cboDepartment.options[14] = new Option("History", "History")
            cboDepartment.options[15] = new Option("Hospitality Management", "Hospitality Management")
            cboDepartment.options[16] = new Option("Human Services", "Human Services")
            cboDepartment.options[17] = new Option("International Relations", "International Relations")
            cboDepartment.options[18] = new Option("Marine Science", "Marine Science")
            cboDepartment.options[19] = new Option("Mathematics", "Mathematics")
            cboDepartment.options[20] = new Option("Music", "Music")
            cboDepartment.options[21] = new Option("Philosophy", "Philosophy")
            cboDepartment.options[22] = new Option("Physical Education", "Physical Education")
            cboDepartment.options[23] = new Option("Physics", "Physics")
            cboDepartment.options[24] = new Option("Political Science", "Political Science")
            cboDepartment.options[25] = new Option("Psychology", "Psychology")
            cboDepartment.options[26] = new Option("Religious Studies", "Religious Studies")
            cboDepartment.options[27] = new Option("Sociology", "Sociology")
            cboDepartment.options[28] = new Option("Speech", "Speech")
            cboDepartment.options[29] = new Option("Statistics", "Statistics")
	    cboDepartment.options[30] = new Option("University Libraries", "University Libraries")	
        }
        else if (cboCampus.options[cboCampus.selectedIndex].value == "Lancaster")
        {
            cboCollege.options[1] = new Option("Humanities", "Humanities")
            cboCollege.options[2] = new Option("Math and Science", "Math and Science")
            cboCollege.options[3] = new Option("Professional Programs", "Professional Programs")
	    cboCollege.options[4] = new Option("University Libraries", "University Libraries")

            cboDepartment.options[1] = new Option("Accounting", "Accounting")
            cboDepartment.options[2] = new Option("Afro-American Studies", "Afro-American Studies")
            cboDepartment.options[3] = new Option("Anthropology", "Anthropology")
            cboDepartment.options[4] = new Option("Art", "Art")
            cboDepartment.options[5] = new Option("Astronomy", "Astronomy")
            cboDepartment.options[6] = new Option("Biology", "Biology")
            cboDepartment.options[7] = new Option("Business", "Business")
            cboDepartment.options[8] = new Option("Business Administration", "Business Administration")
            cboDepartment.options[9] = new Option("Chemistry", "Chemistry")
            cboDepartment.options[10] = new Option("Computer Science", "Computer Science")
            cboDepartment.options[11] = new Option("Criminal Justice", "Criminal Justice")
            cboDepartment.options[12] = new Option("Economics", "Economics")
            cboDepartment.options[13] = new Option("Education", "Education")
            cboDepartment.options[14] = new Option("Engineering", "Engineering")
            cboDepartment.options[15] = new Option("English", "English")
            cboDepartment.options[16] = new Option("Exercise Science", "Exercise Science")
            cboDepartment.options[17] = new Option("Foreign Languages", "Foreign Languages")
            cboDepartment.options[18] = new Option("Government and International Studies", "Government and International Studies")
            cboDepartment.options[19] = new Option("History", "History")
            cboDepartment.options[20] = new Option("Journalism", "Journalism")
            cboDepartment.options[21] = new Option("Mathematics", "Mathematics")
            cboDepartment.options[22] = new Option("Music", "Music")
            cboDepartment.options[23] = new Option("Nursing", "Nursing")
            cboDepartment.options[24] = new Option("Philosophy", "Philosophy")
            cboDepartment.options[25] = new Option("Physical Education", "Physical Education")
            cboDepartment.options[26] = new Option("Physics", "Physics")
            cboDepartment.options[27] = new Option("Psychology", "Psychology")
            cboDepartment.options[28] = new Option("Public Health", "Public Health")
            cboDepartment.options[29] = new Option("Religion", "Religion")
            cboDepartment.options[30] = new Option("Sociology", "Sociology")
            cboDepartment.options[31] = new Option("Technology Support & Training Management", "Technology Support & Training Management")
            cboDepartment.options[32] = new Option("Theatre and Speech", "Theatre and Speech")
	    cboDepartment.options[33] = new Option("University Libraries", "University Libraries")		            
	    cboDepartment.options[34] = new Option("Women's Studies", "Women's Studies")
	    	
        }
        else if (cboCampus.options[cboCampus.selectedIndex].value == "Salkehatchie")
        {
            cboCollege.options[1] = new Option("Applied Professions", "Applied Professions")
            cboCollege.options[2] = new Option("Business Administration", "Business Administration")
            cboCollege.options[3] = new Option("Education", "Education")
            cboCollege.options[4] = new Option("Engineering", "Engineering")
            cboCollege.options[5] = new Option("Journalism and Mass Communication", "Journalism and Mass Communication")
            cboCollege.options[6] = new Option("Liberal Arts", "Liberal Arts")
            cboCollege.options[7] = new Option("Science and Math", "Science and Math")
	    cboCollege.options[8] = new Option("University Libraries", "University Libraries")

            cboDepartment.options[1] = new Option("Accounting", "Accounting")
            cboDepartment.options[2] = new Option("Administrative Information Management", "Administrative Information Management")
            cboDepartment.options[3] = new Option("Advertising", "Advertising")
            cboDepartment.options[4] = new Option("Anthropology", "Anthropology")
            cboDepartment.options[5] = new Option("Art", "Art")
            cboDepartment.options[6] = new Option("Biology", "Biology")
            cboDepartment.options[7] = new Option("Business Economics", "Business Economics")
            cboDepartment.options[8] = new Option("Chemical Engineering", "Chemical Engineering")
            cboDepartment.options[9] = new Option("Chemistry", "Chemistry")
            cboDepartment.options[10] = new Option("Civil and Environmental Engineering", "Civil and Environmental Engineering")
            cboDepartment.options[11] = new Option("Classical Studies", "Classical Studies")
            cboDepartment.options[12] = new Option("Computer Science", "Computer Science")
            cboDepartment.options[13] = new Option("Criminal Justice", "Criminal Justice")
            cboDepartment.options[14] = new Option("Economics", "Economics")
            cboDepartment.options[15] = new Option("Education", "Education")
            cboDepartment.options[16] = new Option("Electrical and Computer Engineering", "Electrical and Computer Engineering")
            cboDepartment.options[17] = new Option("Electronic Journalism", "Electronic Journalism")
            cboDepartment.options[18] = new Option("English", "English")
            cboDepartment.options[19] = new Option("Engineering", "Engineering")
            cboDepartment.options[20] = new Option("English", "English")
            cboDepartment.options[21] = new Option("Exercise Science", "Exercise Science")
            cboDepartment.options[22] = new Option("Finance", "Finance")
            cboDepartment.options[23] = new Option("Foreign Languages", "Foreign Languages")
            cboDepartment.options[24] = new Option("Geography", "Geography")
            cboDepartment.options[25] = new Option("History", "History")
            cboDepartment.options[26] = new Option("Hotel, Restaurant, and Tourism Administration", "Hotel, Restaurant, and Tourism Administration")
            cboDepartment.options[27] = new Option("Insurance and Risk Management", "Insurance and Risk Management")
            cboDepartment.options[28] = new Option("Interdisciplinary Studies", "Interdisciplinary Studies")
            cboDepartment.options[29] = new Option("International Studies", "International Studies")
            cboDepartment.options[30] = new Option("Management", "Management")
            cboDepartment.options[31] = new Option("Management Science", "Management Science")
            cboDepartment.options[32] = new Option("Marketing", "Marketing")
            cboDepartment.options[33] = new Option("Mathematics", "Mathematics")
            cboDepartment.options[34] = new Option("Mechanical Engineering", "Mechanical Engineering")
            cboDepartment.options[35] = new Option("Music", "Music")
            cboDepartment.options[36] = new Option("Physical Education", "Physical Education")
            cboDepartment.options[37] = new Option("Political Science", "Political Science")
            cboDepartment.options[38] = new Option("Print Journalism", "Print Journalism")
            cboDepartment.options[39] = new Option("Psychology", "Psychology")
            cboDepartment.options[40] = new Option("Public Relations", "Public Relations")
            cboDepartment.options[41] = new Option("Real Estate", "Real Estate")
            cboDepartment.options[42] = new Option("Religion", "Religion")
            cboDepartment.options[43] = new Option("Retailing", "Retailing")
            cboDepartment.options[44] = new Option("Sport Administration", "Sport Administration")
            cboDepartment.options[45] = new Option("Studies", "Studies")
  	    cboDepartment.options[46] = new Option("University Libraries", "University Libraries")		
        }
        else if (cboCampus.options[cboCampus.selectedIndex].value == "Sumter")
        {
            cboCollege.options[1] = new Option("Arts and Letters", "Arts and Letters")
            cboCollege.options[2] = new Option("Business Administration and Economics", "Business Administration and Economics")
            cboCollege.options[3] = new Option("Humanities, Social Sciences, and Education", "Humanities, Social Sciences, and Education")
            cboCollege.options[4] = new Option("Science, Mathematics, and Engineering", "Science, Mathematics, and Engineering")
	    cboCollege.options[5] = new Option("University Libraries", "University Libraries")
  	
            cboDepartment.options[1] = new Option("Accounting", "Accounting")
            cboDepartment.options[2] = new Option("Anthropology", "Anthropology")
            cboDepartment.options[3] = new Option("Art", "Art")
            cboDepartment.options[4] = new Option("Biology", "Biology")
            cboDepartment.options[5] = new Option("Business Administration", "Business Administration")
            cboDepartment.options[6] = new Option("Chemistry", "Chemistry")
            cboDepartment.options[7] = new Option("Computer Science", "Computer Science")
            cboDepartment.options[8] = new Option("Economics", "Economics")
            cboDepartment.options[9] = new Option("English", "English")
            cboDepartment.options[10] = new Option("Engineering", "Engineering")
            cboDepartment.options[11] = new Option("Entrepreneurship", "Entrepreneurship")
            cboDepartment.options[12] = new Option("Finance", "Finance")
            cboDepartment.options[13] = new Option("French", "French")
            cboDepartment.options[14] = new Option("Geography", "Geography")
            cboDepartment.options[15] = new Option("Government", "Government")
            cboDepartment.options[16] = new Option("History", "History")
            cboDepartment.options[17] = new Option("International Business", "International Business")
            cboDepartment.options[18] = new Option("International Relations", "International Relations")
            cboDepartment.options[19] = new Option("Journalism", "Journalism")
            cboDepartment.options[20] = new Option("Management", "Management")
            cboDepartment.options[21] = new Option("Management Science", "Management Science")
            cboDepartment.options[22] = new Option("Marine Science", "Marine Science")
            cboDepartment.options[23] = new Option("Marketing", "Marketing")
            cboDepartment.options[24] = new Option("Mathematics", "Mathematics")
            cboDepartment.options[25] = new Option("Music", "Music")
            cboDepartment.options[26] = new Option("Philosophy", "Philosophy")
            cboDepartment.options[27] = new Option("Physical Education", "Physical Education")
            cboDepartment.options[28] = new Option("Physics", "Physics")
            cboDepartment.options[29] = new Option("Psychology", "Psychology")
            cboDepartment.options[30] = new Option("Public Communication", "Public Communication")
            cboDepartment.options[31] = new Option("Religious Studies", "Religious Studies")
			cboDepartment.options[32] = new Option("Sociolgy", "Sociolgy")
            cboDepartment.options[33] = new Option("Spanish", "Spanish")
            cboDepartment.options[34] = new Option("Statistics", "Statistics")
            cboDepartment.options[35] = new Option("Theatre", "Theatre")
	    	cboDepartment.options[36] = new Option("University Libraries", "University Libraries")
        }

        else if (cboCampus.options[cboCampus.selectedIndex].value == "Union")
        {
            cboCollege.options[1] = new Option("Arts and Sciences", "Arts and Sciences")
            cboCollege.options[2] = new Option("Business Administration", "Business Administration")
            cboCollege.options[3] = new Option("Education", "Education")
            cboCollege.options[3] = new Option("Engineering", "Engineering")
            cboCollege.options[4] = new Option("Hospitality, Retail, and Sport Management", "Hospitality, Retail, and Sport Management")
            cboCollege.options[5] = new Option("Journalism and Mass Communication", "Journalism and Mass Communication")
            cboCollege.options[6] = new Option("Music", "Music")
            cboCollege.options[7] = new Option("Nursing", "Nursing")
            cboCollege.options[8] = new Option("Pharmacy", "Pharmacy")
	    cboCollege.options[9] = new Option("University Libraries", "University Libraries")	

            cboDepartment.options[1] = new Option("Accounting", "Accounting")
            cboDepartment.options[2] = new Option("Advertising", "Advertising")
            cboDepartment.options[3] = new Option("Aerospace Studies", "Aerospace Studies")
            cboDepartment.options[4] = new Option("African American Studies", "African American Studies")
            cboDepartment.options[5] = new Option("Anthropology", "Anthropology")
            cboDepartment.options[6] = new Option("Art", "Art")
            cboDepartment.options[7] = new Option("Biological Sciences", "Biological Sciences")
            cboDepartment.options[8] = new Option("Broadcast Journalism", "Broadcast Journalism")
            cboDepartment.options[9] = new Option("Business Economics", "Business Economics")
            cboDepartment.options[10] = new Option("Chemical Engineering", "Chemical Engineering")
            cboDepartment.options[11] = new Option("Chemistry and Biochemistry", "Chemistry and Biochemistry")
            cboDepartment.options[12] = new Option("Civil and Environmental Engineering", "Civil and Environmental Engineering")
            cboDepartment.options[13] = new Option("Comparative Literature", "Comparative Literature")
            cboDepartment.options[14] = new Option("Computer Science and Engineering", "Computer Science and Engineering")
            cboDepartment.options[15] = new Option("Contemporary European Studies", "Contemporary European Studies")
            cboDepartment.options[16] = new Option("Criminology and Criminal Justice", "Criminology and Criminal Justice")
            cboDepartment.options[17] = new Option("Economics", "Economics")
            cboDepartment.options[18] = new Option("Electrical Engineering", "Electrical Engineering")
            cboDepartment.options[19] = new Option("English", "English")
            cboDepartment.options[20] = new Option("Film Studies", "Film Studies")
            cboDepartment.options[21] = new Option("Finance", "Finance")
            cboDepartment.options[22] = new Option("Foreign Languages", "Foreign Languages")
            cboDepartment.options[23] = new Option("Geography", "Geography")
            cboDepartment.options[24] = new Option("Geological Sciences", "Geological Sciences")
            cboDepartment.options[25] = new Option("History", "History")
            cboDepartment.options[26] = new Option("Hospitality, Retail, and Sport Management", "Hospitality, Retail, and Sport Management")
            cboDepartment.options[27] = new Option("Insurance and Risk Management", "Insurance and Risk Management")
            cboDepartment.options[28] = new Option("Interdisciplinary Studies", "Interdisciplinary Studies")
            cboDepartment.options[29] = new Option("International Studies", "International Studies")
            cboDepartment.options[30] = new Option("Journalism", "Journalism")
            cboDepartment.options[31] = new Option("Latin American Studies", "Latin American Studies")
            cboDepartment.options[32] = new Option("Linguistics", "Linguistics")
            cboDepartment.options[33] = new Option("Management", "Management")
            cboDepartment.options[34] = new Option("Management Science", "Management Science")
            cboDepartment.options[35] = new Option("Marine Science", "Marine Science")
            cboDepartment.options[36] = new Option("Marketing", "Marketing")
            cboDepartment.options[37] = new Option("Mathematics", "Mathematics")
            cboDepartment.options[38] = new Option("Mechanical Engineering", "Mechanical Engineering")
            cboDepartment.options[39] = new Option("Medical Technology", "Medical Technology")
            cboDepartment.options[40] = new Option("Military Science", "Military Science")
            cboDepartment.options[41] = new Option("Music", "Music")
            cboDepartment.options[42] = new Option("Naval Science", "Naval Science")
            cboDepartment.options[43] = new Option("Nursing", "Nursing")
            cboDepartment.options[44] = new Option("Pharmacy", "Pharmacy")
            cboDepartment.options[45] = new Option("Philosophy", "Philosophy")
            cboDepartment.options[46] = new Option("Physical Education", "Physical Education")
            cboDepartment.options[47] = new Option("Physics and Astronomy", "Physics and Astronomy")
            cboDepartment.options[48] = new Option("Political Science", "Political Science")
            cboDepartment.options[49] = new Option("Psychology", "Psychology")
            cboDepartment.options[50] = new Option("Public Relations", "Public Relations")
            cboDepartment.options[51] = new Option("Real Estate", "Real Estate")
            cboDepartment.options[52] = new Option("Religious Studies", "Religious Studies")
            cboDepartment.options[53] = new Option("Sociology", "Sociology")
            cboDepartment.options[54] = new Option("Southern Studies", "Southern Studies")
            cboDepartment.options[55] = new Option("Speech", "Speech")
            cboDepartment.options[56] = new Option("Statistics", "Statistics")
            cboDepartment.options[57] = new Option("Theatre and Dance", "Theatre and Dance")
	    cboDepartment.options[38] = new Option("University Libraries", "University Libraries")
            cboDepartment.options[59] = new Option("Women's Studies", "Women's Studies")
        }
        else if (cboCampus.options[cboCampus.selectedIndex].value == "Upstate")
        {
            cboCollege.options[1] = new Option("Arts and Sciences", "Arts and Sciences")
            cboCollege.options[2] = new Option("Business Administration and Economics", "Business Administration and Economics")
	    	cboCollege.options[3] = new Option("Education", "Education")
            cboCollege.options[4] = new Option("University Libraries", "University Libraries")	

            cboDepartment.options[1] = new Option("Accounting", "Accounting")
            cboDepartment.options[2] = new Option("Business Administration and Economics", "Business Administration and Economics")
            cboDepartment.options[3] = new Option("Early Childhood Education", "Early Childhood Education")
            cboDepartment.options[4] = new Option("Economics", "Economics")
            cboDepartment.options[5] = new Option("Elementary Education", "Elementary Education")
            cboDepartment.options[6] = new Option("Finance", "Finance")
            cboDepartment.options[7] = new Option("Fine Arts & Communication Studies", "Fine Arts & Communication Studies")
            cboDepartment.options[8] = new Option("History, Political Science, Philosophy, & American Studies", "History, Political Science, Philosophy, & American Studies")
            cboDepartment.options[9] = new Option("Informatics", "Informatics")
            cboDepartment.options[10] = new Option("Interdisciplinary Studies", "Interdisciplinary Studies")
			cboDepartment.options[11] = new Option("Languages, Literature and Composition", "Languages, Literature and Composition")
            cboDepartment.options[12] = new Option("Management", "Management")
            cboDepartment.options[13] = new Option("Mathematics & Computer Science", "Mathematics & Computer Science")
            cboDepartment.options[14] = new Option("Middle Grades Education", "Middle Grades Education")
            cboDepartment.options[15] = new Option("Natural Sciences & Engineering", "Natural Sciences & Engineering")
            cboDepartment.options[16] = new Option("Nursing", "Nursing")
            cboDepartment.options[17] = new Option("Physical Education", "Physical Education")
            cboDepartment.options[18] = new Option("Psychology", "Psychology")
            cboDepartment.options[19] = new Option("Secondary Education", "Secondary Education")
            cboDepartment.options[20] = new Option("Sociology, Criminal Justice, and Women's Studies", "Sociology, Criminal Justice, and Women's Studies")
            cboDepartment.options[21] = new Option("Special Education", "Special Education")
	    	cboDepartment.options[22] = new Option("University Libraries", "University Libraries")
        }
        else if (cboCampus.options[cboCampus.selectedIndex].value == "Columbia")
        {
            cboCollege.options[1] = new Option("Academic Affairs", "Academic Affairs")
            cboCollege.options[2] = new Option("Arts and Sciences", "Arts and Sciences")
            cboCollege.options[3] = new Option("Business", "Business")
            cboCollege.options[4] = new Option("Education", "Education")
            cboCollege.options[5] = new Option("Engineering and Computing", "Engineering and Computing")
            cboCollege.options[6] = new Option("Hospitality, Retail, and Sport Management", "Hospitality, Retail, and Sport Management")
            cboCollege.options[7] = new Option("Law", "Law")
            cboCollege.options[8] = new Option("Mass Communications and Information Studies", "Mass Communications and Information Studies")
            cboCollege.options[9] = new Option("Medicine", "Medicine")
            cboCollege.options[10] = new Option("Music", "Music")
            cboCollege.options[11] = new Option("Nursing", "Nursing")
            cboCollege.options[12] = new Option("Pharmacy", "Pharmacy")
            cboCollege.options[13] = new Option("Public Health", "Public Health")
            cboCollege.options[14] = new Option("Social Work", "Social Work")
	    	cboCollege.options[15] = new Option("South Carolina Honors College", "South Carolina Honors College")
	    	cboCollege.options[16] = new Option("Student Affairs", "Student Affairs")
	    	cboCollege.options[17] = new Option("University Libraries", "University Libraries")
			
			LoadColumbia(cboDepartment);
        }

    }
    
    function LoadDepartmentsCampus(frm, cboCampus, cboDepartment)
    {
        iLengthDepartment = cboDepartment.length;

        for(iCounter = 1; iCounter < iLengthDepartment; iCounter++)
            cboDepartment.options[1] = null;

        if (cboCampus.options[cboCampus.selectedIndex].value == "Aiken")
        {
            cboDepartment.options[1] = new Option("Accounting", "Accounting")
            cboDepartment.options[2] = new Option("Applied Clinical Psychology", "Applied Clinical Psychology")
            cboDepartment.options[3] = new Option("Athletic Training", "Athletic Training")
            cboDepartment.options[4] = new Option("Biology/Geology", "Biology/Geology")
            cboDepartment.options[5] = new Option("Business Administration", "Business Administration")
            cboDepartment.options[6] = new Option("Chemistry", "Chemistry")
            cboDepartment.options[7] = new Option("Communications", "Communications")
            cboDepartment.options[8] = new Option("Early Childhood Education", "Early Childhood Education")
            cboDepartment.options[9] = new Option("Education", "Education")
            cboDepartment.options[10] = new Option("Education Technology", "Education Technology")
            cboDepartment.options[11] = new Option("Elementary Education", "Elementary Education")
            cboDepartment.options[12] = new Option("English", "English")
            cboDepartment.options[13] = new Option("Engineering", "Engineering")
            cboDepartment.options[14] = new Option("Exercise and Sports Science", "Exercise and Sports Science")
            cboDepartment.options[15] = new Option("Finance", "Finance")
            cboDepartment.options[16] = new Option("Golf Course Services", "Golf Course Services")
            cboDepartment.options[17] = new Option("History", "History")
            cboDepartment.options[18] = new Option("Industrial Mathematics", "Industrial Mathematics")
            cboDepartment.options[19] = new Option("Languages, Literatures and Cultures", "Languages, Literatures and Cultures")
            cboDepartment.options[20] = new Option("Management", "Management")
            cboDepartment.options[21] = new Option("Marketing", "Marketing")
            cboDepartment.options[22] = new Option("Math/Computer Science", "Math/Computer Science")
            cboDepartment.options[23] = new Option("Nursing", "Nursing")
            cboDepartment.options[24] = new Option("Philosophy", "Philosophy")
            cboDepartment.options[25] = new Option("Political Science", "Political Science")
            cboDepartment.options[26] = new Option("Pre-Dentistry", "Pre-Dentistry")
            cboDepartment.options[27] = new Option("Pre-Law", "Pre-Law")
            cboDepartment.options[28] = new Option("Pre-Med", "Pre-Med")
            cboDepartment.options[29] = new Option("Pre-Pharmacy", "Pre-Pharmacy")
            cboDepartment.options[30] = new Option("Pre-Veterinary Science", "Pre-Veterinary Science")
            cboDepartment.options[31] = new Option("Psychology", "Psychology")
            cboDepartment.options[32] = new Option("Seconday Education", "Seconday Education")
            cboDepartment.options[33] = new Option("Sociology", "Sociology")
            cboDepartment.options[34] = new Option("Special Education", "Special Education")
	    cboDepartment.options[35] = new Option("University Libraries", "University Libraries")	
            cboDepartment.options[36] = new Option("Visual and Performing Arts", "Visual and Performing Arts")
        }
        else if (cboCampus.options[cboCampus.selectedIndex].value == "Beaufort")
        {
            cboDepartment.options[1] = new Option("African American Studies", "African American Studies")
            cboDepartment.options[2] = new Option("Anthropology", "Anthropology")
            cboDepartment.options[3] = new Option("Art", "Art")
            cboDepartment.options[4] = new Option("Biological Sciences", "Biological Sciences")
            cboDepartment.options[5] = new Option("Biology", "Biology")
            cboDepartment.options[6] = new Option("Business Administration", "Business Administration")
            cboDepartment.options[7] = new Option("Chemistry", "Chemistry")
            cboDepartment.options[8] = new Option("Computer Science", "Computer Science")
            cboDepartment.options[9] = new Option("Early Childhood Education", "Early Childhood Education")
            cboDepartment.options[10] = new Option("Economics", "Economics")
            cboDepartment.options[11] = new Option("Education", "Education")
            cboDepartment.options[12] = new Option("English", "English")
            cboDepartment.options[13] = new Option("Foreign Languages", "Foreign Languages")
            cboDepartment.options[14] = new Option("History", "History")
            cboDepartment.options[15] = new Option("Hospitality Management", "Hospitality Management")
            cboDepartment.options[16] = new Option("Human Services", "Human Services")
            cboDepartment.options[17] = new Option("International Relations", "International Relations")
            cboDepartment.options[18] = new Option("Marine Science", "Marine Science")
            cboDepartment.options[19] = new Option("Mathematics", "Mathematics")
            cboDepartment.options[20] = new Option("Music", "Music")
            cboDepartment.options[21] = new Option("Philosophy", "Philosophy")
            cboDepartment.options[22] = new Option("Physical Education", "Physical Education")
            cboDepartment.options[23] = new Option("Physics", "Physics")
            cboDepartment.options[24] = new Option("Political Science", "Political Science")
            cboDepartment.options[25] = new Option("Psychology", "Psychology")
            cboDepartment.options[26] = new Option("Religious Studies", "Religious Studies")
            cboDepartment.options[27] = new Option("Sociology", "Sociology")
            cboDepartment.options[28] = new Option("Speech", "Speech")
            cboDepartment.options[29] = new Option("Statistics", "Statistics")
	    cboDepartment.options[30] = new Option("University Libraries", "University Libraries")
        }
        else if (cboCampus.options[cboCampus.selectedIndex].value == "Lancaster")
        {
            cboDepartment.options[1] = new Option("Accounting", "Accounting")
            cboDepartment.options[2] = new Option("Afro-American Studies", "Afro-American Studies")
            cboDepartment.options[3] = new Option("Anthropology", "Anthropology")
            cboDepartment.options[4] = new Option("Art", "Art")
            cboDepartment.options[5] = new Option("Astronomy", "Astronomy")
            cboDepartment.options[6] = new Option("Biology", "Biology")
            cboDepartment.options[7] = new Option("Business", "Business")
            cboDepartment.options[8] = new Option("Business Administration", "Business Administration")
            cboDepartment.options[9] = new Option("Chemistry", "Chemistry")
            cboDepartment.options[10] = new Option("Computer Science", "Computer Science")
            cboDepartment.options[11] = new Option("Criminal Justice", "Criminal Justice")
            cboDepartment.options[12] = new Option("Economics", "Economics")
            cboDepartment.options[13] = new Option("Education", "Education")
            cboDepartment.options[14] = new Option("Engineering", "Engineering")
            cboDepartment.options[15] = new Option("English", "English")
            cboDepartment.options[16] = new Option("Exercise Science", "Exercise Science")
            cboDepartment.options[17] = new Option("Foreign Languages", "Foreign Languages")
            cboDepartment.options[18] = new Option("Government and International Studies", "Government and International Studies")
            cboDepartment.options[19] = new Option("History", "History")
            cboDepartment.options[20] = new Option("Journalism", "Journalism")
            cboDepartment.options[21] = new Option("Mathematics", "Mathematics")
            cboDepartment.options[22] = new Option("Music", "Music")
            cboDepartment.options[23] = new Option("Nursing", "Nursing")
            cboDepartment.options[24] = new Option("Philosophy", "Philosophy")
            cboDepartment.options[25] = new Option("Physical Education", "Physical Education")
            cboDepartment.options[26] = new Option("Physics", "Physics")
            cboDepartment.options[27] = new Option("Psychology", "Psychology")
            cboDepartment.options[28] = new Option("Public Health", "Public Health")
            cboDepartment.options[29] = new Option("Religion", "Religion")
            cboDepartment.options[30] = new Option("Sociology", "Sociology")
            cboDepartment.options[31] = new Option("Technology Support & Training Management", "Technology Support & Training Management")
            cboDepartment.options[32] = new Option("Theatre and Speech", "Theatre and Speech")
	    cboDepartment.options[33] = new Option("University Libraries", "University Libraries")
            cboDepartment.options[34] = new Option("Women's Studies", "Women's Studies")
        }
        else if (cboCampus.options[cboCampus.selectedIndex].value == "Salkehatchie")
        {
            cboDepartment.options[1] = new Option("Accounting", "Accounting")
            cboDepartment.options[2] = new Option("Administrative Information Management", "Administrative Information Management")
            cboDepartment.options[3] = new Option("Advertising", "Advertising")
            cboDepartment.options[4] = new Option("Anthropology", "Anthropology")
            cboDepartment.options[5] = new Option("Art", "Art")
            cboDepartment.options[6] = new Option("Biology", "Biology")
            cboDepartment.options[7] = new Option("Business Economics", "Business Economics")
            cboDepartment.options[8] = new Option("Chemical Engineering", "Chemical Engineering")
            cboDepartment.options[9] = new Option("Chemistry", "Chemistry")
            cboDepartment.options[10] = new Option("Civil and Environmental Engineering", "Civil and Environmental Engineering")
            cboDepartment.options[11] = new Option("Classical Studies", "Classical Studies")
            cboDepartment.options[12] = new Option("Computer Science", "Computer Science")
            cboDepartment.options[13] = new Option("Criminal Justice", "Criminal Justice")
            cboDepartment.options[14] = new Option("Economics", "Economics")
            cboDepartment.options[15] = new Option("Education", "Education")
            cboDepartment.options[16] = new Option("Electrical and Computer Engineering", "Electrical and Computer Engineering")
            cboDepartment.options[17] = new Option("Electronic Journalism", "Electronic Journalism")
            cboDepartment.options[18] = new Option("English", "English")
            cboDepartment.options[19] = new Option("Engineering", "Engineering")
            cboDepartment.options[20] = new Option("English", "English")
            cboDepartment.options[21] = new Option("Exercise Science", "Exercise Science")
            cboDepartment.options[22] = new Option("Finance", "Finance")
            cboDepartment.options[23] = new Option("Foreign Languages", "Foreign Languages")
            cboDepartment.options[24] = new Option("Geography", "Geography")
            cboDepartment.options[25] = new Option("History", "History")
            cboDepartment.options[26] = new Option("Hotel, Restaurant, and Tourism Administration", "Hotel, Restaurant, and Tourism Administration")
            cboDepartment.options[27] = new Option("Insurance and Risk Management", "Insurance and Risk Management")
            cboDepartment.options[28] = new Option("Interdisciplinary Studies", "Interdisciplinary Studies")
            cboDepartment.options[29] = new Option("International Studies", "International Studies")
            cboDepartment.options[30] = new Option("Management", "Management")
            cboDepartment.options[31] = new Option("Management Science", "Management Science")
            cboDepartment.options[32] = new Option("Marketing", "Marketing")
            cboDepartment.options[33] = new Option("Mathematics", "Mathematics")
            cboDepartment.options[34] = new Option("Mechanical Engineering", "Mechanical Engineering")
            cboDepartment.options[35] = new Option("Music", "Music")
            cboDepartment.options[36] = new Option("Physical Education", "Physical Education")
            cboDepartment.options[37] = new Option("Political Science", "Political Science")
            cboDepartment.options[38] = new Option("Print Journalism", "Print Journalism")
            cboDepartment.options[39] = new Option("Psychology", "Psychology")
            cboDepartment.options[40] = new Option("Public Relations", "Public Relations")
            cboDepartment.options[41] = new Option("Real Estate", "Real Estate")
            cboDepartment.options[42] = new Option("Religion", "Religion")
            cboDepartment.options[43] = new Option("Retailing", "Retailing")
            cboDepartment.options[44] = new Option("Sport Administration", "Sport Administration")
            cboDepartment.options[45] = new Option("Studies", "Studies")
	    cboDepartment.options[46] = new Option("University Libraries", "University Libraries")	
        }
        else if (cboCampus.options[cboCampus.selectedIndex].value == "Sumter")
        {
            cboDepartment.options[1] = new Option("Accounting", "Accounting")
            cboDepartment.options[2] = new Option("Anthropology", "Anthropology")
            cboDepartment.options[3] = new Option("Art", "Art")
            cboDepartment.options[5] = new Option("Biology", "Biology")
			cboDepartment.options[6] = new Option("Business Administration", "Business Administration")
            cboDepartment.options[7] = new Option("Chemistry", "Chemistry")
            cboDepartment.options[8] = new Option("Computer Science", "Computer Science")
            cboDepartment.options[9] = new Option("Economics", "Economics")
			cboDepartment.options[10] = new Option("English", "English")
            cboDepartment.options[11] = new Option("Engineering", "Engineering")
            cboDepartment.options[12] = new Option("Entrepreneurship", "Entrepreneurship")
            cboDepartment.options[13] = new Option("Finance", "Finance")
            cboDepartment.options[14] = new Option("French", "French")
            cboDepartment.options[15] = new Option("Geography", "Geography")
            cboDepartment.options[16] = new Option("Government", "Government")
            cboDepartment.options[17] = new Option("History", "History")
            cboDepartment.options[18] = new Option("International Business", "International Business")
            cboDepartment.options[19] = new Option("International Relations", "International Relations")
            cboDepartment.options[20] = new Option("Journalism", "Journalism")
            cboDepartment.options[21] = new Option("Management", "Management")
            cboDepartment.options[22] = new Option("Management Science", "Management Science")
            cboDepartment.options[23] = new Option("Marine Science", "Marine Science")
            cboDepartment.options[24] = new Option("Marketing", "Marketing")
            cboDepartment.options[25] = new Option("Mathematics", "Mathematics")
            cboDepartment.options[26] = new Option("Music", "Music")
            cboDepartment.options[27] = new Option("Philosophy", "Philosophy")
            cboDepartment.options[28] = new Option("Physical Education", "Physical Education")
            cboDepartment.options[29] = new Option("Physics", "Physics")
            cboDepartment.options[30] = new Option("Psychology", "Psychology")
            cboDepartment.options[31] = new Option("Public Communication", "Public Communication")
            cboDepartment.options[32] = new Option("Religious Studies", "Religious Studies")
			cboDepartment.options[33] = new Option("Sociology", "Sociology")
            cboDepartment.options[34] = new Option("Spanish", "Spanish")
            cboDepartment.options[35] = new Option("Statistics", "Statistics")
            cboDepartment.options[36] = new Option("Theatre", "Theatre")
	    	cboDepartment.options[37] = new Option("University Libraries", "University Libraries")	
        }

        else if (cboCampus.options[cboCampus.selectedIndex].value == "Union")
        {
            cboDepartment.options[1] = new Option("Accounting", "Accounting")
            cboDepartment.options[2] = new Option("Advertising", "Advertising")
            cboDepartment.options[3] = new Option("Aerospace Studies", "Aerospace Studies")
            cboDepartment.options[4] = new Option("African American Studies", "African American Studies")
            cboDepartment.options[5] = new Option("Anthropology", "Anthropology")
            cboDepartment.options[6] = new Option("Art", "Art")
            cboDepartment.options[7] = new Option("Biological Sciences", "Biological Sciences")
            cboDepartment.options[8] = new Option("Broadcast Journalism", "Broadcast Journalism")
            cboDepartment.options[9] = new Option("Business Economics", "Business Economics")
            cboDepartment.options[10] = new Option("Chemical Engineering", "Chemical Engineering")
            cboDepartment.options[11] = new Option("Chemistry and Biochemistry", "Chemistry and Biochemistry")
            cboDepartment.options[12] = new Option("Civil and Environmental Engineering", "Civil and Environmental Engineering")
            cboDepartment.options[13] = new Option("Comparative Literature", "Comparative Literature")
            cboDepartment.options[14] = new Option("Computer Science and Engineering", "Computer Science and Engineering")
            cboDepartment.options[15] = new Option("Contemporary European Studies", "Contemporary European Studies")
            cboDepartment.options[16] = new Option("Criminology and Criminal Justice", "Criminology and Criminal Justice")
            cboDepartment.options[17] = new Option("Economics", "Economics")
            cboDepartment.options[18] = new Option("Electrical Engineering", "Electrical Engineering")
            cboDepartment.options[19] = new Option("English", "English")
            cboDepartment.options[20] = new Option("Film Studies", "Film Studies")
            cboDepartment.options[21] = new Option("Finance", "Finance")
            cboDepartment.options[22] = new Option("Foreign Languages", "Foreign Languages")
            cboDepartment.options[23] = new Option("Geography", "Geography")
            cboDepartment.options[24] = new Option("Geological Sciences", "Geological Sciences")
            cboDepartment.options[25] = new Option("History", "History")
            cboDepartment.options[26] = new Option("Hospitality, Retail, and Sport Management", "Hospitality, Retail, and Sport Management")
            cboDepartment.options[27] = new Option("Insurance and Risk Management", "Insurance and Risk Management")
            cboDepartment.options[28] = new Option("Interdisciplinary Studies", "Interdisciplinary Studies")
            cboDepartment.options[29] = new Option("International Studies", "International Studies")
            cboDepartment.options[30] = new Option("Journalism", "Journalism")
            cboDepartment.options[31] = new Option("Latin American Studies", "Latin American Studies")
            cboDepartment.options[32] = new Option("Linguistics", "Linguistics")
            cboDepartment.options[33] = new Option("Management", "Management")
            cboDepartment.options[34] = new Option("Management Science", "Management Science")
            cboDepartment.options[35] = new Option("Marine Science", "Marine Science")
            cboDepartment.options[36] = new Option("Marketing", "Marketing")
            cboDepartment.options[37] = new Option("Mathematics", "Mathematics")
            cboDepartment.options[38] = new Option("Mechanical Engineering", "Mechanical Engineering")
            cboDepartment.options[39] = new Option("Medical Technology", "Medical Technology")
            cboDepartment.options[40] = new Option("Military Science", "Military Science")
            cboDepartment.options[41] = new Option("Music", "Music")
            cboDepartment.options[42] = new Option("Naval Science", "Naval Science")
            cboDepartment.options[43] = new Option("Nursing", "Nursing")
            cboDepartment.options[44] = new Option("Pharmacy", "Pharmacy")
            cboDepartment.options[45] = new Option("Philosophy", "Philosophy")
            cboDepartment.options[46] = new Option("Physical Education", "Physical Education")
            cboDepartment.options[47] = new Option("Physics and Astronomy", "Physics and Astronomy")
            cboDepartment.options[48] = new Option("Political Science", "Political Science")
            cboDepartment.options[49] = new Option("Psychology", "Psychology")
            cboDepartment.options[50] = new Option("Public Relations", "Public Relations")
            cboDepartment.options[51] = new Option("Real Estate", "Real Estate")
            cboDepartment.options[52] = new Option("Religious Studies", "Religious Studies")
            cboDepartment.options[53] = new Option("Sociology", "Sociology")
            cboDepartment.options[54] = new Option("Southern Studies", "Southern Studies")
            cboDepartment.options[55] = new Option("Speech", "Speech")
            cboDepartment.options[56] = new Option("Statistics", "Statistics")
            cboDepartment.options[57] = new Option("Theatre and Dance", "Theatre and Dance")
	    	cboDepartment.options[58] = new Option("University Libraries", "University Libraries")
            cboDepartment.options[59] = new Option("Women's Studies", "Women's Studies")
        }
        else if (cboCampus.options[cboCampus.selectedIndex].value == "Upstate")
        {
            cboDepartment.options[1] = new Option("Accounting", "Accounting")
            cboDepartment.options[2] = new Option("Business Administration and Economics", "Business Administration and Economics")
            cboDepartment.options[3] = new Option("Early Childhood Education", "Early Childhood Education")
            cboDepartment.options[4] = new Option("Economics", "Economics")
            cboDepartment.options[5] = new Option("Elementary Education", "Elementary Education")
            cboDepartment.options[6] = new Option("Finance", "Finance")
            cboDepartment.options[7] = new Option("Fine Arts & Communication Studies", "Fine Arts & Communication Studies")
            cboDepartment.options[8] = new Option("History, Political Science, Philosophy, & American Studies", "History, Political Science, Philosophy, & American Studies")
            cboDepartment.options[9] = new Option("Informatics", "Informatics")
            cboDepartment.options[10] = new Option("Interdisciplinary Studies", "Interdisciplinary Studies")
			cboDepartment.options[11] = new Option("Languages, Literature and Composition", "Languages, Literature and Composition")
            cboDepartment.options[12] = new Option("Management", "Management")
            cboDepartment.options[13] = new Option("Mathematics & Computer Science", "Mathematics & Computer Science")
            cboDepartment.options[14] = new Option("Middle Grades Education", "Middle Grades Education")
            cboDepartment.options[15] = new Option("Natural Sciences & Engineering", "Natural Sciences & Engineering")
            cboDepartment.options[16] = new Option("Nursing", "Nursing")
            cboDepartment.options[17] = new Option("Physical Education", "Physical Education")
            cboDepartment.options[18] = new Option("Psychology", "Psychology")
            cboDepartment.options[19] = new Option("Secondary Education", "Secondary Education")
            cboDepartment.options[20] = new Option("Sociology, Criminal Justice, and Women's Studies", "Sociology, Criminal Justice, and Women's Studies")
            cboDepartment.options[21] = new Option("Special Education", "Special Education")
	    	cboDepartment.options[22] = new Option("University Libraries", "University Libraries")
        }
        else if (cboCampus.options[cboCampus.selectedIndex].value == "Columbia")
        {
            LoadColumbia(cboDepartment);
        }
    }

	function LoadColumbia(cboDepartment)
	{
			cboDepartment.options[1] = new Option("Accounting", "Accounting")
			cboDepartment.options[2] = new Option("Admissions", "Admissions")
			cboDepartment.options[3] = new Option("Advertising and Public Relations", "Advertising and Public Relations")
			cboDepartment.options[4] = new Option("African American Studies", "African American Studies")
			cboDepartment.options[5] = new Option("African Studies", "African Studies")
			cboDepartment.options[6] = new Option("Anthropology", "Anthropology")
			cboDepartment.options[7] = new Option("Art", "Art")			
			cboDepartment.options[8] = new Option("Asian Studies", "Asian Studies")
			cboDepartment.options[9] = new Option("Banking, Finance, Insurance and Real Estate", "Banking, Finance, Insurance and Real Estate")
			cboDepartment.options[10] = new Option("Baruch Marine Field Laboratory", "Baruch Marine Field Laboratory")
			cboDepartment.options[11] = new Option("Biochemistry", "Biochemistry")
			cboDepartment.options[12] = new Option("Biological Sciences", "Biological Sciences")
			cboDepartment.options[13] = new Option("Biomedical Engineering", "Biomedical Engineering")
			cboDepartment.options[14] = new Option("Capstone Scholars", "Capstone Scholars")			
			cboDepartment.options[15] = new Option("Career Center", "Career Center")
			cboDepartment.options[16] = new Option("Cell Biology and Anatomy", "Cell Biology and Anatomy")
			cboDepartment.options[17] = new Option("Center for Teaching Excellence", "Center for Teaching Excellence")
			cboDepartment.options[18] = new Option("Chemical Engineering", "Chemical Engineering")
			cboDepartment.options[19] = new Option("Chemistry and Biochemistry", "Chemistry and Biochemistry")
			cboDepartment.options[20] = new Option("Civil and Environmental Engineering", "Civil and Environmental Engineering")
			cboDepartment.options[21] = new Option("Clinical Pharmacy and Outcomes Sciences", "Clinical Pharmacy and Outcomes Sciences")
			cboDepartment.options[22] = new Option("Communication Sciences and Disorders", "Communication Sciences and Disorders")
			cboDepartment.options[23] = new Option("Community Service", "Community Service")
			cboDepartment.options[24] = new Option("Comparative Literature", "Comparative Literature")
			cboDepartment.options[25] = new Option("Computer Science and Engineering", "Computer Science and Engineering")
			cboDepartment.options[26] = new Option("Continuing Education/Academic Programs", "Continuing Education/Academic Programs")
			cboDepartment.options[27] = new Option("Counseling and Human Development Center", "Counseling and Human Development Center")
			cboDepartment.options[28] = new Option("Criminology and Criminal Justice", "Criminology and Criminal Justice")
			cboDepartment.options[29] = new Option("Disability Services", "Disability Services")
			cboDepartment.options[30] = new Option("Economics", "Economics")
			cboDepartment.options[31] = new Option("Educational Leadership and Policies", "Educational Leadership and Policies")
			cboDepartment.options[32] = new Option("Educational Studies", "Educational Studies")
			cboDepartment.options[33] = new Option("Electrical Engineering", "Electrical Engineering")
			cboDepartment.options[34] = new Option("English Language and Literatures", "English Language and Literatures")
			cboDepartment.options[35] = new Option("Environmental Health & Safety", "Environmental Health & Safety")
			cboDepartment.options[36] = new Option("Environmental Health Sciences", "Environmental Health Sciences")
			cboDepartment.options[37] = new Option("Epidemiology and Biostatistics", "Epidemiology and Biostatistics")
			cboDepartment.options[38] = new Option("European Studies", "European Studies")
			cboDepartment.options[39] = new Option("Exercise Science", "Exercise Science")
			cboDepartment.options[40] = new Option("Facilities Planning & Operations", "Facilities Planning & Operations")
			cboDepartment.options[41] = new Option("Fellowships & Scholar Programs", "Fellowships & Scholar Programs")
			cboDepartment.options[42] = new Option("Film and Media Studies", "Film and Media Studies")
			cboDepartment.options[43] = new Option("Finance", "Finance")	
			cboDepartment.options[44] = new Option("Geography", "Geography")
			cboDepartment.options[45] = new Option("Earth and Oceans Sciences", "Earth and Oceans Sciences")
			cboDepartment.options[46] = new Option("Health Promotion Education and Behavior", "Health Promotion Education and Behavior")
			cboDepartment.options[47] = new Option("Health Services Policy and Management", "Health Services Policy and Management")
			cboDepartment.options[48] = new Option("Healthy Carolina", "Healthy Carolina")
			cboDepartment.options[49] = new Option("Honors College", "Honors College")
			cboDepartment.options[50] = new Option("History", "History")
			cboDepartment.options[51] = new Option("Hotel, Restaurant, and Tourism Management", "Hotel, Restaurant, and Tourism Management")
			cboDepartment.options[52] = new Option("Housing", "Housing")
			cboDepartment.options[53] = new Option("Instruction and Teacher Education", "Instruction and Teacher Education")
			cboDepartment.options[54] = new Option("International Business", "International Business")
			cboDepartment.options[55] = new Option("Jewish Studies", "Jewish Studies")
			cboDepartment.options[56] = new Option("Journalism and Mass Communication", "Journalism and Mass Communication")
			cboDepartment.options[57] = new Option("Languages, Literatures, and Cultures", "Languages, Literatures, and Cultures")
			cboDepartment.options[58] = new Option("Law", "Law")
			cboDepartment.options[59] = new Option("Latin American Studies", "Latin American Studies")
			cboDepartment.options[60] = new Option("Law Enforcement & Safety", "Law Enforcement & Safety")
			cboDepartment.options[61] = new Option("Library and Information Science", "Library and Information Science")
			cboDepartment.options[62] = new Option("Linguistics", "Linguistics")
			cboDepartment.options[63] = new Option("Management", "Management")
			cboDepartment.options[64] = new Option("Management Science", "Management Science")
			cboDepartment.options[65] = new Option("Marine Science", "Marine Science")
			cboDepartment.options[66] = new Option("Marketing", "Marketing")
			cboDepartment.options[67] = new Option("Mathematics", "Mathematics")
			cboDepartment.options[68] = new Option("Mechanical Engineering", "Mechanical Engineering")
			cboDepartment.options[69] = new Option("Music", "Music")
			cboDepartment.options[70] = new Option("Music Education, History, and Theory", "Music Education, History, and Theory")
			cboDepartment.options[71] = new Option("National Resource Center", "National Resource Center")
			cboDepartment.options[72] = new Option("Nuclear Engineering", "Nuclear Engineering")
			cboDepartment.options[73] = new Option("Nursing", "Nursing")
			cboDepartment.options[74] = new Option("Pathology and Microbiology", "Pathology and Microbiology")
			cboDepartment.options[75] = new Option("Pharmacy", "Pharmacy")
			cboDepartment.options[76] = new Option("Pharmaceutical and Biomedical Sciences", "Pharmaceutical and Biomedical Sciences")
			cboDepartment.options[77] = new Option("Pharmacology, Physiology and Neuroscience", "Pharmacology, Physiology and Neuroscience")
			cboDepartment.options[78] = new Option("Philosophy", "Philosophy")
			cboDepartment.options[79] = new Option("Physical Education", "Physical Education")
			cboDepartment.options[80] = new Option("Physical Therapy", "Physical Therapy")
			cboDepartment.options[81] = new Option("Physics and Astronomy", "Physics and Astronomy")
			cboDepartment.options[82] = new Option("Political Science", "Political Science")
			cboDepartment.options[83] = new Option("Pre-Professional Advising", "Pre-Professional Advising")
			cboDepartment.options[84] = new Option("Print and Electronic Journalism", "Print and Electronic Journalism")
			cboDepartment.options[85] = new Option("Provost's Office", "Provost's Office")
			cboDepartment.options[86] = new Option("Psychology", "Psychology")
			cboDepartment.options[87] = new Option("Recycling Services", "Recycling Services")
			cboDepartment.options[88] = new Option("Religious Studies", "Religious Studies")
			cboDepartment.options[89] = new Option("Retailing", "Retailing")
			cboDepartment.options[90] = new Option("Sociology", "Sociology")
			cboDepartment.options[91] = new Option("Social Work", "Social Work")
			cboDepartment.options[92] = new Option("Sport and Entertainment Management", "Sport and Entertainment Management")
			cboDepartment.options[93] = new Option("Sociology", "Sociology")
			cboDepartment.options[94] = new Option("Statistics", "Statistics")
			cboDepartment.options[95] = new Option("Student Affairs", "Student Affairs")
			cboDepartment.options[96] = new Option("Student Engagement", "Student Engagement")
			cboDepartment.options[97] = new Option("Student Health Services", "Student Health Services")
			cboDepartment.options[98] = new Option("Student Life", "Student Life")
			cboDepartment.options[99] = new Option("Study Abroad", "Study Abroad")
			cboDepartment.options[100] = new Option("Technology Support and Training Management", "Technology Support and Training Management")
			cboDepartment.options[101] = new Option("Theatre and Dance", "Theatre and Dance")
			cboDepartment.options[102] = new Option("Thomas Cooper Library", "Thomas Cooper Library")
			cboDepartment.options[103] = new Option("Thomson Student Health Center", "Thomson Student Health Center")
			cboDepartment.options[104] = new Option("TRIO", "TRIO")
			cboDepartment.options[105] = new Option("University 101", "University 101")
			cboDepartment.options[106] = new Option("University Libraries", "University Libraries")
			cboDepartment.options[107] = new Option("Vehicle Management & Parking Services", "Vehicle Management & Parking Services")
			cboDepartment.options[108] = new Option("Visual Communications", "Visual Communications")
			cboDepartment.options[109] = new Option("Women's and Gender Studies", "Women's and Gender Studies")
	}
