var startList = function() {

	if (document.all && document.getElementById) {
		// flicker fix for IE6 SP1
		try {document.execCommand("BackgroundImageCache", false, true);} catch(err) {}

		var navRoot = document.getElementById("mainnav");
		for (i=0; i < navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName.toLowerCase() == "li") {
				node.onmouseover = function() {this.className += " over";	}
				node.onmouseout = function() {this.className = this.className.replace(" over", "");}
			}
		}
	}
}
window.onload = startList;