
function active(cl,d)
{ 
	var i,ob,tA,h=document.location.href;
	if(document.getElementById)
	{
		ob=(d)?document.getElementById(d):document;
			if(ob)
			{
				tA=ob.getElementsByTagName('A');
				
					for(i=0;i<tA.length;i++)
					{
						if(tA[i].href==h)
						{
						tA[i].className=cl;
						}
					}
				if(h=='http://www.uic.edu/depts/bios/leap/')
				{tA[0].className=cl;}
			}
	}
}


startList = function() {

	//code only for IE
	if(!document.body.currentStyle) return;
	var subs = document.getElementsByName('submenu');
	for(var i=0; i<subs.length; i++) {
		var li = subs[i].parentNode;
		if(li && li.lastChild.style) {
			li.onmouseover = function() {
				this.lastChild.style.visibility = 'visible';
			}
			li.onmouseout = function() {
				this.lastChild.style.visibility = 'hidden';
			}
		}
	}
}