addEvent(window,'load',function () { menuExtras(); });function menuExtras() {	menuHighlight();	menuDropIE();}function menuHighlight() {	if (document.getElementsByTagName('body')[0].id) {		// need alternate here		var bodyId = document.getElementsByTagName('body')[0].id.replace('page-','');		var l = document.getElementById('menu-'+bodyId);		if (l && (l.parentNode.id == 'leftmenu' && l.childNodes && l.childNodes.length > 1)) l.className += ' expanded'; // if first level, and contains children elements (evidenced by 2 childNodes: a and ul)		else if (l && (l.parentNode.id != 'leftmenu')) { // second level, so apply 'expanded' class to parent li, as well as parent li's 'a' element			l.parentNode.parentNode.className += ' expanded';			l.parentNode.parentNode.getElementsByTagName('a')[0].className += ' expanded';		}		if (l) l.className += ' selected';	}}function menuDropIE() { // enables the global nav admissions drop-down for IEif (document.all && document.getElementById) {navRoot = document.getElementById("globalmenu");for (i=0; i<navRoot.childNodes.length; i++) {  node = navRoot.childNodes[i];  if (node.nodeName=="LI") {  node.onmouseover=function() {  this.className+=" over";	}  node.onmouseout=function() {  this.className=this.className.replace(" over", "");   }   }  } }}