var ie = (document.all ? true : false); var ns6 = (! ie && document.getElementById ? true : false); function JSwindowOpener(url,width,height,name,top,left,redim) { /* Función para la apertura de ventanas emergentes. Parámetros: url: url a cargar en la ventana emergente width: ancho de la ventana emergente height: alto de la ventana emergente name: nombre identificativo de la ventana emergente top: posición superior de la ventana left: posición lateral de la ventana redim: ventana redimensionable */ browserName = navigator.appName; browserVer = navigator.appVersion.substring(0,1); if (width==null) {width=620;} if (height==null) {height=300;} if (name==null) {name="blanko"} if (top==null) {top=50;} if (left==null) {left=100;} if (redim==null) {redim="yes";} if (browserName != "Netscape" || browserVer != 2) { var controlWindow=window.open(url,name,"toolbar=no,top="+top+",left="+left+",height="+height+",width="+width+",location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable="+redim); if (controlWindow) { controlWindow.focus(); } } } function JSSwitchSubMenu2(submenu, inicio){ /* Esta función se encarga de abrir/cerrar los submenús. Parámetros: submenu: Id del LI que contiene el submenu incio: 1 si el submenú contiene la opción seleccionada y no se debe cerrar, 0 si aunque el submenú contenga la opción seleccionada se debe cerrar */ inicio = 1; var ulsubmenu = document.getElementById("ul_"+submenu); var lisubmenu = document.getElementById(submenu); var osubcol; var auxitem; var contieneOpSel; var j; if (inicio==1) { if (ulsubmenu.className == "menuopen") { osubcol = ulsubmenu.childNodes; contieneOpSel = 0; for (j=0;j