https://www.concursosfcc.com.br/concursos/publicWeb2/modelo/3/barraPesquisaTopo/barraPesquisaTopo.js
1var flImagem = "0"; 2var selecionar = ""; 3 4function barraPesquisaTopo(pImagem,pSelecionar){ 5 flImagem = pImagem; 6 selecionar = pSelecionar; 7 //window.onload = criarBarraPesquisa 8 criarBarraPesquisa(); 9 criarAceiteTermo(); 10} 11 12function download() { 13 window.open("/intranet/resource/sex/solicitacao/download?"); 14} 15 16function aceitar() { 17 18 document.cookie = "termoAceite=aceite"; 19 20// sessionStorage.setItem("data_aceite_termo", Date()); 21 document.getElementById("termo").style.display = "none"; 22// document.getElementById("tAceite").value = sessionStorage.getItem("data_aceite_termo"); 23 24} 25 26function getCookie(cname) { 27 var name = cname + "="; 28 var decodedCookie = decodeURIComponent(document.cookie); 29 var ca = decodedCookie.split(';'); 30 for(var i = 0; i <ca.length; i++) { 31 var c = ca[i]; 32 while (c.charAt(0) == ' ') { 33 c = c.substring(1); 34 } 35 if (c.indexOf(name) == 0) { 36 return c.substring(name.length, c.length); 37 } 38 } 39 return ""; 40} 41 42function criarAceiteTermo(){ 43 44 var coockie= getCookie('termoAceite'); 45 46 if(coockie == ""){ 47 48 var tAceite = '<div class="termo" id="termo">' 49 +'<p>Este site usa cookies e outras tecnologias semelhantes para melhorar sua experiência de acordo com nossa <a target="_blank" href="https://www.concursosfcc.com.br/rybena/web/index.html?file=https://www.concursosfcc.com.br/concursos/termos/Politica_de_Privacidade.pdf">Política de Privacidade</a> </p>' 50 +'<p>Ao continuar navegando você concorda com essas condições.</p>' 51 +'<div id="botoes" style="margin:25px auto;" >' 52 +'<div class="botaoVermelho" >' 53 +'<input type="submit" name="Aceitar" value="continuar" class="botao" onclick="aceitar();"></input>' 54 +'</div>' 55 +'</div>' 56 +'</div>' 57 58 document.getElementById('topo').insertAdjacentHTML('beforebegin',tAceite); 59 } 60} 61 62function criarBarraPesquisa() { 63var topo = '<div id="barraPesquisa">' + 64 '<div id="barraPesquisaConteudo"><div id="barraPesquisaImg"><a href="http://www.fcc.org.br"><img id="simbolo" src="/concursos/publicWeb2/modelo/3/imagem/simbolo.png" alt="simbolo" /></a></div>' + 65 66 '</div>' + 67 '</div>' + 68 '<form action="#" name="frmCouteudoEspecial" method="post" target="conteudoEspecial"></form>' 69 document.getElementById("barraPesquisaTopo").innerHTML = topo; 70 71 if(flImagem == "0" ) { 72 document.getElementById("simbolo").style.visibility = "hidden"; 73 } 74} 75 76function trocarConteudoEspecial(obj){ 77 if(obj.value.length>0){ 78 document.frmCouteudoEspecial.action=obj.value; 79 document.frmCouteudoEspecial.submit(); 80 } 81} 82 83 84
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.