Logo CEWEB.br Logo NIC.br Logo CGI.br
Home Sobre o projeto

Sites Verificados

Lista com todos os sítios que foram verificados pela TIC Web Acessibilidade. Dentro de cada domínio, há informações detalhadas sobre as páginas coletadas, bem como os erros e avisos de cada uma *.

Recomendações Avaliadas
2.1 Disponibilizar todas as funções da página via teclado.

Recomendações

Número Descrição Quantidade Linhas Código Fonte
2.1.2 Há funcionalidade que só funciona pelo mouse 8 425 425 432 432 456 456 769 769
2.1.8 Presença de eventos associados a elementos não interativos 3 95 95 541
425 <![CDATA[<input type="submit" name="evento" value="F7-Novo" onmouseover="try{animar(event , '2')}catch(e){}" onmouseout="try{animar(event , '')}catch(e){}" id="botao_menu">]]>
425 <![CDATA[<input type="submit" name="evento" value="F7-Novo" onmouseover="try{animar(event , '2')}catch(e){}" onmouseout="try{animar(event , '')}catch(e){}" id="botao_menu">]]>
432 <![CDATA[<input type="submit" name="evento" value="F10-Gravar" onclick="setBotaoAcao(getBotaoArray('GRAVAR'));" onmouseover="try{animar(event , '2')}catch(e){}" onmouseout="try{animar(event , '')}catch(e){}" id="botao_menu">]]>
432 <![CDATA[<input type="submit" name="evento" value="F10-Gravar" onclick="setBotaoAcao(getBotaoArray('GRAVAR'));" onmouseover="try{animar(event , '2')}catch(e){}" onmouseout="try{animar(event , '')}catch(e){}" id="botao_menu">]]>
456 <![CDATA[<input type="button" name="evento" value="F12-Imprimir" onclick="setBotaoAcao(getBotaoArray('IMPRIMIR'));chamarImpressao('/saps/plc/impressaoPlc.do;jsessionid=BD8CA7E8421DD107DC1BEDCD26D8CC29?evento=F12-Imprimir&indImp=N',document.title,'impressao');" onmouseover="try{animar(event , '2')}catch(e){}" onmouseout="try{animar(event , '')}catch(e){}" id="botao_menu">]]>
456 <![CDATA[<input type="button" name="evento" value="F12-Imprimir" onclick="setBotaoAcao(getBotaoArray('IMPRIMIR'));chamarImpressao('/saps/plc/impressaoPlc.do;jsessionid=BD8CA7E8421DD107DC1BEDCD26D8CC29?evento=F12-Imprimir&indImp=N',document.title,'impressao');" onmouseover="try{animar(event , '2')}catch(e){}" onmouseout="try{animar(event , '')}catch(e){}" id="botao_menu">]]>
769 <![CDATA[<input type="submit" name="evento" value="F10-Gravar" onclick="setBotaoAcao(getBotaoArray('GRAVAR'));" onmouseover="try{animar(event , '2')}catch(e){}" onmouseout="try{animar(event , '')}catch(e){}" id="botao_menu">]]>
769 <![CDATA[<input type="submit" name="evento" value="F10-Gravar" onclick="setBotaoAcao(getBotaoArray('GRAVAR'));" onmouseover="try{animar(event , '2')}catch(e){}" onmouseout="try{animar(event , '')}catch(e){}" id="botao_menu">]]>
95 <![CDATA[<body onload="iniciarPagina();" ONKEYDOWN="return executarAcaoFuncoes(event);" bgcolor="#ffffff" text="#000000" link="#023264" alink="#023264" vlink="#023264"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="2"> <!-- --> <style type="text/css"> #cabecalho td {font-family:Verdana, Arial; font-size:10px; color:white} .submenu{display: none;} td.msg_confirma{background:#D8E5ED;color:#144888;font:bold 11px Verdana} td.msg_erro{background:#FFDBDB;color:#AB3838;font:normal bold 11px Verdana;height:auto} td.msg_erro_ver{background:#89B39C;color:#FFFFFF;font:normal bold 11px Verdana;height:auto} td.msg_erro_am{background:#FFFEAF;color:#413A01;font:normal bold 11px Verdana;height:auto} </style> <div class="topo"> <table id="cabecalho" cellspacing="0" cellpadding="0" border="0" width="100%"> <tr> <td width="300" height="18" background="/saps/plc/css/ipsm/midia/microtop_top.jpg" style="padding-left:13px"> </td> <td background="/saps/plc/css/ipsm/midia/top_top.jpg" align="center">Gestão do Portal de Segurança</td> <td width="300" height="18" background="/saps/plc/css/ipsm/midia/microtop_top.jpg" align="right" style="padding-right:13px"> <a href="mailto: atendimento@prodemge.gov.br" style="color:#FFFFFF;">Suporte</a> | <a href="inicial.do?evento=cookie" style="color:#FFFFFF;">Principal</a> </td> </tr> </table> <table width="100%" cellspacing="0" border="0" cellpadding="0" style="margin-top:1px; margin-bottom:2px"> <tr> <td align="left" background="/saps/plc/css/ipsm/midia/micro_fundo.jpg" width="450"></td> <td align="center" background="/saps/plc/css/ipsm/midia/micro_fundo.jpg"> ; ; ; ;</td> <td align="right" width="1%"><img src="/saps/plc/css/ipsm/midia/micro_top.jpg"></td> </tr> </table> </div> </td> </tr> <tr> <td valign="top" width="19%"> <script type="text/javascript"> if (document.getElementById){ document.write('<style type="text/css">\n') document.write('.submenu{display: none;}\n') document.write('</style>\n') } function SwitchMenu(obj){ if(document.getElementById){ var el = document.getElementById(obj); var ar = document.getElementById("masterdiv").getElementsByTagName("span"); if(el.style.display != "block"){ for (var i=0; i<ar.length; i++){ if (ar[i].className=="submenu") ar[i].style.display = "none"; } el.style.display = "block"; }else{ el.style.display = "none"; } } } </script> <div id="masterdiv" style="margin-top:0px"> </span> </span> </span> </div> <p> ;</p> </td> <td valign="top" width="81%" style="padding-left: 5px;"> <form name="cadastrarbeneficiarioForm" method="post" action="/saps/cadastrarbeneficiarioman.do" enctype="text/html" onsubmit="return executarAcaoFuncoes(event)"><input type="hidden" name="org.apache.struts.taglib.html.TOKEN" value="f1d6352075cd76ab84cf392f334ca738"> <input type="hidden" name="modoPlc" value="inclusaoPlc"> <!-- Retornar se nao houver melhor forma de identificar portlets em uma mesma pagina --> <!-- html:hidden property="< %=PlcConstantes.PORTLET_KEY% >" /> --> <!-- Controle de submissao duplicada utilizando token da Struts --> <input type="hidden" name="detCorrPlc" value=""> <style> td.msg_confirma{background:#D8E5ED;color:#144888;font:bold 11px Verdana} td.msg_erro{background:#FFDBDB;color:#AB3838;font:normal bold 11px Verdana;height:auto} td.msg_erro_ver{background:#89B39C;color:#FFFFFF;font:normal bold 11px Verdana;height:auto} td.msg_erro_am{background:#FFFEAF;color:#413A01;font:normal bold 11px Verdana;height:auto} </style> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="tdTituloSecao">Cadastro de Beneficiário</td> </tr> </table> <!-- PARA MANTER ESPAÇAMENTO ENTRE OS BOTÕES COLOCAR TAG SCRIPT PARA REGISTRO DE BOTÕES--> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr><td> <table border="0" cellpadding="0" cellspacing="0" class="menu_acoes"> <tr><td> <input type="submit" name="evento" value="F7-Novo" onmouseover="try{animar(event , '2')}catch(e){}" onmouseout="try{animar(event , '')}catch(e){}" id="botao_menu"> <script> regBotaoEvento('F7-Novo','INCLUIR'); </script> <input type="submit" name="evento" value="F10-Gravar" onclick="setBotaoAcao(getBotaoArray('GRAVAR'));" onmouseover="try{animar(event , '2')}catch(e){}" onmouseout="try{animar(event , '')}catch(e){}" id="botao_menu"> <script> setBotaoAcaoEnter('F10-Gravar'); regBotaoEvento('F10-Gravar','GRAVAR'); </script> <input type="button" name="evento" value="F12-Imprimir" onclick="setBotaoAcao(getBotaoArray('IMPRIMIR'));chamarImpressao('/saps/plc/impressaoPlc.do;jsessionid=BD8CA7E8421DD107DC1BEDCD26D8CC29?evento=F12-Imprimir&indImp=N',document.title,'impressao');" onmouseover="try{animar(event , '2')}catch(e){}" onmouseout="try{animar(event , '')}catch(e){}" id="botao_menu"> <script> regBotaoEvento('F12-Imprimir','IMPRIMIR'); </script> </td> </tr> </table> <!-- JANELA DE AJUDA --> <style> div#ajuda{ width: 200px; background: #F8D1CB; border-bottom: 2px solid #DC3823; margin: 0; padding: 0 0 15px 0; z-index: 5; position: absolute; right: 10px; } div#ajuda h1{ position: relative; height: 30px; color: #FFF; margin: 0 0 5px 0; font: bold 18px/30px Tahoma, Arial, Verdana, sans-serif; padding: 0 5px 0 10px; background: #DC3823; border-bottom: 2px solid #FFF; } div#ajuda h1 span{ height: 20px; font: bold 11px/16px Verdana, Tahoma, Arial, sans-serif; padding: 0 5px 0 5px; position: absolute; cursor: pointer; right: 5px; top: 5px; color: #FFF; background: #CA230D; border-top: 1px solid #F04933; border-right: 1px solid #A41C0B; border-bottom: 1px solid #A41C0B; border-left: 1px solid #F04933; } div#ajuda h2{ height: 28px; font: bold 18px/28px Tahoma, Arial, Verdana, sans-serif; margin: 10px 5px 10px 20px; padding: 0 0 0 5px; color: #DC3823; background: #FFF; letter-spacing: 0px; } div#ajuda p{ font: 11px/14px Verdana, Tahoma, Arial, sans-serif; color: #DC3823; margin: 0 5px 10px 35px; } div#ajuda input{ height: 20px; font: bold 11px/15px Verdana, Tahoma, Arial, sans-serif; padding: 0; margin: 0 5px 0 35px; cursor: pointer; color: #FFF; background: #CA230D; border-top: 1px solid #F04933; border-right: 1px solid #A41C0B; border-bottom: 1px solid #A41C0B; border-left: 1px solid #F04933; } </style> <div id="ajuda" style="visibility: hidden"> <h1>Ajuda <span class="fechar" onclick="janelaAjuda(ajuda);">X</span></h1> </div> <!-- FIM JANELA DE AJUDA --> </td></tr></table> <!-- INI --> <table width="100%" class="delimitador" border="0" cellspacing="0" cellpadding="0"> <script> function Mascara(tipo, campo, teclaPress) { if (window.event) { var tecla = teclaPress.keyCode; } else { tecla = teclaPress.which; } var s = new String(campo.value); // Remove todos os caracteres à seguir: ( ) / - . e espaço, para tratar a string denovo. s = s.replace(/(\.|\(|\)|\/|\-| )+/g,''); tam = s.length + 1; if ( tecla != 9 && tecla != 8 ) { switch (tipo) { case 'CPF' : if (tam > 3 && tam < 7) campo.value = s.substr(0,3) + '.' + s.substr(3, tam); if (tam >= 7 && tam < 10) campo.value = s.substr(0,3) + '.' + s.substr(3,3) + '.' + s.substr(6,tam-6); if (tam >= 10 && tam < 12) campo.value = s.substr(0,3) + '.' + s.substr(3,3) + '.' + s.substr(6,3) + '-' + s.substr(9,tam-9); break; case 'INTEIRO' : campo.value = s; break; case 'CNPJ' : if (tam > 2 && tam < 6) campo.value = s.substr(0,2) + '.' + s.substr(2, tam); if (tam >= 6 && tam < 9) campo.value = s.substr(0,2) + '.' + s.substr(2,3) + '.' + s.substr(5,tam-5); if (tam >= 9 && tam < 13) campo.value = s.substr(0,2) + '.' + s.substr(2,3) + '.' + s.substr(5,3) + '/' + s.substr(8,tam-8); if (tam >= 13 && tam < 15) campo.value = s.substr(0,2) + '.' + s.substr(2,3) + '.' + s.substr(5,3) + '/' + s.substr(8,4)+ '-' + s.substr(12,tam-12); break; case 'TEL' : if (tam > 2 && tam < 4) campo.value = '(' + s.substr(0,2) + ') ' + s.substr(2,tam); if (tam >= 7 && tam < 11) campo.value = '(' + s.substr(0,2) + ') ' + s.substr(2,4) + '-' + s.substr(6,tam-6); break; case 'DATA' : if (tam > 2 && tam < 4) campo.value = s.substr(0,2) + '/' + s.substr(2, tam); if (tam > 4 && tam < 11) campo.value = s.substr(0,2) + '/' + s.substr(2,2) + '/' + s.substr(4,tam-4); break; case 'CEP' : if (tam > 5 && tam < 7) campo.value = s.substr(0,5) + '-' + s.substr(5, tam); break; case 'TEMPO_MILISEGUNDOS': var ret = ""; var val = campo.value.replace(/[^\d]+/gi,''); var mask = '#:##.###' for(var x=0,y=0, z=mask.length;x<z && y<val.length;){ if(mask.charAt(x)!='#'){ ret += mask.charAt(x); x++; } else{ ret += val.charAt(y); y++; x++; } } campo.value = ret; break; case 'MONETARIO' : var ret = ""; var val = campo.value.replace(/[^\d]+/gi,'').reverse(); var mask = '##.###' for(var x=0,y=0, z=mask.length;x<z && y<val.length;){ if(mask.charAt(x)!='#'){ ret += mask.charAt(x); x++; } else{ ret += val.charAt(y); y++; x++; } } campo.value = ret.reverse(); break; } } } //--->Função para verificar se o valor digitado é número...<--- function digitos(event){ if (window.event) { // IE key = event.keyCode; } else if ( event.which ) { // netscape key = event.which; } if ( key != 8 || key != 13 || key < 48 || key > 57 ) return ( ( ( key > 47 ) && ( key < 58 ) ) || ( key == 8 ) || ( key == 13 ) ); return true; } </script> <style> div.sucesso { font-family: Verdana; font-size: 11px; font-style: normal; font-weight: bold; height: 37px; vertical-align: middle; padding: 5px; margin-left: 5px; color: #144888; background: #D8E5ED; border: 2px solid #698AB3; } </style> <tr> <td class="titulo" >Número Beneficiário (Matrícula - 9 dígitos) </td> </tr> <tr> <td class="campo" > <input type="text" name="numeroBeneficiario" size="15" value="" class="texto_obrigatorio" title="Número Beneficiário"> </td> </tr> <tr> <td class="titulo" >CPF </td> </tr> <tr> <td class="campo" > <input type="text" name="cpf" size="15" value="" class="texto_obrigatorio" title="CPF"> </td> </tr> <tr> <td class="titulo" >Data Nascimento </td> </tr> <tr> </td> <td class="campo" > <input type="text" name="dataNascimento" size="15" value="" onkeydown="return validaCaracter(event, 'D');" onkeyup="Mascara('DATA',this,event);" onkeypress="return digitos(event, this);" class="texto_obrigatorio" title="Data Nascimento"> <a href="#" onclick="abrirCalendario('/saps/recursos/calendario.jsp','dataNascimento'); return false;"><span class="bt">...</span></a> </td> </tr> <tr> <td class="titulo"> Email </td> </tr> <tr> <td class="campo" > <input type="text" name="email" size="50" value="" class="texto_obrigatorio" title="Email"> </td> </tr> <br/> <tr><td class="campo"></td></tr> <tr> <td class="campo" > <input type="submit" name="evento" value="F10-Gravar" onclick="setBotaoAcao(getBotaoArray('GRAVAR'));" onmouseover="try{animar(event , '2')}catch(e){}" onmouseout="try{animar(event , '')}catch(e){}" id="botao_menu"> <script> setBotaoAcaoEnter('F10-Gravar'); regBotaoEvento('F10-Gravar','GRAVAR'); </script> </td> </tr> </table> <!-- FIM --> </form> </td> </tr> <tr> <td colspan="2"> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="padding-top: 5px;"> <tr> <td align="center" class="rodape" width="70%"><a href="http://www.prodemge.gov.br" target="_blank"><img src="/saps/plc/css/ipsm/midia/prodemge_assina.gif" style="padding-bottom: 1px;" border="0" title="Tecnologia Prodemge"></a><br> <br> </tr> </table> </td> </tr> </table> <div id="IDVisualInf" class="IDVisual"> <div class="int"> <div class="moduletable-endereco"> <strong>IPSM</strong><img src="/saps/plc/css/ipsm/midia/separador.gif" width="8" height="19"> Rua Paraíba, 576 - Funcionários - tel (31)3269-2000 - cep:30130-140 - BH - MG </div> <div class="moduletablecopy"> Todos os direitos reservados. <a href="#" target="_blank">Aspectos legais e responsabilidade</a> </div> </div> </div> </body>]]>
95 <![CDATA[<body onload="iniciarPagina();" ONKEYDOWN="return executarAcaoFuncoes(event);" bgcolor="#ffffff" text="#000000" link="#023264" alink="#023264" vlink="#023264"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="2"> <!-- --> <style type="text/css"> #cabecalho td {font-family:Verdana, Arial; font-size:10px; color:white} .submenu{display: none;} td.msg_confirma{background:#D8E5ED;color:#144888;font:bold 11px Verdana} td.msg_erro{background:#FFDBDB;color:#AB3838;font:normal bold 11px Verdana;height:auto} td.msg_erro_ver{background:#89B39C;color:#FFFFFF;font:normal bold 11px Verdana;height:auto} td.msg_erro_am{background:#FFFEAF;color:#413A01;font:normal bold 11px Verdana;height:auto} </style> <div class="topo"> <table id="cabecalho" cellspacing="0" cellpadding="0" border="0" width="100%"> <tr> <td width="300" height="18" background="/saps/plc/css/ipsm/midia/microtop_top.jpg" style="padding-left:13px"> </td> <td background="/saps/plc/css/ipsm/midia/top_top.jpg" align="center">Gestão do Portal de Segurança</td> <td width="300" height="18" background="/saps/plc/css/ipsm/midia/microtop_top.jpg" align="right" style="padding-right:13px"> <a href="mailto: atendimento@prodemge.gov.br" style="color:#FFFFFF;">Suporte</a> | <a href="inicial.do?evento=cookie" style="color:#FFFFFF;">Principal</a> </td> </tr> </table> <table width="100%" cellspacing="0" border="0" cellpadding="0" style="margin-top:1px; margin-bottom:2px"> <tr> <td align="left" background="/saps/plc/css/ipsm/midia/micro_fundo.jpg" width="450"></td> <td align="center" background="/saps/plc/css/ipsm/midia/micro_fundo.jpg"> ; ; ; ;</td> <td align="right" width="1%"><img src="/saps/plc/css/ipsm/midia/micro_top.jpg"></td> </tr> </table> </div> </td> </tr> <tr> <td valign="top" width="19%"> <script type="text/javascript"> if (document.getElementById){ document.write('<style type="text/css">\n') document.write('.submenu{display: none;}\n') document.write('</style>\n') } function SwitchMenu(obj){ if(document.getElementById){ var el = document.getElementById(obj); var ar = document.getElementById("masterdiv").getElementsByTagName("span"); if(el.style.display != "block"){ for (var i=0; i<ar.length; i++){ if (ar[i].className=="submenu") ar[i].style.display = "none"; } el.style.display = "block"; }else{ el.style.display = "none"; } } } </script> <div id="masterdiv" style="margin-top:0px"> </span> </span> </span> </div> <p> ;</p> </td> <td valign="top" width="81%" style="padding-left: 5px;"> <form name="cadastrarbeneficiarioForm" method="post" action="/saps/cadastrarbeneficiarioman.do" enctype="text/html" onsubmit="return executarAcaoFuncoes(event)"><input type="hidden" name="org.apache.struts.taglib.html.TOKEN" value="f1d6352075cd76ab84cf392f334ca738"> <input type="hidden" name="modoPlc" value="inclusaoPlc"> <!-- Retornar se nao houver melhor forma de identificar portlets em uma mesma pagina --> <!-- html:hidden property="< %=PlcConstantes.PORTLET_KEY% >" /> --> <!-- Controle de submissao duplicada utilizando token da Struts --> <input type="hidden" name="detCorrPlc" value=""> <style> td.msg_confirma{background:#D8E5ED;color:#144888;font:bold 11px Verdana} td.msg_erro{background:#FFDBDB;color:#AB3838;font:normal bold 11px Verdana;height:auto} td.msg_erro_ver{background:#89B39C;color:#FFFFFF;font:normal bold 11px Verdana;height:auto} td.msg_erro_am{background:#FFFEAF;color:#413A01;font:normal bold 11px Verdana;height:auto} </style> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="tdTituloSecao">Cadastro de Beneficiário</td> </tr> </table> <!-- PARA MANTER ESPAÇAMENTO ENTRE OS BOTÕES COLOCAR TAG SCRIPT PARA REGISTRO DE BOTÕES--> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr><td> <table border="0" cellpadding="0" cellspacing="0" class="menu_acoes"> <tr><td> <input type="submit" name="evento" value="F7-Novo" onmouseover="try{animar(event , '2')}catch(e){}" onmouseout="try{animar(event , '')}catch(e){}" id="botao_menu"> <script> regBotaoEvento('F7-Novo','INCLUIR'); </script> <input type="submit" name="evento" value="F10-Gravar" onclick="setBotaoAcao(getBotaoArray('GRAVAR'));" onmouseover="try{animar(event , '2')}catch(e){}" onmouseout="try{animar(event , '')}catch(e){}" id="botao_menu"> <script> setBotaoAcaoEnter('F10-Gravar'); regBotaoEvento('F10-Gravar','GRAVAR'); </script> <input type="button" name="evento" value="F12-Imprimir" onclick="setBotaoAcao(getBotaoArray('IMPRIMIR'));chamarImpressao('/saps/plc/impressaoPlc.do;jsessionid=BD8CA7E8421DD107DC1BEDCD26D8CC29?evento=F12-Imprimir&indImp=N',document.title,'impressao');" onmouseover="try{animar(event , '2')}catch(e){}" onmouseout="try{animar(event , '')}catch(e){}" id="botao_menu"> <script> regBotaoEvento('F12-Imprimir','IMPRIMIR'); </script> </td> </tr> </table> <!-- JANELA DE AJUDA --> <style> div#ajuda{ width: 200px; background: #F8D1CB; border-bottom: 2px solid #DC3823; margin: 0; padding: 0 0 15px 0; z-index: 5; position: absolute; right: 10px; } div#ajuda h1{ position: relative; height: 30px; color: #FFF; margin: 0 0 5px 0; font: bold 18px/30px Tahoma, Arial, Verdana, sans-serif; padding: 0 5px 0 10px; background: #DC3823; border-bottom: 2px solid #FFF; } div#ajuda h1 span{ height: 20px; font: bold 11px/16px Verdana, Tahoma, Arial, sans-serif; padding: 0 5px 0 5px; position: absolute; cursor: pointer; right: 5px; top: 5px; color: #FFF; background: #CA230D; border-top: 1px solid #F04933; border-right: 1px solid #A41C0B; border-bottom: 1px solid #A41C0B; border-left: 1px solid #F04933; } div#ajuda h2{ height: 28px; font: bold 18px/28px Tahoma, Arial, Verdana, sans-serif; margin: 10px 5px 10px 20px; padding: 0 0 0 5px; color: #DC3823; background: #FFF; letter-spacing: 0px; } div#ajuda p{ font: 11px/14px Verdana, Tahoma, Arial, sans-serif; color: #DC3823; margin: 0 5px 10px 35px; } div#ajuda input{ height: 20px; font: bold 11px/15px Verdana, Tahoma, Arial, sans-serif; padding: 0; margin: 0 5px 0 35px; cursor: pointer; color: #FFF; background: #CA230D; border-top: 1px solid #F04933; border-right: 1px solid #A41C0B; border-bottom: 1px solid #A41C0B; border-left: 1px solid #F04933; } </style> <div id="ajuda" style="visibility: hidden"> <h1>Ajuda <span class="fechar" onclick="janelaAjuda(ajuda);">X</span></h1> </div> <!-- FIM JANELA DE AJUDA --> </td></tr></table> <!-- INI --> <table width="100%" class="delimitador" border="0" cellspacing="0" cellpadding="0"> <script> function Mascara(tipo, campo, teclaPress) { if (window.event) { var tecla = teclaPress.keyCode; } else { tecla = teclaPress.which; } var s = new String(campo.value); // Remove todos os caracteres à seguir: ( ) / - . e espaço, para tratar a string denovo. s = s.replace(/(\.|\(|\)|\/|\-| )+/g,''); tam = s.length + 1; if ( tecla != 9 && tecla != 8 ) { switch (tipo) { case 'CPF' : if (tam > 3 && tam < 7) campo.value = s.substr(0,3) + '.' + s.substr(3, tam); if (tam >= 7 && tam < 10) campo.value = s.substr(0,3) + '.' + s.substr(3,3) + '.' + s.substr(6,tam-6); if (tam >= 10 && tam < 12) campo.value = s.substr(0,3) + '.' + s.substr(3,3) + '.' + s.substr(6,3) + '-' + s.substr(9,tam-9); break; case 'INTEIRO' : campo.value = s; break; case 'CNPJ' : if (tam > 2 && tam < 6) campo.value = s.substr(0,2) + '.' + s.substr(2, tam); if (tam >= 6 && tam < 9) campo.value = s.substr(0,2) + '.' + s.substr(2,3) + '.' + s.substr(5,tam-5); if (tam >= 9 && tam < 13) campo.value = s.substr(0,2) + '.' + s.substr(2,3) + '.' + s.substr(5,3) + '/' + s.substr(8,tam-8); if (tam >= 13 && tam < 15) campo.value = s.substr(0,2) + '.' + s.substr(2,3) + '.' + s.substr(5,3) + '/' + s.substr(8,4)+ '-' + s.substr(12,tam-12); break; case 'TEL' : if (tam > 2 && tam < 4) campo.value = '(' + s.substr(0,2) + ') ' + s.substr(2,tam); if (tam >= 7 && tam < 11) campo.value = '(' + s.substr(0,2) + ') ' + s.substr(2,4) + '-' + s.substr(6,tam-6); break; case 'DATA' : if (tam > 2 && tam < 4) campo.value = s.substr(0,2) + '/' + s.substr(2, tam); if (tam > 4 && tam < 11) campo.value = s.substr(0,2) + '/' + s.substr(2,2) + '/' + s.substr(4,tam-4); break; case 'CEP' : if (tam > 5 && tam < 7) campo.value = s.substr(0,5) + '-' + s.substr(5, tam); break; case 'TEMPO_MILISEGUNDOS': var ret = ""; var val = campo.value.replace(/[^\d]+/gi,''); var mask = '#:##.###' for(var x=0,y=0, z=mask.length;x<z && y<val.length;){ if(mask.charAt(x)!='#'){ ret += mask.charAt(x); x++; } else{ ret += val.charAt(y); y++; x++; } } campo.value = ret; break; case 'MONETARIO' : var ret = ""; var val = campo.value.replace(/[^\d]+/gi,'').reverse(); var mask = '##.###' for(var x=0,y=0, z=mask.length;x<z && y<val.length;){ if(mask.charAt(x)!='#'){ ret += mask.charAt(x); x++; } else{ ret += val.charAt(y); y++; x++; } } campo.value = ret.reverse(); break; } } } //--->Função para verificar se o valor digitado é número...<--- function digitos(event){ if (window.event) { // IE key = event.keyCode; } else if ( event.which ) { // netscape key = event.which; } if ( key != 8 || key != 13 || key < 48 || key > 57 ) return ( ( ( key > 47 ) && ( key < 58 ) ) || ( key == 8 ) || ( key == 13 ) ); return true; } </script> <style> div.sucesso { font-family: Verdana; font-size: 11px; font-style: normal; font-weight: bold; height: 37px; vertical-align: middle; padding: 5px; margin-left: 5px; color: #144888; background: #D8E5ED; border: 2px solid #698AB3; } </style> <tr> <td class="titulo" >Número Beneficiário (Matrícula - 9 dígitos) </td> </tr> <tr> <td class="campo" > <input type="text" name="numeroBeneficiario" size="15" value="" class="texto_obrigatorio" title="Número Beneficiário"> </td> </tr> <tr> <td class="titulo" >CPF </td> </tr> <tr> <td class="campo" > <input type="text" name="cpf" size="15" value="" class="texto_obrigatorio" title="CPF"> </td> </tr> <tr> <td class="titulo" >Data Nascimento </td> </tr> <tr> </td> <td class="campo" > <input type="text" name="dataNascimento" size="15" value="" onkeydown="return validaCaracter(event, 'D');" onkeyup="Mascara('DATA',this,event);" onkeypress="return digitos(event, this);" class="texto_obrigatorio" title="Data Nascimento"> <a href="#" onclick="abrirCalendario('/saps/recursos/calendario.jsp','dataNascimento'); return false;"><span class="bt">...</span></a> </td> </tr> <tr> <td class="titulo"> Email </td> </tr> <tr> <td class="campo" > <input type="text" name="email" size="50" value="" class="texto_obrigatorio" title="Email"> </td> </tr> <br/> <tr><td class="campo"></td></tr> <tr> <td class="campo" > <input type="submit" name="evento" value="F10-Gravar" onclick="setBotaoAcao(getBotaoArray('GRAVAR'));" onmouseover="try{animar(event , '2')}catch(e){}" onmouseout="try{animar(event , '')}catch(e){}" id="botao_menu"> <script> setBotaoAcaoEnter('F10-Gravar'); regBotaoEvento('F10-Gravar','GRAVAR'); </script> </td> </tr> </table> <!-- FIM --> </form> </td> </tr> <tr> <td colspan="2"> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="padding-top: 5px;"> <tr> <td align="center" class="rodape" width="70%"><a href="http://www.prodemge.gov.br" target="_blank"><img src="/saps/plc/css/ipsm/midia/prodemge_assina.gif" style="padding-bottom: 1px;" border="0" title="Tecnologia Prodemge"></a><br> <br> </tr> </table> </td> </tr> </table> <div id="IDVisualInf" class="IDVisual"> <div class="int"> <div class="moduletable-endereco"> <strong>IPSM</strong><img src="/saps/plc/css/ipsm/midia/separador.gif" width="8" height="19"> Rua Paraíba, 576 - Funcionários - tel (31)3269-2000 - cep:30130-140 - BH - MG </div> <div class="moduletablecopy"> Todos os direitos reservados. <a href="#" target="_blank">Aspectos legais e responsabilidade</a> </div> </div> </div> </body>]]>
541 <![CDATA[<span class="fechar" onclick="janelaAjuda(ajuda);">X</span>]]>