// Hack to workaround IE's lack of support for li:hover
// Disabled in Win95 due to odd whitespace bug

startList = function() {
	// commented out debugging popup alert
	//alert(navigator.appVersion);
	if (document.all&&document.getElementById&&navigator.appVersion.indexOf("Windows 95")==-1) {
		navRoot = document.getElementById("frameleft").childNodes[0];

		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				if (node.className.substr(0,3)=="nav"){
					node.onmouseover=function() {
						this.className+=" over";
					}
					node.onmouseout=function() {
						this.className=this.className.replace(" over", "");
					}
				} else if (node.className.substr(0,3)=="sub"){
					node.onmouseover=function() {
						this.className=this.className.replace("_off", "_on");
					}
					node.onmouseout=function() {
						this.className=this.className.replace("_on", "_off");
					}				
				}
			}
		}
	}
}
window.onload=startList;
