<!--

// variable Declarations
var over = 'no';
var whichOne = ' ';

//DHTML menu activator
// turns previous layer off if any and then turns current layer on (visible)
function on(pic,img,state)
{
	imgSwap(img,state);
	
	//new
	/*var thelast
	thelast = img
	if (thelast != ' '){
	
		//imgSwap(thelast,'off');
		thelast = img
	    alert(thelast);
	}*/
	
	// end new
	over = 'yes';
	if (ns4)  
	{
		if (whichOne != ' ')  
		{
			eval('document.' + whichOne + 'Menu.visibility = "hidden"');
		}
		eval('document.' + pic + 'Menu.visibility = "visible"');
	}
	else if (ie4)
	{
		if (whichOne != ' ')  
		{
			eval(whichOne + 'Menu.style.visibility = "hidden"');
		}
		eval(pic + 'Menu.style.visibility = "visible"');
	}
	else
	{
		if (whichOne != ' ')  
		{
			eval('document.getElementById("' + whichOne + 'Menu").style.visibility = "hidden"');
		}
		eval('document.getElementById("' + pic + 'Menu").style.visibility = "visible"');
	}
	whichOne = pic;
}

// called by onmouseout event handle on images that popup rollovers
// sets over to no and begins the timeout. whichOne is used by on
// so the next div/layer knows which previous div/layer to turn off (hide)
function overChecker(pic,imgName,state)
{
	img = imgName;
	st = state;
	whichOne = pic;
	over = 'no';
	setTimeout('off();',100);
}

// the reverse of on(). Turns the div called 'whichOne' to hidden (off)
function off()
{
	if (over == 'no')  
	{
		imgSwap(img,st);
		if (ns4)  
		{
			eval('document.' + whichOne + 'Menu.visibility = "hidden"');
		}
		else if(ie4) 
		{
			eval(whichOne + 'Menu.style.visibility = "hidden"');
		}
		else
		{
			eval('document.getElementById("' + whichOne + 'Menu").style.visibility = "hidden"');
		}
	}
}

// -->



 