// alert(document.URL); - Busca o caminho da URL
// alert(window.location.protocol); Busca o Protocolo 
// alert(window.location.host);  Busca o nome do servidor ou host
// alert(window.location.pathname); Busca o caminho do programa
// window.location.href=meuprotocolo + "//" + nomeHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=4&item=1"
// window.location.href="http://localhost/" + nomeAplicacaoDWS + "/index.asp?acao=20&item=1"

// var valor = document.URL;
// var nomeHost = window.location.host;



var nomeAplicacaoDWS = "pronimtb";
var servidorUnico = false;

// -----------------------------------------
KEY_DOWN     = 40; 
KEY_UP       = 38; 
KEY_LEFT     = 37; 
KEY_RIGHT    = 39; 
KEY_END      = 35; 
KEY_BEGIN    = 36; 
KEY_BACK_TAB = 8; 
KEY_TAB      = 9; 
KEY_SH_TAB   = 16; 
KEY_ENTER    = 13; 
KEY_ESC      = 27; 
KEY_SPACE    = 32; 
KEY_DEL      = 46; 
KEY_A  = 65; 
KEY_a  = 97; 
KEY_B  = 66; 
KEY_C  = 67; 
KEY_D  = 68; 
KEY_E  = 69; 
KEY_F  = 70; 
KEY_G  = 71; 
KEY_H  = 72; 
KEY_I  = 73; 
KEY_J  = 74; 
KEY_K  = 75; 
KEY_L  = 76; 
KEY_M  = 77; 
KEY_N  = 78; 
KEY_O  = 79; 
KEY_P  = 80; 
KEY_Q  = 81; 
KEY_R  = 82; 
KEY_S  = 83; 
KEY_T  = 84; 
KEY_U  = 85; 
KEY_V  = 86; 
KEY_W  = 87; 
KEY_X  = 88; 
KEY_Y  = 89; 
KEY_Z  = 90; 
KEY_0  = 48; 
KEY_1  = 49; 
KEY_2  = 50; 
KEY_3  = 51; 
KEY_4  = 52; 
KEY_5  = 53; 
KEY_6  = 54; 
KEY_7  = 55; 
KEY_8  = 56; 
KEY_9  = 57;
KEY_PF1  = 112; 
KEY_PF2  = 113; 
KEY_PF3  = 114; 
KEY_PF4  = 115; 
KEY_PF5  = 116; 
KEY_PF6  = 117; 
KEY_PF7  = 118; 
KEY_PF8  = 119; 
REMAP_KEY_T = 5019; 
  
function checkEventObj ( _event_ ){ 
 // --- IE explorer 
 if ( window.event ) 
  return window.event; 
 // --- Netscape and other explorers 
 else 
  return _event_; 
} 
  
function applyKey (_event_){ 
  
 // --- Retrieve event object from current web explorer 
 var winObj = checkEventObj(_event_); 
  
 var intKeyCode = winObj.keyCode; 
 var intAltKey = winObj.altKey; 
 var intCtrlKey = winObj.ctrlKey;
 var intShiftKey = winObj.shiftKey;
 var meuHost = window.location.host;
 var meuprotocolo = location.protocol;
   
 // --- Access with [ALT/CTRL+Key] 
 // AQUI COMEÇAM AS TECLAS DO ALT
 

 if (intShiftKey) {

     // - TRANSFERÊNCIAS FINANCEIRAS

     if (intKeyCode == KEY_1) {

         // --- Display Message 
         alert("A página será direcionada para a área de Transferência / Transferência Financeira");
         window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=3&item=14"

         // --- Map the keyCode in another keyCode not used 
         winObj.keyCode = intKeyCode = REMAP_KEY_T;
         winObj.returnValue = false;
         return false;
     }

     if (intKeyCode == KEY_2) {

         // --- Display Message 
         alert("A página será direcionada para a área de Transferência Voluntárias / Convênios Concedidos");
         window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=3&item=16"

         // --- Map the keyCode in another keyCode not used 
         winObj.keyCode = intKeyCode = REMAP_KEY_T;
         winObj.returnValue = false;
         return false;
     }
	 
	 if (intKeyCode == KEY_3) {

         // --- Display Message 
         alert("A página será direcionada para a área de Transferência Voluntárias / Convênios Recebidos");
         window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=3&item=17"

         // --- Map the keyCode in another keyCode not used 
         winObj.keyCode = intKeyCode = REMAP_KEY_T;
         winObj.returnValue = false;
         return false;
     }

	 if (intKeyCode == KEY_4) {

	     // --- Display Message 
	     alert("A página será direcionada para a área de Plano de Cargos e Salários");
	     window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=4&item=7"

	     // --- Map the keyCode in another keyCode not used 
	     winObj.keyCode = intKeyCode = REMAP_KEY_T;
	     winObj.returnValue = false;
	     return false;
	 }

	 if (intKeyCode == KEY_6) {

	     // --- Display Message 
	     alert("A página será direcionada para a área de Ordem Cronológica de Pagamento");
	     window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=3&item=19"

	     // --- Map the keyCode in another keyCode not used 
	     winObj.keyCode = intKeyCode = REMAP_KEY_T;
	     winObj.returnValue = false;
	     return false;
	 }

	 
	 if (intKeyCode == KEY_A) {

         // --- Display Message 
         alert("A página será direcionada para a área de Publicações / Publicações");
         window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=21&item=1"

         // --- Map the keyCode in another keyCode not used 
         winObj.keyCode = intKeyCode = REMAP_KEY_T;
         winObj.returnValue = false;
         return false;
     }
    

     if (intKeyCode == KEY_B) {

         // --- Display Message 
         alert("A página será direcionada para a área de Administração - Estoque");
         window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=1&item=5"

         // --- Map the keyCode in another keyCode not used 
         winObj.keyCode = intKeyCode = REMAP_KEY_T;
         winObj.returnValue = false;
         return false;
     }

     if (intKeyCode == KEY_C) {

         // --- Display Message 
         alert("A página será direcionada para a área de Administração - Patrimônio");
         window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=1&item=6"

         // --- Map the keyCode in another keyCode not used 
         winObj.keyCode = intKeyCode = REMAP_KEY_T;
         winObj.returnValue = false;
         return false;
     }

     if (intKeyCode == KEY_E) {

         // --- Display Message 
         alert("A página será direcionada para a área de Gestão de Pessoas - Salários Por Colaborador");
         window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=4&item=5"

         // --- Map the keyCode in another keyCode not used 
         winObj.keyCode = intKeyCode = REMAP_KEY_T;
         winObj.returnValue = false;
         return false;
     }

     if (intKeyCode == KEY_G) {

         // --- Display Message 
         alert("A página será direcionada para a área de Acesso a informação - Pedido de Informação");
         window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=20&item=5"

         // --- Map the keyCode in another keyCode not used 
         winObj.keyCode = intKeyCode = REMAP_KEY_T;
         winObj.returnValue = false;
         return false;
     }

     if (intKeyCode == KEY_H) {

         // --- Display Message 
         alert("A página será direcionada para a área de Acesso a informação - Serviço de Informação ao Cidadão");
         window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=20&item=6"

         // --- Map the keyCode in another keyCode not used 
         winObj.keyCode = intKeyCode = REMAP_KEY_T;
         winObj.returnValue = false;
         return false;
     }

     if (intKeyCode == KEY_I) {

         // --- Display Message 
         alert("A página será direcionada para a área de Publicações - Prestação de Contas");
         window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=21&item=2"

         // --- Map the keyCode in another keyCode not used 
         winObj.keyCode = intKeyCode = REMAP_KEY_T;
         winObj.returnValue = false;
         return false;
     }

     if (intKeyCode == KEY_J) {

         // --- Display Message 
         alert("A página será direcionada para a área de Publicações - Execução Orçamentária (RREO)");
         window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=21&item=3"

         // --- Map the keyCode in another keyCode not used 
         winObj.keyCode = intKeyCode = REMAP_KEY_T;
         winObj.returnValue = false;
         return false;
     }

     if (intKeyCode == KEY_K) {

         // --- Display Message 
         alert("A página será direcionada para a área de Publicações - Gestão Fiscal (RGF)");
         window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=21&item=4"

         // --- Map the keyCode in another keyCode not used 
         winObj.keyCode = intKeyCode = REMAP_KEY_T;
         winObj.returnValue = false;
         return false;
     }

     if (intKeyCode == KEY_D) {

         // --- Display Message 
         alert("A página será direcionada para a área de Administração - Frotas");
         window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=1&item=7"

         // --- Map the keyCode in another keyCode not used 
         winObj.keyCode = intKeyCode = REMAP_KEY_T;
         winObj.returnValue = false;
         return false;
     }


     //// --------------------- Exportar
     if (intKeyCode == KEY_V) {

         // --- Display Message 
         alert("A página será direcionada para a área de Despesas - Exportar Dados/Documentos Extras");
         window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=10&item=5"

         // --- Map the keyCode in another keyCode not used 
         winObj.keyCode = intKeyCode = REMAP_KEY_T;
         winObj.returnValue = false;
         return false;
     }
	 
	 if (intKeyCode == KEY_F) {

       // --- Display Message 
       alert("A página será direcionada para a área de Receitas - Lançamento das Receitas / Demonstrativo das Receitas");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=2&item=1"
       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }
 }

 if (intAltKey ) { 
   
  if ( intKeyCode == KEY_RIGHT || intKeyCode == KEY_LEFT ){ 
    
   // --- Display Message 
   // --- Map the keyCode in another keyCode not used 
   winObj.keyCode = intKeyCode = REMAP_KEY_T; 
   winObj.returnValue = false; 
   return false; 
  } 
  

   // -------------------------------------------------------------------------------------------------------------

   // - ADMINISTRAÇÃO 

   if (intKeyCode == KEY_A) {

      // --- Display Message 
      alert("A página será direcionada para a área de Administração - Contratos");
      window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=1&item=1"

      // --- Map the keyCode in another keyCode not used 
      winObj.keyCode = intKeyCode = REMAP_KEY_T;
      winObj.returnValue = false;
      return false;
   }

   if (intKeyCode == KEY_B) {

      // --- Display Message 
      alert("A página será direcionada para a área de Administração - Licitações");
      window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=1&item=2"

      // --- Map the keyCode in another keyCode not used 
      winObj.keyCode = intKeyCode = REMAP_KEY_T;
      winObj.returnValue = false;
      return false;
   }

   if (intKeyCode == KEY_C) {

      // --- Display Message 
      alert("A página será direcionada para a área de Administração - Fornecedores");
      window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=1&item=3"

      // --- Map the keyCode in another keyCode not used 
      winObj.keyCode = intKeyCode = REMAP_KEY_T;
      winObj.returnValue = false;
      return false;
   }

   if (intKeyCode == KEY_D) {

      // --- Display Message 
      alert("A página será direcionada para a área de Administração - Produtos");
      window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=1&item=4"

      // --- Map the keyCode in another keyCode not used 
      winObj.keyCode = intKeyCode = REMAP_KEY_T;
      winObj.returnValue = false;
      return false;
   }

   if (intKeyCode == KEY_E) {

      // --- Display Message 
      alert("A página será direcionada para a área de Administração - Exportar Dados");
      window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=10&item=1"

      // --- Map the keyCode in another keyCode not used 
      winObj.keyCode = intKeyCode = REMAP_KEY_T;
      winObj.returnValue = false;
      return false;
   }

   // -------------------------------------------------------------------------------------------------------------

   // - RECEITAS 

   if (intKeyCode == KEY_F) {

       // --- Display Message 
       alert("A página será direcionada para a área de Receitas - Arrecadação da Receita/Por Natureza da Receita");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=3&item=8"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }


   if (intKeyCode == KEY_G) {

       // --- Display Message 
       alert("A página será direcionada para a área de Receitas - Arrecadação da Receita/Por Fonte de Recurso");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=3&item=9"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }


   if (intKeyCode == KEY_H) {

       // --- Display Message 
       alert("A página será direcionada para a área de Receitas - Receitas Diárias");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=3&item=12"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }

   if (intKeyCode == KEY_I) {

       // --- Display Message 
       alert("A página será direcionada para a área de Receitas - Exportar Dados");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=10&item=3"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }



   // -------------------------------------------------------------------------------------------------------------

   // - DESPESAS

   if (intKeyCode == KEY_J) {

       // --- Display Message 
       alert("A página será direcionada para a área de Despesas - Classificação Industrial");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=3&item=4"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }

   if (intKeyCode == KEY_W) {

       // --- Display Message 
       alert("A página será direcionada para a área de Despesas - Função");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=3&item=7"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }

   if (intKeyCode == KEY_L) {

       // --- Display Message 
       alert("A página será direcionada para a área de Despesas - Programa de governo");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=3&item=3"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }

   if (intKeyCode == KEY_M) {

       // --- Display Message 
       alert("A página será direcionada para a área de Despesas - Ação de governo");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=3&item=1"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }

   if (intKeyCode == KEY_N) {

       // --- Display Message 
       alert("A página será direcionada para a área de Despesas - Natureza da despesa");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=3&item=2"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }

   if (intKeyCode == KEY_O) {

       // --- Display Message 
       alert("A página será direcionada para a área de Despesas - Fonte de recurso");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=3&item=6"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }

   if (intKeyCode == KEY_P) {

       // --- Display Message 
       alert("A página será direcionada para a área de Despesas - Esfera administrativa");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=3&item=5"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }

   

   

   if (intKeyCode == KEY_S) {

       // --- Display Message 
       alert("A página será direcionada para a área de Despesas - Movimentação diária");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=3&item=11"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }

     if (intKeyCode == KEY_PF9) {

         // --- Display Message 
         alert("A página será direcionada para a área de Despesas - Compras Diretas");
         window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=3&item=11"

         // --- Map the keyCode in another keyCode not used 
         winObj.keyCode = intKeyCode = REMAP_KEY_T;
         winObj.returnValue = false;
         return false;
     }


   if (intKeyCode == KEY_T) {

       // --- Display Message 
       alert("A página será direcionada para a área de Despesas - Exportar Dados/Planejamento e execução");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=10&item=4"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }

   if (intKeyCode == KEY_K) {

       // --- Display Message 
       alert("A página será direcionada para a área de Despesas - Exportar Dados/Empenhos");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=10&item=6"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }
   
   if (intKeyCode == KEY_Y) {

       // --- Display Message 
       alert("A página será direcionada para a área de Despesas - Empenhos a pagar");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=3&item=13"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }
   


   // -------------------------------------------------------------------------------------------------------------

   // - CREDORES
 }
 
 // AQUI COMEÇAM AS TECLAS DO CRTL
 if (intCtrlKey ) { 
   if (intKeyCode == KEY_0) {

       // --- Display Message 
       alert("A página será direcionada para a área de Credores - Credores");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=3&item=10"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }

   if (intKeyCode == KEY_Q) {

       // --- Display Message 
       alert("A página será direcionada para a área de Despesas - Diárias / passagens");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=3&item=15"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }

   

     // -------------------------------------------------------------------------------------------------------------

     // - ACESSO A INFORMAÇÃO 

   if (intKeyCode == KEY_8) {

       // --- Display Message 
       alert("A página será direcionada para a área de Acesso à Informação - Perguntas Frequentes");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=20&item=1"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }

   if (intKeyCode == KEY_9) {

       // --- Display Message 
       alert("A página será direcionada para a área de Acesso à Informação - Estrutura Organizacional");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=20&item=2"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }

   

   if (intKeyCode == KEY_X) {

       // --- Display Message 
       alert("A página será direcionada para a área de Despesas - Exportar Dados/Restos a pagar");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=10&item=7"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }

   

     // -------------------------------------------------------------------------------------------------------------

     // - TRANSFERÊNCIAS FINANCEIRAS

  /* if (intKeyCode == KEY_Y) {

       // --- Display Message 
       alert("A página será direcionada para a área de Transferências Financeiras - Transferências Financeiras");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=3&item=14"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }

   if (intKeyCode == KEY_Z) {

       // --- Display Message 
       alert("A página será direcionada para a área de Transferências Financeiras - Exportar Dados/Concessão");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=10&item=11"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }

   if (intKeyCode == KEY_5) {

       // --- Display Message 
       alert("A página será direcionada para a área de Transferências Financeiras - Exportar Dados/Recebimento");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=10&item=12"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   } */

   // -------------------------------------------------------------------------------------------------------------

   // - GESTÃO DE PESSOAS

   if (intKeyCode == KEY_1) {

       // --- Display Message 
       alert("A página será direcionada para a área de Gestão de Pessoas - Salários por Lotação/Cargos");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=4&item=1"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }

   if (intKeyCode == KEY_2) {

       // --- Display Message 
       alert("A página será direcionada para a área de Gestão de Pessoas - Quadro de Pessoal");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=4&item=2"
       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }

   if (intKeyCode == KEY_3) {

       // --- Display Message 
       alert("A página será direcionada para a área de Gestão de Pessoas - Servidores/Empregados Ativos");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=4&item=3"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }

   if (intKeyCode == KEY_4) {

       // --- Display Message 
       alert("A página será direcionada para a área de Gestão de Pessoas - Servidores Inativos");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=4&item=4"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }

   if (intKeyCode == KEY_5) {

       // --- Display Message 
       alert("A página será direcionada para a área de Gestão de Pessoas - Exportar Dados/Folha de pagamento");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=10&item=8"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }


   if (intKeyCode == KEY_6) {

       // --- Display Message 
       alert("A página será direcionada para a área de Gestão de Pessoas - Exportar Dados/Relação de servidores");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=10&item=9"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }

   if (intKeyCode == KEY_7) {

       // --- Display Message 
       alert("A página será direcionada para a área de Gestão de Pessoas - Exportar Dados/Quadro de Pessoal");
       window.location.href = meuprotocolo + "//" + meuHost + "/" + nomeAplicacaoDWS + "/index.asp?acao=10&item=10"

       // --- Map the keyCode in another keyCode not used 
       winObj.keyCode = intKeyCode = REMAP_KEY_T;
       winObj.returnValue = false;
       return false;
   }
 }  
} 

