function ieHover() {
	var _hoverEl = ["nav-1","nav-2"];
	var _elHoverClass = ["li","li"];

	for (var z=0; z<_hoverEl.length; z++) {
		var _el = document.getElementById(_hoverEl[z]);
		if (_el){
			var _nodes = _el.getElementsByTagName(_elHoverClass[z]);
			for (var i=0; i<_nodes.length; i++)
			{
				_nodes[i].onmouseover = function()
				{
					this.className += " hover";
				}
				_nodes[i].onmouseout = function()
				{
					this.className = this.className.replace(" hover", "");
				}
			}
		}
	}
}
if (window.attachEvent && !window.opera) {
	window.attachEvent("onload", ieHover);
}
