156
| <![CDATA[<script type="text/javascript"> var loadedobjects=""; var rootdomain=""; function rd(url, containerid){ var page_request = false;if (window.XMLHttpRequest) page_request = new XMLHttpRequest(); else if (window.ActiveXObject){ try { page_request = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e){ try{ page_request = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e){} } } else return false; page_request.onreadystatechange=function(){ loadpage(page_request, containerid); }; page_request.open("GET", url, true); page_request.send(null); } function loadpage(page_request, containerid){ if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1)) document.getElementById(containerid).innerHTML=page_request.responseText; } function loadobjs(){ if (!document.getElementById) return null; for (i=0; i<arguments.length; i++){ var file=arguments[i]; var fileref=""; if (loadedobjects.indexOf(file)==-1){ if (file.indexOf(".js")!=-1){ fileref=document.createElement('script'); fileref.setAttribute("type","text/javascript"); fileref.setAttribute("src", file); } else if (file.indexOf(".css")!=-1){ fileref=document.createElement("link"); fileref.setAttribute("rel", "stylesheet"); fileref.setAttribute("type", "text/css"); fileref.setAttribute("href", file); } } if (fileref!=""){ document.getElementsByTagName("head").item(0).appendChild(fileref); loadedobjects+=file+" "; } } } </script>]]>
|
195
| <![CDATA[<script>
function setdownloadrequest(numero) {
document.getElementById("rddcontent").innerHTML = '<br><br><br><img border="0" src="loading.gif"><br><br><br><b>Aguarde</b><br><br><br>Carregando o download...';
setTimeout(function(){ rd("aut.php?noheader=1&autload="+numero,"rddcontent"); },2000);
}
</script>]]>
|
237
| <![CDATA[<script>function gasearch() {
$('#pesquisarpor').val($('#pesquisarportext').val());
if($("#pesquisarpor").val() == "") {
$("#limparpesquisa").show();
$("#publicacaosearch").hide();
$(".publicacaobase").show();
$(".publicacaobase2").show();
} else {
$("#limparpesquisa").hide();
$(".publicacaobase").hide(); $(".publicacaobase2").hide();
var pubsearch = $("#pesquisarpor").val();
$( ".thispubkeywords:contains('"+ pubsearch.toLowerCase() +"')" ).parent().show();
$("#publicacaosearchfor").html( pubsearch );
$("#publicacaosearch").fadeIn();
} }
</script>]]>
|
253
| <![CDATA[<script>
function gagosearch(pagina="1") {
window.open("/aut.php?autlist=1&ocultacat=1&limit="+$("#oplimite").val()+"&pg="+pagina+"&search="+$("#pesquisarportext").val()+"&ano="+$("#opano").val()+"&categoria="+$("#opcategoria").val()+"&situacao="+$("#opsituacao").val(), "_top");
}
function gagosearchcat(categoria) {
$("#opcategoria").val(categoria); gagosearch();
}
function cleargosearch() {
window.open("/aut.php?autlist=1&ocultacat=1&limit="+$("#oplimite").val()+"&clear=1", "_top");
}
</script>]]>
|
289
| <![CDATA[<script>var categopen = false;
function runScript(e) {
if (e.keyCode == 13) {
gagosearch();
}
}
function switchcatview() {
if(categopen) { categopen = false;
$("#partedobotaocategorias").html('> <font style="color:silver;font-size:10px;">Exibir categorias</font>');
$("#LISTACATEGORIAS").hide();
$("#BARRAPESQUISA").attr("style","width:98%;margin:auto;");
$("#LISTAPUBLICACOES").attr("style","width:98%;margin:auto;"); }
else { categopen = true;
$("#partedobotaocategorias").html('< <font style="color:silver;font-size:10px;">Ocultar categorias</font>');
$("#LISTACATEGORIAS").fadeIn();
$("#BARRAPESQUISA").attr("style","");
$("#LISTAPUBLICACOES").attr("style",""); } } </script>]]>
|
311
| <![CDATA[<script type="text/javascript"> function pushexpcid(qual) {
if($('#ecid'+qual).html() == '+') { $('#ecid'+qual).html('-'); $('#restocid'+qual).fadeIn(); }
else { $('#ecid'+qual).html('+'); $('#restocid'+qual).hide(); } } </script>]]>
|
678
| <![CDATA[<script>
$("#showmenu").click(function(e){
e.preventDefault();
$("#menu").toggleClass("show");
$("#principal").toggleClass("principalativo");
});
$("#menu a").click(function(event){
if($(this).next('ul').length){
event.preventDefault();
$(this).next().toggle('fast');
$(this).children('i:last-child').toggleClass('fa-caret-down fa-caret-left');
}
});
</script>]]>
|