var xcol_cur_menu = null;var xcol_cur_submenu = null;function show(id){    if (!isDOMcompliant()) { return; }    var menu = document.getElementById("Menu" + id);    var menus = document.getElementById("NavMenuList");    if (!menus) return;    var submenu = menus.getElementsByTagName("ul").item(id);    if (xcol_cur_submenu == null) {        submenu.style.visibility = "visible";    } else {        xcol_cur_submenu.style.visibility = "hidden";        submenu.style.visibility = "visible";    }    if (xcol_cur_menu == null) {        menu.style.backgroundColor = "#FFF";        menu.style.color = "#000";		    } else {        xcol_cur_menu.style.backgroundColor = "#FFF";        xcol_cur_menu.style.color = "#000";        menu.style.backgroundColor = "#666699";		menu.style.color = "#FFF";		    }	    xcol_cur_menu = menu;    xcol_cur_submenu = submenu;}function unshow(){    if (!isDOMcompliant()) { return; }    if (xcol_cur_submenu != null) {        xcol_cur_submenu.style.visibility = "hidden";    }    if (xcol_cur_menu != null) {        xcol_cur_menu.style.backgroundColor = "#FFF";        xcol_cur_menu.style.color = "#000";    }	    xcol_cur_submenu = null;    xcol_cur_menu = null;}function isDOMcompliant(){    return document.getElementById && document.getElementsByTagName;}function xcShowLoginDiv () {    if (!document.getElementById) return true;    var notloge = document.getElementById("NotLoggedInDiv");    var logboxe = document.getElementById("LoginBox");    var xcusere = document.getElementById("xc_user");    if (!notloge || !logboxe || ! xcusere) return true;    notloge.style.display = 'none';    logboxe.style.display = 'block';    xcusere.focus();    return false;}