function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function KW_updateItems(d,o,fn) {
	function inArrayLabel(haystack, needle) {					//searches to see if a label value is found an array of objects
		for (value in haystack) {
			if (haystack[value].label == needle) return value;	//returns index of value if found
		}
		return false;										//returns false if not found
	}
	var i,s,l=MM_findObj(d),b,z=o.options[o.selectedIndex].value;
	var optList=Array();
	while (l.childNodes[0]) l.removeChild(l.childNodes[0]);
	b=(z!='nill')?eval('items_' + z):0;
	for(i=0;i<b.length;i++){
		s=b[i].split("|");
		var objOption=document.createElement("option");
		objOption.innerHTML = s[1];
		objOption.value = s[0];
		if(s[2]){
			if (target = inArrayLabel(optList, s[2])) {
				optList[target].appendChild(objOption);	//put this option into the group
			} else {
				target = optList.length;
				optList[target] = document.createElement("optgroup"); //create option group
				optList[target].label = s[2];	//attach label to group
				optList[target].appendChild(objOption);	//put this option into the group
			}
		} else {
			optList[i] = objOption;
		}
	}
	for (myObj in optList) {
		l.appendChild(optList[myObj]);
	}
	optList=null;
	l.selectedIndex=0;
	if (!fn) return;
	eval(fn);
}

var items_ = new Array();
	items_.push('|-- Choose An Interest --');


var items_BABC = new Array();
	items_BABC.push('|Choose One');
	items_BABC.push('BABCCM|BABC in Communication Management|');
	items_BABC.push('BABCSM|BABC in Sales and Marketing|');
	items_BABC.push('BABC|Bachelor of Arts in Business Communication|');

var items_BBA = new Array();
	items_BBA.push('|Choose One');
	items_BBA.push('BBAA|BBA in Accounting|');
	items_BBA.push('BBACCM|BBA in Customer Care Management|');
	items_BBA.push('BBAHCM|BBA in Health Care Management|');
	items_BBA.push('BBACF|BBA in Corporate Finance|');
	items_BBA.push('BBASMM|BBA in Sales and Marketing Management|');
	items_BBA.push('BBATSM|BBA in Technology Services Management|');
	items_BBA.push('BBAG|BBA in General Business|');
	items_BBA.push('BBA|Bachelor of Business Administration|');

var items_BTOM = new Array();
	items_BTOM.push('|Choose One');

var items_CERT = new Array();
	items_CERT.push('|Choose One');
	items_CERT.push('NBPTS|NBPTS Pathways to Accomplished Teaching|');

var items_DIB = new Array();
	items_DIB.push('|Choose One');
	items_DIB.push('DBA|Doctorate in Business Administration|');

var items_EDD = new Array();
	items_EDD.push('|Choose One');
	items_EDD.push('EDD|Doctorate in K-12 Education Leadership|');
	items_EDD.push('EDS|Education Specialist in K-12 Leadership|');

var items_MEDAEAS = new Array();
	items_MEDAEAS.push('|Choose One');
	items_MEDAEAS.push('MEDAEA|MEd in Adult Education|');
	items_MEDAEAS.push('MEDTK|MEd in Corporate Training & Knowledge Management|');
	items_MEDAEAS.push('MEDTD|MEd in e-learning Technology & Design|');
	items_MEDAEAS.push('MEDELA|MEd In Higher Education Leadership and Administration|');
	items_MEDAEAS.push('Master of Education in Adult Educators and Administrators|MEDAEA|');
	items_MEDAEAS.push('MEDAEAD|Master of Education in Adult Educators and Administrators|');

var items_MEDK12EA = new Array();
	items_MEDK12EA.push('|Choose One');
	items_MEDK12EA.push('MEDHELA|MEd in Education Leadership & Administration|');
	items_MEDK12EA.push('MEDECIA|MEd in Elementary Curriculum, Instruction & Assessment|');
	items_MEDK12EA.push('MEDK12LI|MEd in K-12 Instructional Technology|');
	items_MEDK12EA.push('MEDSCIA|MEd in Secondary Curriculum, Instruction & Assessment|');
	items_MEDK12EA.push('MEKLDS|MEd K12 ESL Bilingual Specialist|');
	items_MEDK12EA.push('MEKLDE|MEd K12 ESL Education|');
	items_MEDK12EA.push('MELLDE|MEd K12 Education Licensure|');
	items_MEDK12EA.push('MELLDS|MEd K12 Bilingual Specialist Licensure|');

var items_MEDTLPAL = new Array();
	items_MEDTLPAL.push('|Choose One');
	items_MEDTLPAL.push('MEDELAPL|MEd in Education Leadership and Administration: Principal and Administrator Licensure|');
	items_MEDTLPAL.push('MEDECIAT|MEd in Elementary Curriculum, Instruction, and Assessment: Teacher Licensure|');
	items_MEDTLPAL.push('MEDK12TL|MEd In K-12 Instructional Technology: Teacher Licensure|');
	items_MEDTLPAL.push('MBASCIAT|MEd in Secondary Curriculum, Instruction, and Assessment: Teacher Licensure|');
	items_MEDTLPAL.push('MEDLE|Master of Education for Licensed Educators|');
	items_MEDTLPAL.push('MEDIEL|Master of Education leading to Initial Education Licensure|');

var items_MABC = new Array();
	items_MABC.push('|Choose One');
	items_MABC.push('MABCLCDO|MABC in Leading the Customer-Driven Organization|');
	items_MABC.push('MABCPM|MABC in Project Management|');
	items_MABC.push('MABCE|MABC in Entrepreneurship|');
	items_MABC.push('MABCLI|MABC in Leadership and Influence|');
	items_MABC.push('MABC|Master of Arts in Business Communication|');

var items_MBA = new Array();
	items_MBA.push('|Choose One');
	items_MBA.push('MBAA|MBA in Accounting|');
	items_MBA.push('MBAE|MBA in Entrepreneurship|');
	items_MBA.push('MBAF|MBA in Finance|');
	items_MBA.push('MBAGEM|MBA in Global Enterprise Management|');
	items_MBA.push('MBAHCM|MBA in Health Care Management|');
	items_MBA.push('MBAISM|MBA in Information Security Management|');
	items_MBA.push('MBAITM|MBA in IT Management|');
	items_MBA.push('MBANC|MBA in Negotiation and Conflict Management|');
	items_MBA.push('MBAPM|MBA in Project Management|');
	items_MBA.push('MBALCDO|MBA in Leading the Customer-Driven Organization|');
	items_MBA.push('MBAGS|MBA General Studies|');
	items_MBA.push('MBA|Master of Business Administration|');
	items_MBA.push('MBAFA|MBA in Forensic Accounting|');
	items_MBA.push('MBAFP|MBA in Financial Planning|');
	items_MBA.push('MBAFINA|MBA in Financial Analysis|');
