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 jumpCat3(catId)
	{
                var catid
         
                if (catId=="301") 
                { 
			window.top.location.href="down-1.asp";
		}	
	            if (catId=="302") 
	        {
			window.top.location.href="down-2.asp";
		}
     
     
    }
	function jumpMP(mpId)
	{
		window.top.location.href="/marketplace.aspx?mpid=" + mpId;
	}
	
	function jumpSC(SCId)
	{
		window.top.location.href="/softcontent/softcontent.aspx?scmId=" + 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>" +
	"<table cellpadding=0 cellspacing=0 width=40 height=21 border=0>" +
	"<tr><td nowrap><span id=poper3 class=eSmainTax onmouseover='mOver(this)' onclick='jumpCat3(301)'><img src=../images/dh_r1_c5.gif border=0 width=65 height=26></span></td></tr><tr><td><div  onmouseover='mPopupOver(this)' id=popup3 class=eStaxPopup style='display:none; z-index=999'>" +
	"		<div onmouseover='sOver()' onmouseout='sOut()' class=eSsubTax onclick='jumpCat3(301)'><img src=../images/dh-yx-1.gif border=0  width=82 height=26></div>" +
	"		<div onmouseover='sOverL()' onmouseout='sOutL()' class=eSsubTaxLast onclick='jumpCat3(302)'><img src=../images/dh-yx-2.gif border=0  width=82 height=26></div>" +


	"		</td></tr>" +
	"</table>" ;
document.write (HTMLStr)