function DetectadoAcceso() {

   alert('Opción no permitida')
   return false
   
}

function NavegadorNetscape(e) {

   if (document.layers||document.getElementById&&!document.all) {
       
       if (e.which==2||e.which==3) {
          DetectadoAcceso()
          return false
       }

  }
   
}


function NavegadorInternetExplorer() {

          
       if (event.button==2) {
          DetectadoAcceso()
          return false
       }

     
}



if (document.layers){

   document.captureEvents(Event.MOUSEDOWN)
   document.onmousedown=NavegadorNetscape()

   }
   else if (document.all&&!document.getElementById) {

   document.onmousedown=NavegadorInternetExplorer()

   }

document.oncontextmenu= new Function("DetectadoAcceso();return false")
