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('|-- Select Campus First --');



var items_AUT0003 = new Array();
	items_AUT0003.push('|-- Select A Program --');
	items_AUT0003.push('ADAT|Advanced Automotive Technology|');
	items_AUT0003.push('AT|Automotive Technology|');
	items_AUT0003.push('ATEV|Automotive Technology - Evening Program|');
	items_AUT0003.push('CRT|Collision Reconditioning Technology|');
	items_AUT0003.push('CRTEV|Collision Repair Technology - Evening Program|');
	items_AUT0003.push('SAT|Specialized Automotive Technology|');

var items_AUT0001 = new Array();
	items_AUT0001.push('|-- Select A Program --');
	items_AUT0001.push('ADAT|Advanced Automotive Technology|');
	items_AUT0001.push('AT|Automotive Technology|');
	items_AUT0001.push('ATEV|Automotive Technology - Evening Program|');
	items_AUT0001.push('CRT|Collision Reconditioning Technology|');
	items_AUT0001.push('CRTEV|Collision Repair Technology - Evening Program|');
	items_AUT0001.push('MST|Marine Service Technology|');
	items_AUT0001.push('SAT|Specialized Automotive Technology|');
