function fixMenuForIEFixNode(node){
	var i=0;
	node.onmouseover=function() {
		this.className+=" over";
	}
	node.onmouseout=function() {
		this.className=this.className.replace(" over", "");
	}
	for (i=0; i<node.childNodes.length; i++) {
		childNode=node.childNodes[i];
		if (childNode.nodeName=="UL"){
			fixMenuForIETraverseNode(childNode);
		}
	}
}

function fixMenuForIETraverseNode(node){
	var i=0;
	for (i=0; i<node.childNodes.length; i++) {
		childNode = node.childNodes[i];
		if (childNode.nodeName=="LI"){
			fixMenuForIEFixNode(childNode);
		}
	}
}

function fixMenuForIE(){
	if (document.all&&document.getElementById) {
		fixMenuForIETraverseNode(document.getElementById("nav"));
	}
}