/*function derecha(e){ if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) { desdedonde=this.location; destino="http://www.deportesextremos-cl.com/cgi-bin/.rraavv~/.der~/der.htm?REF=" + desdedonde; self.location.href=destino; } else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2)) { desdedonde=this.location; destino="http://www.deportesextremos-cl.com/cgi-bin/.rraavv~/.der~/der.htm?REF=" + desdedonde; self.location.href=destino; } ;} document.onmousedown=derecha; */ function derecha(e){ if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) self.location.href="/"; else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2)) { // desdedonde=this.location; destino="/"; // destino="http://www.sucun.com/cgi-bin/.rraavv~/.der~/der.htm?REF=" + desdedonde; self.location.href=destino; } ;} document.onmousedown=derecha; /* EL CODIGO DEL cgi-bin en /.rraavv~/.der~/der.htm es este: #!/bin/sh echo Content-type: text/html echo date "+VISITA - $PATH_INFO - $QUERY_STRING - $REMOTE_HOST - $REMOTE_ADDR: %d-%m-%Y %H:%M:%S" >> ../.BDD/log/derecha cat ../../RRAAVV/$PATH_INFO */