/* This adds a small hack to make IE obey the :hover pseudo class
 * source: http://www.alistapart.com/articles/dropdowns */
function hoverForIE() {
	if (navigator.appName == "Microsoft Internet Explorer") {
		navRoot = document.getElementById("ulMenu");
		for (i = 0; i < navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover = function() { this.className += " over"; }
				node.onmouseout  = function() { this.className = this.className.replace(" over", ""); }
			}
		}
	}
}

/* start hoverForIE on loading the page */
window.onload = hoverForIE;
