startList = function() {
	navRoot = document.getElementById("nav");
	for (i=0; i<navRoot.childNodes.length; i++) {
		node = navRoot.childNodes[i];
		if (node.nodeName=="LI") {
			node.onmouseover=function() {
				this.className+=" over";
				foo = document.getElementById('searchblock').className;
				document.getElementById('searchblock').className=this.id;
			}
			node.onmouseout=function() {
				this.className=this.className.replace        (" over", "");
				document.getElementById('searchblock').className=document.getElementById('searchblock').className.replace(this.id, foo);
			}
		}
	}
}

window.onload=startList;
