sfHover = function() {
	if(document.getElementById("navQuickLinks"))
	{
	var sfEls = document.getElementById("navQuickLinks").getElementsByTagName("LI");
	
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

sfHover = function() {
	if(document.getElementById("navPortals"))
	{
	var sfEls = document.getElementById("navPortals").getElementsByTagName("LI");
	
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

sfHover = function() {
	if(document.getElementById("navPublications"))
	{
	var sfEls = document.getElementById("navPublications").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

function launch(file,name,winwidth,winheight) { 
	var string="width="+winwidth+",height="+winheight+"toolbar=no,directories=no,menubar=no,resizable=yes,dependent=yes";
	hwnd = window.open(file,name,string) ;                  
          if (navigator.appName == "Netscape") { 
             hwnd.focus() 
          } 
} 

function launchStatus(file,name,winwidth,winheight) { 
	var string="width="+winwidth+",height="+winheight+"toolbar=no,directories=no,menubar=no,resizable=yes,status=yes,dependent=yes";
	hwnd = window.open(file,name,string) ;                  
          if (navigator.appName == "Netscape") { 
             hwnd.focus() 
          } 
} 

function launchScroll(file,name,winwidth,winheight) { 
	var string="width="+winwidth+",height="+winheight+"toolbar=no,scrollbars=yes,directories=no,menubar=no,resizable=yes,dependent=yes";
	hwnd = window.open(file,name,string) ;                  
          if (navigator.appName == "Netscape") { 
             hwnd.focus() 
          } 
} 


var menuToShow = null;
var the_timer
function display(menu)
{
	if(menuToShow == null){
		
		menuToShow = eval(menu + '_menu');
		menuToShow.style.display="block";
	}else{
		clearTimeout(the_timer);
		menuToShow.style.display="none";
		menuToShow = eval(menu + '_menu');
		menuToShow.style.display="block";
	}
	//alert("test " + menu);
	
}
function hideMenu()
{
	if(menuToShow!=null){
		menuToShow.style.display="none";
	}
}

function startTimer()
{
	the_timer=setTimeout("hideMenu()",300);
}

function doSel(obj)
{
	for (i = 1; i < obj.length; i++)
		if (obj[i].selected == true)
			eval(obj[i].value);
}