// JavaScript Document// preload navigation images:function preloadImages() {		about_on.src = "/images/nav/about_on.gif";	about_off.src = "/images/nav/about_off.gif";	projects_on.src = "/images/nav/projects_on.gif";	projects_off.src = "/images/nav/projects_off.gif";		fellowships_on.src = "/images/nav/fellowships_on.gif";	fellowships_off.src = "/images/nav/fellowships_off.gif";		publications_on.src = "/images/nav/publications_on.gif";	publications_off.src = "/images/nav/publications_off.gif";		en_on.src = "/images/nav/en_on.gif";	en_off.src = "/images/nav/en_off.gif";		jshp_over.src = "/images/nav/rtnav/hp/jshp_over.jpg";	jshp_off.src = "/images/nav/rtnav/hp/jshp_off.jpg";		hthp_over.src = "/images/nav/rtnav/hp/hthp_over.jpg";	hthp_off.src = "/images/nav/rtnav/hp/hthp_off.jpg";	cphp_over.src = "/images/nav/rtnav/hp/cphp_over.jpg";	cphp_off.src = "/images/nav/rtnav/hp/cphp_off.jpg";   	jssub_on.src = "/images/nav/rtnav/sub/jssub_on.jpg";   	jssub_off.src = "/images/nav/rtnav/sub/jssub_off.jpg";      	htsub_on.src = "/images/nav/rtnav/sub/htsub_on.jpg";   	htsub_off.src = "/images/nav/rtnav/sub/htsub_off.jpg";         	cpsub_over.src = "/images/nav/rtnav/sub/cpsub_over.jpg";   	cpsub_off.src = "/images/nav/rtnav/sub/cpsub_off.jpg";}	if (document.images) {      about_on = new Image();   about_on.src = "/images/nav/about_on.gif";   about_off = new Image();   about_off.src = "/images/nav/about_off.gif"      projects_on = new Image();   projects_on.src = "/images/nav/projects_on.gif";   projects_off = new Image();   projects_off.src = "/images/nav/projects_off.gif"      fellowships_on = new Image();   fellowships_on.src = "/images/nav/fellowships_on.gif";   fellowships_off = new Image();   fellowships_off.src = "/images/nav/fellowships_off.gif"      publications_on = new Image();   publications_on.src = "/images/nav/publications_on.gif";   publications_off = new Image();   publications_off.src = "/images/nav/publications_off.gif"      en_on = new Image();   en_on.src = "/images/nav/en_on.gif";   en_off = new Image();   en_off.src = "/images/nav/en_off.gif"      jshp_over = new Image();   jshp_over.src = "/images/nav/rtnav/hp/jshp_over.jpg";   jshp_off = new Image();   jshp_off.src = "/images/nav/rtnav/hp/jshp_off.jpg";      hthp_over = new Image();   hthp_over.src = "/images/nav/rtnav/hp/hthp_over.jpg";   hthp_off = new Image();   hthp_off.src = "/images/nav/rtnav/hp/hthp_off.jpg";         cphp_over = new Image();   cphp_over.src = "/images/nav/rtnav/hp/cphp_over.jpg";   cphp_off = new Image();   cphp_off.src = "/images/nav/rtnav/hp/cphp_off.jpg";      jssub_on = new Image();   jssub_on.src = "/images/nav/rtnav/sub/jssub_on.jpg";   jssub_off = new Image();   jssub_off.src = "/images/nav/rtnav/sub/jssub_off.jpg";      htsub_on = new Image();   htsub_on.src = "/images/nav/rtnav/sub/htsub_on.jpg";   htsub_off = new Image();   htsub_off.src = "/images/nav/rtnav/sub/htsub_off.jpg";         cpsub_over = new Image();   cpsub_over.src = "/images/nav/rtnav/sub/cpsub_over.jpg";   cpsub_off = new Image();   cpsub_off.src = "/images/nav/rtnav/sub/cpsub_off.jpg";} function swapImage(imgName,newImage) {   if (document.images) {      eval('document.' + imgName + '.src = ' + newImage + '.src');   }}function init(){isNS4 = (document.layers) ? true : false;isIE4 = (document.all && !document.getElementById) ? true : false;isIE5 = (document.all && document.getElementById) ? true : false;isNS6 = (!document.all && document.getElementById) ? true : false;			if (isNS4){		   layerRef = "document.layers";		   styleSwitch="";		}		else if (isIE4) {		   layerRef = "document.all";		   styleSwitch=".style";		}		else if (isIE5 || isNS6) {		   layerRef = "document.getElementById";		   styleSwitch=".style";		}				//wipeLeft('loadingBG');		//hideLayer('header');		//hideLayer('msg');temp=0;	}//GENERAL FUNCTIONS	function showLayer(layerName){		clearTimeout(temp);		var a = showLayer.arguments;		for (i=0; i<a.length; i++) {				//alert(layerRef+'("'+a[i]+'")'+'.style.visibility="visible"');			if (isIE5 || isNS6) {	   		eval(layerRef+'("'+a[i]+'")'+styleSwitch+'.visibility="visible"');			}else{			eval(layerRef+'["'+a[i]+'"]'+styleSwitch+'.visibility="visible"');			}		}		temp=setTimeout('hideLayer("'+layerName+'")',3000);	}		function hideLayer(){		var a = hideLayer.arguments;		//alert(hideLayer.arguments);  		for (i=0; i<a.length; i++) {    	//alert(a[i]);			if (isIE5 || isNS6) {	   		eval(layerRef+'("'+a[i]+'")'+styleSwitch+'.visibility="hidden"');			} else{			eval(layerRef+'["'+a[i]+'"]'+styleSwitch+'.visibility="hidden"');			}		}	}