
//	Function to allow rollover bullets for navigation in IE6. (other browsers can use pure CSS)
startList = function() {
	createHovers("topNav");
	createHovers("subNav");
}

function createHovers(from_id) {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById(from_id);
		for (i=0; i<navRoot.childNodes.length; i++) { //apply mouseovers to main nav
			node = navRoot.childNodes[i];
			if ((node.nodeName=="A" || node.nodeName=="LI")&& node.className!="listSelected") {
				node.onmouseover=function() {
					this.className+="listSelected";
						}
				node.onmouseout=function() {
					this.className=this.className.replace=(/ listSelected/, "");
				}
			}
		}
	}
}

window.onload=startList;
