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>]]>
|
463
| <![CDATA[<script type="text/javascript">
$(document).ready(function() {
var sc = $('#scroller').radiantScroller({
elementWidth : 160,
cols : 5,
rows : 2,
useMouseWheel : false,
addPagination : true
});
});
</script>]]>
|
596
| <![CDATA[<script id="j_idt39_s" type="text/javascript">PrimeFaces.cw("Fieldset","widget_j_idt39",{id:"j_idt39"});</script>]]>
|
596
| <![CDATA[<script id="panelMural_s" type="text/javascript">PrimeFaces.cw("Panel","widget_panelMural",{id:"panelMural"});</script>]]>
|
599
| <![CDATA[<script type="text/javascript">updateFacetAccordion = function() {PrimeFaces.ab({s:"processosFormId:j_idt197",f:"processosFormId",u:"processosFormId:processosTableId:accordionProcessos",pa:arguments[0]});}</script>]]>
|
671
| <![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>]]>
|
671
| <![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>]]>
|
671
| <![CDATA[<script type="text/javascript">highlight_form('processosFormId','processosTableId');</script>]]>
|
672
| <![CDATA[<script id="fieldset_lista_processos_s" type="text/javascript">PrimeFaces.cw("Fieldset","widget_fieldset_lista_processos",{id:"fieldset_lista_processos"});</script>]]>
|
672
| <![CDATA[<script id="panelProcessos_s" type="text/javascript">PrimeFaces.cw("Panel","widget_panelProcessos",{id:"panelProcessos"});</script>]]>
|
675
| <![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>]]>
|
727
| <![CDATA[<script id="messages_s" type="text/javascript">$(function(){PrimeFaces.cw('Growl','widget_messages',{id:'messages',sticky:false,life:10000,escape:true,msgs:[]});});</script>]]>
|