147
| <![CDATA[<div style="margin: 0 auto; text-align: center;">
<a href="javascript:display('form2','block', 'form','none');limpar(document.getElementById('fm2'));mudaFoco('usuInt','usuExter');" id="usuInt" style="font-weight:bold;text-decoration:none" >Usuário Externo</a> |
<a href="javascript:display('form','block', 'form2','none');limpar(document.getElementById('fm1'));mudaFoco('usuExter','usuInt');" id="usuExter">Usuário Interno</a>
<br />
<br />
</div>]]>
|
148
| <![CDATA[<a href="javascript:display('form2','block', 'form','none');limpar(document.getElementById('fm2'));mudaFoco('usuInt','usuExter');" id="usuInt" style="font-weight:bold;text-decoration:none" >Usuário Externo</a>]]>
|
156
| <![CDATA[<div id="form" style="display: none;">
<form id="fm1" class="form" action="/anp-cas-web/login;jsessionid=Ykt-TpHap1spULsyQGS2NQC2?service=http%3A%2F%2Fapp.anp.gov.br%2Fanp-sfp-web%2Fj_spring_cas_security_check%3Bjsessionid%3Dcka9H-ub6jxAppzshrB8vLk6&aplicativo=SFP" method="post">
<div id="under_menu">
<input type="hidden" name="desafio" value="r835joe2e9xzzneir35out93f2op8l062yh45"/>
<input type="hidden" name="envelope" />
<fieldset>
<label>
<em>*</em> <span>Usuário</span>
<input id="username" name="username" class="form-text" tabindex="1" accesskey="U" type="text" value="" autocomplete="true"/>
</label>
<label>
<em>*</em> Senha
<input id="password" name="password" class="form-text" tabindex="2" accesskey="S" type="password" value="" autocomplete="off"/>
</label>
<label>
<em>*</em> Informe a imagem abaixo
<input id="captcha" name="captcha" class="form-text" tabindex="3" accesskey="I" type="text" value="" autocomplete="true"/>
<img id="jcaptcha_image1" src="/anp-cas-web/captcha.htm" width="100%"/>
<a style="display:block;" href="javascript:trocarImagemCaptcha(1);" class="swap_image" title="Trocar imagem">Trocar imagem</a>
</label>
</fieldset>
<div class="bts_form">
<input type="submit" class="form-button" value="Login" tabindex="4" />
<input style="width: 60px;" type="button" class="form-button" value="Limpar" tabindex="5" onclick="limpar(this.form);" />
</div>
<input type="hidden" name="form" value="true" />
<input type="hidden" name="cnpj" value="false" />
<input type="hidden" name="lt" value="_c322588C6-91ED-5C5E-D57F-24ABEFC85B5D_k89E5E26C-D596-011C-6035-A31F27DB5F76" />
<input type="hidden" name="_eventId" value="submit" />
</div>
</form>
</div>]]>
|
177
| <![CDATA[<a style="display:block;" href="javascript:trocarImagemCaptcha(1);" class="swap_image" title="Trocar imagem">Trocar imagem</a>]]>
|
187
| <![CDATA[<input style="width: 60px;" type="button" class="form-button" value="Limpar" tabindex="5" onclick="limpar(this.form);" />]]>
|
221
| <![CDATA[<a style="display:block;" href="javascript:trocarImagemCaptcha(2);" class="swap_image" title="Trocar imagem">Trocar imagem</a>]]>
|
231
| <![CDATA[<input style="width: 60px;" type="button" class="form-button" value="Limpar" tabindex="6" onclick="limpar(this.form);" />]]>
|
139
| <![CDATA[<a onclick="aumentaZoom()" title="Aumentar o tamanho da letra" href="#">A+</a>]]>
|
139
| <![CDATA[<a onclick="diminuiZoom()" title="Diminuir o tamanho da letra" href="#">A-</a>]]>
|
139
| <![CDATA[<a onclick="alterarZoom(1)" title="Tamanho original das letras" href="#">AA</a>]]>
|
187
| <![CDATA[<input style="width: 60px;" type="button" class="form-button" value="Limpar" tabindex="5" onclick="limpar(this.form);" />]]>
|
231
| <![CDATA[<input style="width: 60px;" type="button" class="form-button" value="Limpar" tabindex="6" onclick="limpar(this.form);" />]]>
|
20
| <![CDATA[<script>var contexto = '/anp-cas-web';</script>]]>
|
31
| <![CDATA[<script>
//msg-sessaoExpirou (Não remover. Indica o evento sessão iniciou/expirou.)
var certificacao = window.CertificaoDigital;
certificacao.setAutoInstalar(false);
function inicializar() {
try {
var nome = document.getElementById('username');
if (nome.value == "") {
nome.focus();
} else {
document.getElementById('password').focus();
}
} catch(e) {}
}
function limpar(form) {
var elementoFocus = null;
for(var i = 0; i < form.elements.length; i++){
var elemento = form.elements[i];
if((elemento.type == "text") || (elemento.type == "textarea") || (elemento.type == "password")){
elemento.value="";
(elementoFocus == null) && (elementoFocus=elemento);
} else if (elemento.type == "select-one"){
elemento.options.selectedIndex="";
(elementoFocus == null) && (elementoFocus=elemento);
} else if((elemento.type == "checkbox")||(elemento.type == "radio")){
elemento.checked = false;
(elementoFocus == null) && (elementoFocus=elemento);
}
}
elementoFocus.focus();
}
function display(id, estado, id2, estado2) {
document.getElementById(id).style.display=estado;
document.getElementById(id2).style.display=estado2;
}
function trocarImagemCaptcha(num) {
var path = 'captcha.htm?refresh=true&r=' + parseInt(Math.random() * 10000);
document.getElementById('jcaptcha_image1').src = path;
document.getElementById('jcaptcha_image2').src = path;
}
jQuery(
function($) {
$('#username2').setMask('cpf');
$('#cnpj').setMask('cnpj');
}
);
function mudaFoco(id,id2){
document.getElementById(id).style.fontWeight='bold';
document.getElementById(id).style.textDecoration='none';
document.getElementById(id2).style.fontWeight='normal';
document.getElementById(id2).style.textDecoration='underline';
}
function logarCertificado(form) {
if (certificacao.isAtiva()) {
Politec.liberar();
var desafio = form["desafio"].value;
var envelopeHexa = certificacao.assinarParaAutenticacao(desafio);
if (envelopeHexa) {
form["envelope"].value = envelopeHexa;
form["_eventId"].value = "submeterCertificado";
form.submit();
}
} else {
Politec.aguardar();
certificacao.instalar();
window.setTimeout(function() {logarCertificado(form);}, 500);
}
}
</script>]]>
|
0
| Não há código fonte a ser exibido.
|