
function ieHover() {
	//hoverForIE6(['.main-nav > li'], 'hover');
	
	var _nav = document.getElementById("nav");
	if (_nav) {
	   var nodes = _nav.getElementsByTagName("li");
	   for (var i=0; i<nodes.length; i++) {
	      nodes[i].onmouseover = function()
	      {
		  	if (this.timer) clearTimeout(this.timer);
		  	if (this.className.indexOf('hover') == -1)
	            this.className += " hover";
	      }
	      nodes[i].onmouseout = function()
	      {
		  	var _this = this;
		  	this.timer = setTimeout(function(){
	        	_this.className = _this.className.replace(" hover", "");
			}, 50)
	      }
	   }
	}

}
if (window.attachEvent && !window.opera){
	window.attachEvent("onload", ieHover);
}
