function winopen(url,name){
        var ver = navigator.appVersion;
        if (ver.indexOf("MSIE") != -1) {
                var opened=window.open(url,'',"scrollbars=yes, status=no, top="+(document.body.clientHeight/3)+", left="+((document.body.clientWidth/2)-240)+", width=600, height=800, resizable=0","replace=yes");
        }
        else {
        	var opened=window.open(url,name,"scrollbars=yes, status=no, top="+(document.body.clientHeight/3)+", left="+((document.body.clientWidth/2)-240)+", width=600, height=800, resizable=0","replace=yes");
        }
  	opened.document.close();
}

function hmenuhover()
{
	if(!document.getElementById("hmenu"))
		return;
	var lis = document.getElementById("hmenu").getElementsByTagName("LI");
	for (var i=0;i<lis.length;i++)
	{
		lis[i].onmouseover=function(){this.className+=" iehover";}
		lis[i].onmouseout=function() {this.className=this.className.replace(new RegExp(" iehover\\b"), "");}
	}
}
if (window.attachEvent)
	window.attachEvent("onload", hmenuhover);
