startList = function() {
		if ( document.getElementById ) {
		activeMenu = document.getElementById("active_menu");		
		if ( activeMenu ) {
			activeMenu.parentNode.className = "active";		
		}
		mainlevelRoot = document.getElementById("mainlevel");
		for (x=0; x<mainlevelRoot.childNodes.length; x++) {
			node = mainlevelRoot.childNodes[x];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {					
					this.className+=" over";
				}		
				node.onmouseout=function() {
					this.className=this.className.replace("over", "");
				}
				node.onclick=function() {
					a = this.getElementsByTagName('a');
					window.location=a[0];
				}							
			}
		}					
	}
}
if (window.attachEvent)
	window.attachEvent("onload", startList)
else
	window.onload=startList;