jsHover = function() {
  var hEls = document.getElementById("hmenu").getElementsByTagName("li");
  for (var i=0, len=hEls.length; i<len; i++) {
    hEls[i].onmouseover=function() { this.className+=" jshover"; }
    hEls[i].onmouseout=function() { this.className=this.className.replace(" jshover", ""); }
  }
}
if (window.attachEvent && navigator.userAgent.indexOf("Opera")==-1) window.attachEvent("onload", jsHover);


jsWidth = function(){
	if (document.body.clientWidth > 1024)
	{
		try{
		document.getElementById("main").style.width = 1024 + "px";
		} catch(e) {}
	}
/*	else
	{
		document.getElementById("main").style.width = 900 + "px";			
	}*/
	
}
if (window.attachEvent && navigator.userAgent.indexOf("Opera")==-1) window.attachEvent("onload", jsWidth);
