  function stuHover() {
	var cssRule;
	var newSelector;
	if(document.styleSheets[2]!=null)
	{	
		for (var x = 0; x < document.styleSheets[2].rules.length ; x++)
		{
			cssRule = document.styleSheets[2].rules[x];
			if (cssRule.selectorText.indexOf("LI:hover") != -1)
			{
				 newSelector = cssRule.selectorText.replace(/LI:hover/gi, "LI.iehover");
				document.styleSheets[2].addRule(newSelector , cssRule.style.cssText);
			}
		}
	}
	var getElm = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<getElm.length; i++) {
		getElm[i].onmouseover=function() {
			this.className+=" iehover";
		}
		getElm[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
	}
}
 
  
 $(document).ready(function(){
                    var menuobj = $("td [id^='tmenu']");
                    var tabobj = $("table [id^='subtmenu']");
                    var topmenuobj = $("td [id^='topmenu']");
                    var subtopobj =$("table[id^='subtopmenu'] ");
                    topmenuobj.css("cursor","pointer");
                    topmenuobj.mouseover(function()
                    {
                       var menuid =this.id;
                       var offsets = $(this).offset();
                       var tempmenu = $("#sub"+menuid);
                       tempmenu.css("left",offsets.left+"px");
                       tempmenu.css("top",offsets.top+38+"px");
                       tempmenu.show();
                       tempmenu.css("display","block");
                    })
                    
                    topmenuobj.mouseout(function()
                    {
                        var menuid =this.id;
                        $("#sub"+menuid).hide
                         $("#sub"+menuid).css("display","none");
                         
                    })
                    subtopobj.mouseover(function()
                    {
                         $(this).css("display","block");
                    })
                    subtopobj.mouseout(function()
                    {
                        $(this).hide
                         $(this).css("display","none");
                         
                    })
//                   // ÏÂÃæ²Ëµ¥
                        menuobj.mouseover(function()
                        {
                           menuobj.removeClass("btl_onmouse");
                           menuobj.addClass("btl");
                           $(this).removeClass("btl");
                           $(this).addClass("btl_onmouse");
                           
                           tabobj.addClass("btl");
                           tabobj.hide();
                           $("#sub"+this.id).show();
                           $("#sub"+this.id).removeClass("btl");
                        }
                        )
                    })
