<!--//--><![CDATA[//><!--
function opennav(submenu) {
	navRoot = document.getElementById("menu");
	for (i=0; i<navRoot.childNodes.length; i++) {
		node = navRoot.childNodes[i];
		if (node.nodeName=="LI" && node == submenu) {
			node.className=node.className ="open";
		}
		else {
			node.className="close";
		}
		//alert(node.nodeName + " "+ node.id + " : " + node.className)
	}
}

function test(submenu) {
	alert(submenu.id)
}

startList = function() {
		navRoot = document.getElementById("menu");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onclick=function() {
					opennav(this);
				}
			
			if (node.className.length==0) node.className="close"
			}
		}
}
window.onload=startList;
//--><!]]>
