bioOn = new Image()
bioOn.src = 'images/navBioOn.gif';
articlesOn = new Image()
articlesOn.src = 'images/navArticlesOn.gif';
audioOn = new Image()
audioOn.src = 'images/navAudioOn.gif';
magazineOn = new Image()
magazineOn.src = 'images/navMagazineOn.gif';



	function rollMe(which,state)
	{
		var theImg=document.getElementById(which);
		theImg.setAttribute("src","images/nav"+which+state+".gif");
	}
	
	function swapBack(which, state)
	{
		var theDiv = document.getElementById(which);
                if (state=='') theDiv.style.backgroundColor = '#74b1cf';
                else theDiv.style.backgroundColor = '#acdcf3';
		//theDiv.className = "article"+state;
	}
	
	function goto(location)
	{
		window.location.href = location;	
	}
	
	var oldwhich = '';
	function changeClass(which)
	{
		if(which != oldwhich)
		{
		if(document.getElementById(oldwhich))document.getElementById(oldwhich).style.color = "#385b6d"
		document.getElementById(which).style.color = "#fff"
		}
		oldwhich=which;
	}
	
	function goHome()
	{
		//alert(window.mainWindow);
		if(window.opener)window.opener.focus();
		window.close();
	}
	
	function handler(track)
	{
		changeClass('track'+track)
		flashProxy.call('js_wimpy_gotoTrack', track);
	}
	
	
	

 