// JavaScript Document

startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
tilfoej(navRoot);

}
}

function tilfoej(aktobj){
	for (var i=0; i<aktobj.childNodes.length; i++) {
		node = aktobj.childNodes[i];
		if (node.nodeName=="LI") {
			node.onmouseover=function() {
				this.className+=" over";
 			 }
	  		node.onmouseout=function() {
 				 this.className=this.className.replace(" over", "");
  			 }
  		 }
		 tilfoej(node);
 	 }
}


window.onload=startList;
