var currentPopOut = "none";
var currentMenu = "none";
var HTMLStr

	function mOver(sender)
	{
		if (currentPopOut != "none")
		{
			document.all(currentPopOut).style.display = "none";
			currentPopOut = "none";
		}
		if (currentMenu != "none")
		{
			document.all(currentMenu).className="eSmainTax";
			currentMenu = "none";
		}		
		
		sender.className="eSmainTaxHover";
		var poperid = sender.id;
		currentMenu = poperid
		poperid = poperid.replace(/poper/, "popup")
		currentPopOut = poperid;
		document.all(poperid).style.display = "";
		window.event.cancelBubble = true;
	}
	
	function mPopupOver(sender)
	{
		window.event.cancelBubble = true;
	}
	
	function sOver()
	{
		event.srcElement.className = "eSsubTaxHover";
	}

	function sOut()
	{
		event.srcElement.className = "eSsubTax";
	}

	function sOverL()
	{
		event.srcElement.className = "eSsubTaxHoverLast";
	}

	function sOutL()
	{
		event.srcElement.className = "eSsubTaxLast";
	}	
	
	function jumpCat(catId)
	{
		window.top.location.href= catId;
	}	
	
	function jumpMP(mpId)
	{
		window.top.location.href="" ;
	}
	
	function jumpSC(SCId)
	{
		window.top.location.href= SCId;
	}	

HTMLStr =
	"<script language=javascript for=document event=onmouseover>" +
	"if (currentPopOut != 'none')" +
	"{" +
	"	document.all(currentPopOut).style.display = 'none';" +
	"	currentPopOut = 'none';" +
	"}" +
	"if (currentMenu != 'none')" +
	"{" +
	"	document.all(currentMenu).className='eSmainTax';" +
	"	currentMenu = 'none';" +
	"}" +
	"</script>" +
	" ";

document.write (HTMLStr)