3
| <![CDATA[<script type="text/javascript">if(window.PrimeFaces){}</script>]]>
|
136
| <![CDATA[<script type="text/javascript">
//-------------------------------------
var corInvertida = false;
function handleDialogRequest(xhr, status, args, dialog) {
if (args.notValid || args.validationFailed)
return;
dialog.hide();
}
function handleDialogOpenRequest(xhr, status, args, dialog) {
if (args.notValid || args.validationFailed)
return;
dialog.show();
}
function inverterCores() {
if (corInvertida) {
$("body").css("background", "#EEE !important");
$("body").css("-webkit-background-color", "#EEE !important");
$("body").css("-moz-background-color", "#EEE !important");
$("body").css("-ms-background-color", "#EEE !important");
$("body").css("-o-background-color", "#EEE !important");
$("body").css("background-color", "#EEE !important");
$("html").css("-webkit-filter", "none");
$("html").css("-moz-filter", "none");
$("html").css("-ms-filter", "none");
$("html").css("-o-filter", "none");
$("html").css("filter", "none");
$("#mainContent").css("-webkit-filter", "none");
$("#mainContent").css("-moz-filter", "none");
$("#mainContent").css("-ms-filter", "none");
$("#mainContent").css("-o-filter", "none");
$("#mainContent").css("filter", "none");
corInvertida = false;
} else {
$("body").css("background", "#222 !important");
$("body").css("-webkit-background-color", "#222 !important");
$("body").css("-moz-background-color", "#222 !important");
$("body").css("-ms-background-color", "#222 !important");
$("body").css("-o-background-color", "#222 !important");
$("body").css("background-color", "#222 !important");
$("html")
.css("-webkit-filter",
"invert(0%) contrast(110%) saturate(100%) brightness(100%)");
$("html")
.css("-moz-filter",
"invert(0%) contrast(110%) saturate(100%) brightness(100%)");
$("html")
.css("-ms-filter",
"invert(0%) contrast(110%) saturate(100%) brightness(100%)");
$("html")
.css("-o-filter",
"invert(0%) contrast(110%) saturate(100%) brightness(100%)");
$("html")
.css("filter",
"invert(0%) contrast(110%) saturate(100%) brightness(100%)");
$("#mainContent")
.css("-webkit-filter",
"invert(100%) contrast(110%) saturate(10%) brightness(200%)");
$("#mainContent")
.css("-moz-filter",
"invert(100%) contrast(110%) saturate(10%) brightness(200%)");
$("#mainContent")
.css("-ms-filter",
"invert(100%) contrast(110%) saturate(10%) brightness(200%)");
$("#mainContent")
.css("-o-filter",
"invert(100%) contrast(110%) saturate(10%) brightness(200%)");
$("#mainContent")
.css("filter",
"invert(100%) contrast(110%) saturate(10%) brightness(200%)");
corInvertida = true;
}
}
function ajustarFonte(tipo) {
var content = document.getElementById('container');
var valorAtual = 100;
var ajuste = 10;
if (content == null)
return;
if (content.style.fontSize == "") {
content.style.fontSize = "100%";
}
if (content.style.fontSize != "") {
valorAtual = parseInt(content.style.fontSize.replace("%", ""));
}
if (tipo == 'aumentar') {
content.style.fontSize = (valorAtual + ajuste) + "%";
} else if (tipo == 'diminuir') {
content.style.fontSize = (valorAtual - ajuste) + "%";
} else {
content.style.fontSize = "100%";
}
}
// --------------------------------
var alturaDataTableFechado = null;
function rolagemParaItemSelecionado(formId, dataTableId, isBusca, formId2, dataTableId2) {
var numLinhas = $('#' + formId + '\\:hiddenLinhasExibidas').val();
var linhaSelecionada = $('#' + formId + '\\:hiddenLinhaSelecionada').val();
var alturaDataTable = $('#' + formId + '\\:' + dataTableId ).height();
if (alturaDataTableFechado == null)
alturaDataTableFechado = alturaDataTable;
var alturaDataTable2 = 0;
if (dataTableId2 != ''){
alturaDataTable2 = $('#' + formId2 + '\\:' + dataTableId2 ).height();
alturaDataTable2 += 100;
} else if (formId2 != ''){
alturaDataTable2 = $('#' + formId2).height();
alturaDataTable2 += 100;
}
var alturaPorLinha = parseInt(alturaDataTableFechado) / parseInt(numLinhas);
// 110 = altura em pixels da barra do topo (TCE)
// 42 = altura em pixels do menu
var posicaoRolagem = Math.round( parseInt(linhaSelecionada) * alturaPorLinha ) + 110 + 42 + alturaDataTable2;
if (isBusca)
posicaoRolagem += 350;
//alert(numLinhas+"\n"+linhaSelecionada+"\n"+alturaDataTable+"\n"+alturaDataTableFechado+"\n"+posicaoRolagem);
$('html, body').animate({scrollTop: posicaoRolagem}, 1000);
}
function atualizaNumeroDownloads(accordionId, numeroLinha){
var numDownloads = document.getElementById(accordionId + ":" + numeroLinha + ':numeroDownloads');
numDownloads.innerHTML = parseInt(numDownloads.innerHTML) + 1;
};
// --------------------------------
</script>]]>
|
372
| <![CDATA[<script id="j_idt12_s" type="text/javascript">$(function(){PrimeFaces.cw("AjaxStatus","widget_j_idt12",{id:"j_idt12",start:function(){PF('statusDialog').show();},success:function(){PF('statusDialog').hide();}});});</script>]]>
|
372
| <![CDATA[<script id="j_idt13_s" type="text/javascript">$(function(){PrimeFaces.cw("Dialog","statusDialog",{id:"j_idt13",draggable:false,resizable:false,modal:true});});</script>]]>
|
403
| <![CDATA[<script id="searchForm:buscarInputText_s" type="text/javascript">PrimeFaces.cw("InputText","widget_searchForm_buscarInputText",{id:"searchForm:buscarInputText"});</script>]]>
|
403
| <![CDATA[<script id="searchForm:j_idt21_s" type="text/javascript">$(function(){PrimeFaces.cw("Watermark","widget_searchForm_j_idt21",{id:"searchForm:j_idt21",value:"Buscar por objeto",target:"searchForm:buscarInputText"},"watermark");});</script>]]>
|
403
| <![CDATA[<script id="searchForm:j_idt23_s" type="text/javascript">PrimeFaces.cw("CommandButton","widget_searchForm_j_idt23",{id:"searchForm:j_idt23"});</script>]]>
|
415
| <![CDATA[<script id="j_idt25:j_idt27_s" type="text/javascript">PrimeFaces.cw("Menubar","widget_j_idt25_j_idt27",{id:"j_idt25:j_idt27",autoDisplay:true});</script>]]>
|
429
| <![CDATA[<script id="formMural:entidade_s" type="text/javascript">$(function(){PrimeFaces.cw("SelectOneMenu","widget_formMural_entidade",{id:"formMural:entidade",filter:true,filterMatchMode:"contains"});});</script>]]>
|
432
| <![CDATA[<script id="formMural:ano_s" type="text/javascript">$(function(){PrimeFaces.cw("SelectOneMenu","widget_formMural_ano",{id:"formMural:ano"});});</script>]]>
|
435
| <![CDATA[<script id="formMural:j_idt52_s" type="text/javascript">PrimeFaces.cw("CommandButton","widget_formMural_j_idt52",{id:"formMural:j_idt52"});</script>]]>
|
441
| <![CDATA[<script id="formMural:j_idt54_s" type="text/javascript">PrimeFaces.cw("CommandButton","widget_formMural_j_idt54",{id:"formMural:j_idt54"});</script>]]>
|
473
| <![CDATA[<script id="formMural:j_idt80_s" type="text/javascript">PrimeFaces.cw("CommandButton","widget_formMural_j_idt80",{id:"formMural:j_idt80"});</script>]]>
|
504
| <![CDATA[<script id="formMural:j_idt106_s" type="text/javascript">PrimeFaces.cw("CommandButton","widget_formMural_j_idt106",{id:"formMural:j_idt106"});</script>]]>
|
535
| <![CDATA[<script id="formMural:j_idt132_s" type="text/javascript">PrimeFaces.cw("CommandButton","widget_formMural_j_idt132",{id:"formMural:j_idt132"});</script>]]>
|
566
| <![CDATA[<script id="formMural:j_idt158_s" type="text/javascript">PrimeFaces.cw("CommandButton","widget_formMural_j_idt158",{id:"formMural:j_idt158"});</script>]]>
|
597
| <![CDATA[<script id="formMural:j_idt184_s" type="text/javascript">PrimeFaces.cw("CommandButton","widget_formMural_j_idt184",{id:"formMural:j_idt184"});</script>]]>
|
631
| <![CDATA[<script id="formMural:j_idt210_s" type="text/javascript">PrimeFaces.cw("CommandButton","widget_formMural_j_idt210",{id:"formMural:j_idt210"});</script>]]>
|
639
| <![CDATA[<script id="formMural:j_idt220_s" type="text/javascript">PrimeFaces.cw("CommandButton","widget_formMural_j_idt220",{id:"formMural:j_idt220"});</script>]]>
|
647
| <![CDATA[<script id="formMural:j_idt230_s" type="text/javascript">PrimeFaces.cw("CommandButton","widget_formMural_j_idt230",{id:"formMural:j_idt230"});</script>]]>
|
655
| <![CDATA[<script id="formMural:j_idt240_s" type="text/javascript">PrimeFaces.cw("CommandButton","widget_formMural_j_idt240",{id:"formMural:j_idt240"});</script>]]>
|
665
| <![CDATA[<script id="j_idt39_s" type="text/javascript">PrimeFaces.cw("Fieldset","widget_j_idt39",{id:"j_idt39"});</script>]]>
|
665
| <![CDATA[<script id="panelMural_s" type="text/javascript">PrimeFaces.cw("Panel","widget_panelMural",{id:"panelMural"});</script>]]>
|
668
| <![CDATA[<script type="text/javascript">updateFacetAccordion = function() {PrimeFaces.ab({s:"processosFormId:j_idt250",f:"processosFormId",u:"processosFormId:processosTableId:accordionProcessos",pa:arguments[0]});}</script>]]>
|
740
| <![CDATA[<script id="processosFormId:processosTableId:accordionProcessos_s" type="text/javascript">PrimeFaces.cw("AccordionPanel","widget_processosFormId_processosTableId_accordionProcessos",{id:"processosFormId:processosTableId:accordionProcessos",dynamic:true,cache:true,behaviors:{tabChange:function(ext,event) {PrimeFaces.ab({s:"processosFormId:processosTableId:accordionProcessos",e:"tabChange",p:"processosFormId:processosTableId:accordionProcessos",u:"processosFormId:hiddenLinhaSelecionada processosFormId:hiddenLinhasExibidas",onco:function(xhr,status,args){rolagemParaItemSelecionado('processosFormId','processosTableId',false,'formMural','');;}},ext);}}});</script>]]>
|
740
| <![CDATA[<script id="processosFormId:processosTableId_s" type="text/javascript">$(function(){PrimeFaces.cw("DataTable","varProcessosTable",{id:"processosFormId:processosTableId",paginator:{id:['processosFormId:processosTableId_paginator_bottom'],rows:10,rowCount:20,page:0,currentPageTemplate:'({currentPage} de {totalPages})',alwaysVisible:false},behaviors:{page:function(ext,event) {PrimeFaces.ab({s:"processosFormId:processosTableId",e:"page",p:"processosFormId:processosTableId",onst:function(cfg){updateFacetAccordion();;},onco:function(xhr,status,args){highlight_form('processosFormId','processosTableId');;}},ext);}}});});</script>]]>
|
740
| <![CDATA[<script type="text/javascript">highlight_form('processosFormId','processosTableId');</script>]]>
|
741
| <![CDATA[<script id="fieldset_lista_processos_s" type="text/javascript">PrimeFaces.cw("Fieldset","widget_fieldset_lista_processos",{id:"fieldset_lista_processos"});</script>]]>
|
741
| <![CDATA[<script id="panelProcessos_s" type="text/javascript">PrimeFaces.cw("Panel","widget_panelProcessos",{id:"panelProcessos"});</script>]]>
|
744
| <![CDATA[<script id="visualizarArquivoForm:viewArquivoDialogID_s" type="text/javascript">$(function(){PrimeFaces.cw("Dialog","viewArquivoDialog",{id:"visualizarArquivoForm:viewArquivoDialogID",modal:true,width:"800px",height:"600px",dynamic:true});});</script>]]>
|
796
| <![CDATA[<script id="messages_s" type="text/javascript">$(function(){PrimeFaces.cw('Growl','widget_messages',{id:'messages',sticky:false,life:10000,escape:true,msgs:[]});});</script>]]>
|