// JavaScript Document
startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("NaviMain");
		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", "");
				}

				// ULs auslesen
				for (j=0; j<node.childNodes.length; j++) {
					nodeLevel1 = node.childNodes[j];
					if (nodeLevel1.nodeName=="UL") {
						// LIs bearbeiten
						for (k=0; k<nodeLevel1.childNodes.length; k++) {
							nodeLevel2 = nodeLevel1.childNodes[k];
							if (nodeLevel2.nodeName=="LI"){
								nodeLevel2.onmouseover=function() {
									this.className+=" over";
								}
								nodeLevel2.onmouseout=function() {
									this.className=this.className.replace(" over", "");
								}
							}
					//	alert (nodeLevel2.nodeName + '- - ' + nodeLevel1.childNodes[k].className);
						}
					}
				}

			}
		}
	}
}
window.onload=startList;
