// JavaScript Document

<!---rollovers------>
function changeImages() {
	if (document.images) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

startList = function() {
var navArray = new Array("topnav");
for (x=0; x<1; x++) {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById(navArray[x]);
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() { this.className+="over"; }
						node.onmouseout=function() {
						this.className=this.className.replace("over", "");
					}
				}
			}
		}
	}
}
window.onload=startList;

function changeClass(i){
	document.getElementById(i).className = "over";
}
function clearClass(i){
	document.getElementById(i).className = "";
}
