/******************* Redireccionamiento por medio de un href ***************************/ function irModulos(destino, isTop, redirec ){ if( isTop == null ){ parent.window.frames['mainFrame'].location.href = destino; }else{ //alert( redirec ); if( redirec == null ){ parent.document.location.href = destino; }else{ parent.document.location.href = destino + redirec; } } } function irModulosMenu( destino ){ //alert( redirec ); parent.window.frames['mainFrame'].location.href = destino; } //ACASTILLO function irModulosNoFrame(destino){ document.location.href = destino; } var messageBotonDerecho = 'Boton derecho inhabilitado. '; //var b = Event; function NoRightClick(b) { if(((navigator.appName=="Microsoft Internet Explorer")&&(event.button > 1)) ||((navigator.appName=="Netscape")&&(b.which > 1))){ //alert(messageBotonDerecho); return false; } } function logout(){ url = 'http://' + "10.1.0.39" + ':' + "7342" + '/SIS-Web/login.do?dispatch=forward&forward=indexPrincipal&accion=login' parent.window.location.href = url; } document.onmousedown = NoRightClick;