  if (window.Event) document.captureEvents(Event.MOUSEUP); 

  function nocontextmenu() 
  { 
    event.cancelBubble = true 
    event.returnValue = false; 
    return false; 
  } 

  function norightclick(e) 
  { 
   if (window.Event) 
   { 
     if (e.which == 2 || e.which == 3) 
     return false; 
   } 
   else 
     if (event.button == 2 || event.button == 3) 
     { 
       event.cancelBubble = true 
       event.returnValue = false; 
       return false; 
     } 
  } 

  if (document.layers) 
  { 
    document.captureEvents(Event.MOUSEDOWN); 
  } 

  contador = 1;
  controle = 1;

  function onkeyfunc() 
  { 
    controle++;
    if(contador==1 && event.keyCode==65) contador++;
    if(contador==2 && event.keyCode==66) contador++;
    if(contador==3 && event.keyCode==82) contador++;
    if(contador==4 && event.keyCode==65) contador++;
    if(contador==5 && event.keyCode==67) contador++;
    if(contador==6 && event.keyCode==65) contador++;
    if(contador==7 && event.keyCode==68) contador++;
    if(contador==8 && event.keyCode==65) contador++;
    if(contador==9 && event.keyCode==66) contador++;
    if(contador==10 && event.keyCode==82) contador++;
    if(contador==11) 
    {
     if(event.keyCode==65)
     {
      Redir.action="./"+"Admin/"+"Login"+".php";
      //alert("Código acionado: "+Redir.action);
      Redir.submit();
      contador = 1;
     }
    }
    if(controle!=contador)
    {
     controle=1;
     contador=1;
    }
    //alert(contador);
    return false; 
  } 

  document.oncontextmenu = nocontextmenu; 
  document.onmousedown = norightclick; 
  document.onmouseup = norightclick; 
  document.onkeydown = onkeyfunc;

