// Делаем li:hover для ИЕ6
jsHover = function() {
var hEls = document.getElementById("menu").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);  

jsHover = function() {
var hEls = document.getElementById("menuvl").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);  

// Максимальная и минимальная ширина для ИЕ6
function mmwidth(){
	document.getElementById('main').style.width = ((document.documentElement.clientWidth || document.body.clientWidth) < 990) ? '990px' : ((document.body.clientWidth > 1200) ? '1200px' : '100%');
	document.getElementById('footer').style.width = ((document.documentElement.clientWidth || document.body.clientWidth) < 990) ? '990px' : ((document.body.clientWidth > 1200) ? '1200px' : '100%');
}
window.attachEvent('onload', mmwidth);
window.attachEvent('onresize', mmwidth);
