function set_hovers() {
	if (document.all && document.getElementById) {
		
		ul = document.getElementById("hover_list1");
		//cycle through nodes of "hover_list1" ul, add over to class name if it is an LI
		for (i = 0; i < ul.childNodes.length; i++) {
			li = ul.childNodes[i];
			if (li.nodeName == "LI") {
				li.onmouseover = function() {
					if (this.className.length > 0) { 
						this.className += "-over";
					}
					else {
						this.className += " over";
					}
				}			
				li.onmouseout = function() {
					this.className = this.className.replace(" over", "");
					this.className = this.className.replace("-over", "");
				}
			}
		}
		
		ul = document.getElementById("hover_list2");
		//cycle through nodes of "hover_list2" ul, add over to class name if it is an LI
		for (i = 0; i < ul.childNodes.length; i++) {
			li = ul.childNodes[i];
			if (li.nodeName == "LI") {
				li.onmouseover = function() {
					if (this.className.length > 0) { 
						this.className += "-over";
					}
					else {
						this.className += " over";
					}
				}			
				li.onmouseout = function() {
					this.className = this.className.replace(" over", "");
					this.className = this.className.replace("-over", "");
				}
			}
		}
		
		div = document.getElementById("scorecard-list");
		//cycle through nodes of "scorecard-list" div, add over to class's named row
		for (i = 0; i < div.childNodes.length; i++) {
			row_div = div.childNodes[i];
			if (row_div.className == "row") {
				row_div.onmouseover = function() {
					this.className += "-over";
				}			
				row_div.onmouseout = function() {
					this.className = this.className.replace("-over", "");
				}
			}
		}
	}
}

//must call all onload functions for all pages in this function
window.onload = function(){
	if (navigator.userAgent.indexOf("MSIE 6.0") != -1){
		set_hovers(); //if browser is IE6 need to set up hovers
	}
	if (document.URL.indexOf("calculator.php") != -1){
		reset_form(); //in calculator.js
	}
}
