function noImplementado() { alert("Funcionalidad disponible en próxima versión"); } function abrirAyuda(opcion) { //var w = window.open (opcion, "win","scrollbars=1,width=800, height=600, top=" + (screen.height-800)/2 + ", left=" + (screen.width-600)/2); var w = window.open (opcion, "win","scrollbars=1,width=800, height=600, top=" + (screen.height-800)/2 + ", left=" + (screen.width-600)/2); } function abrirPlugin(opcion) { var w = window.open (opcion, "win","scrollbars=1,top=" + (screen.height-800)/2 + ", left=" + (screen.width-600)/2); } function imprimir() { var w = window.open ("imprimirHistorico.jsp", "win","location=no,scrollbars=1,width=800, height=600, top=" + (screen.height-800)/2 + ", left=" + (screen.width-600)/2); } //Pantalla de seleccion de base de datos function seleccionar(opcion) { if (opcion=="form1:patentes") { document.getElementById('form1:patentes').checked = true; document.getElementById('form1:latipat').checked = false; document.getElementById('form1:disenos').checked= false; document.getElementById('form1:claind').checked= false; } else if (opcion=="form1:latipat") { document.getElementById('form1:patentes').checked = false; document.getElementById('form1:latipat').checked = true; document.getElementById('form1:disenos').checked = false; document.getElementById('form1:claind').checked= false; } else if (opcion=="form1:disenos") { document.getElementById('form1:patentes').checked = false; document.getElementById('form1:latipat').checked = false; document.getElementById('form1:disenos').checked = true; document.getElementById('form1:claind').checked= false; } else if (opcion=="form1:claind") { document.getElementById('form1:patentes').checked = false; document.getElementById('form1:latipat').checked = false; document.getElementById('form1:disenos').checked = false; document.getElementById('form1:claind').checked= true; } } function mostrarExcepcion() { document.getElementById('excepcion').style.display='block'; document.getElementById('excepcion').style.visible='visible'; } //General - todas las paginas function abrirPopup(pid) { document.getElementById(pid).style.visibility = 'visible'; document.getElementById(pid).style.display = 'block'; } function desactivarControles() { var input = document.getElementsByTagName('input'); for (i=0;i