function ieHover() {
	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','');
				},20)
			}
		}
	}
}
if (window.attachEvent && !window.opera){
	window.attachEvent("onload", ieHover);
}