if (document.layers) {ns = 1; ie = 0;} else {ns = 0; ie = 1;} var isClicked=null; var isClicked2=null; var isClicked3=null; function treeMenuDisplay() { var i, cookie; // Check for cookies with the menu state data. If not found, or if the menu // state has not been set, initialize it. cookie = getCookie(treeMenuName); if (!cookie) { if (!treeMenuExpand) { treeMenuExpand = new Array(); for (i = 0; i < treeMenuIndex; i++) treeMenuExpand[i] = 0; treeMenuSelected = -1; } } else { treeMenuExpand = cookie.split(","); cookie = getCookie(treeMenuName + "-selected"); if (!cookie) treeMenuSelected = -1; else treeMenuSelected = cookie; } // Set up reference to the menu document. treeMenuDocument = window.frames[1].document; kopfDocument = window.frames[0].document; // Set global variables used to draw the menu. treeMenuDepth = 0; treeMenuBars = new Array(); // Intialize scrolling data. treeMenuSelectedFound = false; treeMenuScrollX = 36; treeMenuScrollY = 18; // Draw the menu. if (treeMenuDocument.images) treeMenuDocument.open("text/html", "replace"); else treeMenuDocument.open("text/html"); /* if (kopfDocument.images) kopfDocument.open("text/html", "replace"); else kopfDocument.open("text/html");*/ treeMenuDocument.writeln(''); treeMenuDocument.writeln(''); treeMenuDocument.writeln(''); treeMenuDocument.writeln(''); treeMenuDocument.writeln(''); treeMenuDocument.writeln('