Logo CEWEB.br Logo NIC.br Logo CGI.br
Home Sobre o projeto

Sites Pertecentes a (o) MG

Recomendações Avaliadas
1.1 Respeitar os Padrões Web.

Recomendações

Número Descrição Quantidade Linhas Código Fonte
1.1.3 Presença de CSS(s) in-line 41 321 321 402 407 431 432 460 729 732 735 738 741 744 747 750 753 756 757 760 765 768 771 774 777 780 783 786 789 792 795 796 801 804 807 810 813 816 819 822 825 826
1.1.4 Presença de CSS(s) interno 1 10
1.1.5 Presença de javascript(s) in-line 36 419 727 729 732 735 738 741 744 747 750 753 756 757 760 765 768 771 774 777 780 783 786 789 792 795 796 801 804 807 810 813 816 819 822 825 826
1.1.6 Presença de javascript(s) interno 16 17 248 257 262 297 365 441 448 461 482 850 1016 1025 1056 1085 1101
321 <![CDATA[<div style="overflow: hidden; position: relative; width: 980px; height: 165px;" id="master0"><div style="position: absolute; width: 980px; height: 165px; top: 0pt; left: 0pt; background-color: transparent; z-index: 1;" id="canvas0_0"><a id="hyp_imgRotativo" class="pnl_img" title="Ir para a página principal" href="http://portaltransparencia.goncalves.mg.gov.br/principal"><img src="//portalfacilarquivos.blob.core.windows.net/uploads/GONCALVESPORTALTRANSPARENCIA/painel/painel_0.jpg" alt="Painel do site" title="Ir para a página principal"/></a></div></div>]]>
321 <![CDATA[<div style="position: absolute; width: 980px; height: 165px; top: 0pt; left: 0pt; background-color: transparent; z-index: 1;" id="canvas0_0"><a id="hyp_imgRotativo" class="pnl_img" title="Ir para a página principal" href="http://portaltransparencia.goncalves.mg.gov.br/principal"><img src="//portalfacilarquivos.blob.core.windows.net/uploads/GONCALVESPORTALTRANSPARENCIA/painel/painel_0.jpg" alt="Painel do site" title="Ir para a página principal"/></a></div>]]>
402 <![CDATA[<a id="hyp_dtDownload_menor" class="bt_calendario" style="cursor:pointer;">Selecionar data</a>]]>
407 <![CDATA[<a id="hyp_dtDownload_maior" class="bt_calendario" style="cursor:pointer;">Selecionar data</a>]]>
431 <![CDATA[<div id="msg_mensagem_lock" class="msg_mensagem_lock" style="position: absolute; display:none; visibility: hidden; filter: alpha(opacity=70); -moz-opacity: 0.7; opacity: 0.7; background-color: gray; "></div>]]>
432 <![CDATA[<div id="msg_mensagem" style="position:absolute;display:none;visibility:hidden;height:155px;width:350px;" class="msg_mensagem" > <img id="msg_mensagem_loadingImage" src="css/images/loading.gif" alt="Carregando..." class="msg_mensagem_loadingImage" /> <img id="msg_mensagem_icon" src="css/images/ico_check.gif" alt="Ícone" class="msg_mensagem_icon" /> <p id="msg_mensagem_text" class="msg_mensagem_text">Aguarde enquanto a sua solicitação é processada...</p> <span id="msg_mensagem_span_cancel"><a id="msg_mensagem_cancel" class="bt_cancelar" title="Confirmar">Cancelar</a></span> <span id="msg_mensagem_span_ok"><a id="msg_mensagem_ok" class="bt_ok" title="Ok">Ok</a></span> <span id="msg_mensagem_span_retry"><a id="msg_mensagem_retry" class="bt_tentar" title="Confirmar">Tentar novamente</a></span> </div>]]>
460 <![CDATA[<div id="hlp_dica" class="" style="left:0px;top:0px;display:none;width:550px;height:50px;position:absolute;"> <img alt="Ícone" src="css/images/help.gif" id="hlp_dicaIcon"/> <h6 id="hlp_dicaTitle">Dica</h6> <p id="hlp_dicaDescription">Preencha os campos corretamente.</p> <input type="hidden" id="hlp_dicaDescriptionDetail" /></div>]]>
729 <![CDATA[<ul id="modAvo0" style="display:none"> </ul>]]>
732 <![CDATA[<ul id="modAvo1" style="display:none"> </ul>]]>
735 <![CDATA[<ul id="modAvo2" style="display:none"> </ul>]]>
738 <![CDATA[<ul id="modAvo3" style="display:none"> </ul>]]>
741 <![CDATA[<ul id="modAvo4" style="display:none"> </ul>]]>
744 <![CDATA[<ul id="modAvo5" style="display:none"> </ul>]]>
747 <![CDATA[<ul id="modAvo6" style="display:none"> </ul>]]>
750 <![CDATA[<ul id="modAvo7" style="display:none"> </ul>]]>
753 <![CDATA[<ul id="modAvo8" style="display:none"> </ul>]]>
756 <![CDATA[<ul id="modAvo9" style="display:none"> <li class="cat_nivel02"><a class="bt_menos" onclick="DisplayMenu('Leis Municipais Diversas ','-1','27')">Leis Municipais Diversas </a> <ul id="modPai90" style="display:none"> </ul> </li> <li class="cat_nivel02"><a class="bt_menos" onclick="DisplayMenu('OBRAS','-1','28')">OBRAS</a> <ul id="modPai91" style="display:none"> </ul> </li> </ul>]]>
757 <![CDATA[<ul id="modPai90" style="display:none"> </ul>]]>
760 <![CDATA[<ul id="modPai91" style="display:none"> </ul>]]>
765 <![CDATA[<ul id="modAvo10" style="display:none"> </ul>]]>
768 <![CDATA[<ul id="modAvo11" style="display:none"> </ul>]]>
771 <![CDATA[<ul id="modAvo12" style="display:none"> </ul>]]>
774 <![CDATA[<ul id="modAvo13" style="display:none"> </ul>]]>
777 <![CDATA[<ul id="modAvo14" style="display:none"> </ul>]]>
780 <![CDATA[<ul id="modAvo15" style="display:none"> </ul>]]>
783 <![CDATA[<ul id="modAvo16" style="display:none"> </ul>]]>
786 <![CDATA[<ul id="modAvo17" style="display:none"> </ul>]]>
789 <![CDATA[<ul id="modAvo18" style="display:none"> </ul>]]>
792 <![CDATA[<ul id="modAvo19" style="display:none"> </ul>]]>
795 <![CDATA[<ul id="modAvo20" style="display:none"> <li class="cat_nivel02"><a class="bt_menos" onclick="DisplayMenu('Editais - Prevgon','-1','44')">Editais - Prevgon</a> <ul id="modPai200" style="display:none"> </ul> </li> </ul>]]>
796 <![CDATA[<ul id="modPai200" style="display:none"> </ul>]]>
801 <![CDATA[<ul id="modAvo21" style="display:none"> </ul>]]>
804 <![CDATA[<ul id="modAvo22" style="display:none"> </ul>]]>
807 <![CDATA[<ul id="modAvo23" style="display:none"> </ul>]]>
810 <![CDATA[<ul id="modAvo24" style="display:none"> </ul>]]>
813 <![CDATA[<ul id="modAvo25" style="display:none"> </ul>]]>
816 <![CDATA[<ul id="modAvo26" style="display:none"> </ul>]]>
819 <![CDATA[<ul id="modAvo27" style="display:none"> </ul>]]>
822 <![CDATA[<ul id="modAvo28" style="display:none"> </ul>]]>
825 <![CDATA[<ul id="modAvo29" style="display:none"> <li class="cat_nivel02"><a class="bt_menos" onclick="DisplayMenu('Seguran&#231;a e Sustentabilidade no Turismo','-1','46')">Segurança e Sustentabilidade no Turismo</a> <ul id="modPai290" style="display:none"> </ul> </li> </ul>]]>
826 <![CDATA[<ul id="modPai290" style="display:none"> </ul>]]>
10 <![CDATA[<style type="text/css"> .lbl_categoria {display:none} </style>]]>
419 <![CDATA[<input name="bt_localizar" type="button" id="bt_localizar" value="Localizar" onclick="clique=true; ApplyFilter()" />]]>
727 <![CDATA[<a class="bt_menos" onclick="DisplayMenu('Todas as Categorias','-1',-1)">Todas as Categorias</a>]]>
729 <![CDATA[<a onclick="DisplayMenu('4&#176; Festival de Gastronomia e Cultura da Ro&#231;a de Gon&#231;alves','-1','17')" class="bt_menos">4° Festival de Gastronomia e Cultura da Roça de Gonçalves</a>]]>
732 <![CDATA[<a onclick="DisplayMenu('5 FESTINVERNO DE GON&#199;ALVES','-1','11')" class="bt_menos">5 FESTINVERNO DE GONÇALVES</a>]]>
735 <![CDATA[<a onclick="DisplayMenu('Acesso &#224; Informa&#231;&#227;o','-1','31')" class="bt_menos">Acesso à Informação</a>]]>
738 <![CDATA[<a onclick="DisplayMenu('COMPAC - Conselho Municipal do Patrim&#244;nio Art&#237;stico e Cultural','-1','42')" class="bt_menos">COMPAC - Conselho Municipal do Patrimônio Artístico e Cultural</a>]]>
741 <![CDATA[<a onclick="DisplayMenu('CONCURSO P&#218;BLICO 2013','-1','7')" class="bt_menos">CONCURSO PÚBLICO 2013</a>]]>
744 <![CDATA[<a onclick="DisplayMenu('DECRETOS CONTABILIDADE','-1','35')" class="bt_menos">DECRETOS CONTABILIDADE</a>]]>
747 <![CDATA[<a onclick="DisplayMenu('DECRETOS DE CR&#201;DITO SUPLEMENTAR','-1','20')" class="bt_menos">DECRETOS DE CRÉDITO SUPLEMENTAR</a>]]>
750 <![CDATA[<a onclick="DisplayMenu('Di&#225;rio de Opera&#231;&#227;o M&#225;quinas PAC 2','-1','16')" class="bt_menos">Diário de Operação Máquinas PAC 2</a>]]>
753 <![CDATA[<a onclick="DisplayMenu('Di&#225;rio Eletr&#244;nico','-1','5')" class="bt_menos">Diário Eletrônico</a>]]>
756 <![CDATA[<a id='18DIVERSOS' class="bt_mais" onclick="DisplayMenu('DIVERSOS','modAvo9','18',this)">DIVERSOS</a>]]>
757 <![CDATA[<a class="bt_menos" onclick="DisplayMenu('Leis Municipais Diversas ','-1','27')">Leis Municipais Diversas </a>]]>
760 <![CDATA[<a class="bt_menos" onclick="DisplayMenu('OBRAS','-1','28')">OBRAS</a>]]>
765 <![CDATA[<a onclick="DisplayMenu('Educa&#231;&#227;o','-1','40')" class="bt_menos">Educação</a>]]>
768 <![CDATA[<a onclick="DisplayMenu('ESPORTE','-1','15')" class="bt_menos">ESPORTE</a>]]>
771 <![CDATA[<a onclick="DisplayMenu('Ficha de Inscri&#231;&#227;o','-1','39')" class="bt_menos">Ficha de Inscrição</a>]]>
774 <![CDATA[<a onclick="DisplayMenu('FORMUL&#193;RIOS - CODEMA','-1','9')" class="bt_menos">FORMULÁRIOS - CODEMA</a>]]>
777 <![CDATA[<a onclick="DisplayMenu('Guia virtual','-1','34')" class="bt_menos">Guia virtual</a>]]>
780 <![CDATA[<a onclick="DisplayMenu('Instru&#231;&#245;es Licita&#231;&#227;o','-1','14')" class="bt_menos">Instruções Licitação</a>]]>
783 <![CDATA[<a onclick="DisplayMenu('Instru&#231;&#245;es Pop-up','-1','10')" class="bt_menos">Instruções Pop-up</a>]]>
786 <![CDATA[<a onclick="DisplayMenu('Leil&#227;o','-1','13')" class="bt_menos">Leilão</a>]]>
789 <![CDATA[<a onclick="DisplayMenu('Manuais','-1','30')" class="bt_menos">Manuais</a>]]>
792 <![CDATA[<a onclick="DisplayMenu('Plano Decenal de Educa&#231;&#227;o','-1','29')" class="bt_menos">Plano Decenal de Educação</a>]]>
795 <![CDATA[<a id='36PREVGON ' class="bt_mais" onclick="DisplayMenu('PREVGON ','modAvo20','36',this)">PREVGON </a>]]>
796 <![CDATA[<a class="bt_menos" onclick="DisplayMenu('Editais - Prevgon','-1','44')">Editais - Prevgon</a>]]>
801 <![CDATA[<a onclick="DisplayMenu('Protocolo &quot;Progresso Inteligente&quot;','-1','38')" class="bt_menos">Protocolo "Progresso Inteligente"</a>]]>
804 <![CDATA[<a onclick="DisplayMenu('Protocolo Retomada Gradual do Esporte','-1','41')" class="bt_menos">Protocolo Retomada Gradual do Esporte</a>]]>
807 <![CDATA[<a onclick="DisplayMenu('Rela&#231;&#227;o de Servidores - Exerc&#237;cio 2013','-1','6')" class="bt_menos">Relação de Servidores - Exercício 2013</a>]]>
810 <![CDATA[<a onclick="DisplayMenu('Rela&#231;&#227;o de Servidores Exerc&#237;cio 2014','-1','8')" class="bt_menos">Relação de Servidores Exercício 2014</a>]]>
813 <![CDATA[<a onclick="DisplayMenu('Rela&#231;&#227;o de servidores exerc&#237;cio 2015','-1','26')" class="bt_menos">Relação de servidores exercício 2015</a>]]>
816 <![CDATA[<a onclick="DisplayMenu('Rela&#231;&#227;o de Servidores Exerc&#237;cio 2016','-1','33')" class="bt_menos">Relação de Servidores Exercício 2016</a>]]>
819 <![CDATA[<a onclick="DisplayMenu('Relat&#243;rios de despesas de publicidade ','-1','19')" class="bt_menos">Relatórios de despesas de publicidade </a>]]>
822 <![CDATA[<a onclick="DisplayMenu('Servidores ','-1','12')" class="bt_menos">Servidores </a>]]>
825 <![CDATA[<a id='45Turismo' class="bt_mais" onclick="DisplayMenu('Turismo','modAvo29','45',this)">Turismo</a>]]>
826 <![CDATA[<a class="bt_menos" onclick="DisplayMenu('Seguran&#231;a e Sustentabilidade no Turismo','-1','46')">Segurança e Sustentabilidade no Turismo</a>]]>
17 <![CDATA[<script type="text/javascript"> var PageSizeShow = 10; //Quantidade de páginas que será exibida var PageSize = 10; //Quantidade de registros por página var jsFunction = "GetDow"; //Nome da função javascript de exibição de dados. var strDataDownload = ""; var strDtMenor = ""; var strDtMaior = ""; var filtroDtMenor = ""; var filtroDtMaior = ""; var strPalavraChave = ""; var searchList = ""; var titulo = false; var clique = false; var cd = 19; var mes = new Array(); mes[1] = "Janeiro"; mes[2] = "Feveriro"; mes[3] = "Março"; mes[4] = "Abril"; mes[5] = "Maio"; mes[6] = "Junho"; mes[7] = "Julho"; mes[8] = "Agosto"; mes[9] = "Setembro"; mes[10] = "Outubro"; mes[11] = "Novembro"; mes[12] = "Dezembro"; var cdCategoria = cd; var nmCategoriaTitulo = "Todas as Categorias"; var nmCategoria = "Todas as Categorias"; function GetDow(Page, IsPageLoad) { var div = "listagem"; dow_lis.GetDow(Page, cdCategoria, PageSize,strDtMenor, strDtMaior, strPalavraChave, function(res) { var h3 = document.createElement("h3"); if (IsPageLoad) { if(cdCategoria == -1) { nmCategoriaTitulo = "Todas as Categorias"; h3.appendChild(document.createTextNode(nmCategoriaTitulo)); } else { if(res.value.Rows[0].CDDOWNLOADCATEGORIA == cdCategoria) { h3.appendChild(document.createTextNode(res.value.Rows[0].NMDOWNLOADCATEGORIA)) } else if(res.value.Rows[0].CDDOWNLOADCATEGORIAPAI == cdCategoria) { h3.appendChild(document.createTextNode(res.value.Rows[0].NMDOWNLOADCATEGORIAPAI)) } else if(res.value.Rows[0].CDDOWNLOADCATEGORIAAVO == cdCategoria) { h3.appendChild(document.createTextNode(res.value.Rows[0].NMDOWNLOADCATEGORIAAVO)) } } } else { if(cdCategoria == -1) { nmCategoriaTitulo = "Todas as Categorias"; h3.appendChild(document.createTextNode(nmCategoriaTitulo)); } else h3.appendChild(document.createTextNode(nmCategoria)); } var divMain = document.createElement("div"); divMain.setAttribute("id", div); divMain.appendChild(h3); var downloadPath = dow_lis.GetDownloadPath().value; if(res.value != null) { var cdDownloadCategoria = -1; SetPags(res.value.Rows[0].TOTALROWS, Page); var pag = document.getElementById("paginacao"); document.getElementById('lbl_TotalRegistros').innerHTML = res.value.Rows[0].TOTALROWS; for(var y = 0; y < res.value.Rows.length; y++) { var subDiv = document.createElement("div"); var h5 = document.createElement("h5"); var a = document.createElement("a"); var h4 = document.createElement("h4"); var p = document.createElement("p"); var pData = document.createElement("p"); var pTamanho = document.createElement("p"); if(cdCategoria != -1) nmCategoriaTitulo = nmCategoria; else nmCategoriaTitulo = "Todas as Categorias"; nmCategoria = res.value.Rows[y].NMDOWNLOADCATEGORIA; var auxCdDownloadCategoria = cdDownloadCategoria; if(res.value.Rows[y].NMDOWNLOADCATEGORIAAVO != null) { cdDownloadCategoria = res.value.Rows[y].CDDOWNLOADCATEGORIAAVO; h5.appendChild(document.createTextNode(res.value.Rows[y].NMDOWNLOADCATEGORIAAVO + " - " + res.value.Rows[y].NMDOWNLOADCATEGORIAPAI + " - " + res.value.Rows[y].NMDOWNLOADCATEGORIA)); } else if(res.value.Rows[y].NMDOWNLOADCATEGORIAPAI != null) { cdDownloadCategoria = res.value.Rows[y].CDDOWNLOADCATEGORIAPAI; h5.appendChild(document.createTextNode(res.value.Rows[y].NMDOWNLOADCATEGORIAPAI + " - " + res.value.Rows[y].NMDOWNLOADCATEGORIA)); } else { cdDownloadCategoria = res.value.Rows[y].CDDOWNLOADCATEGORIA; h5.appendChild(document.createTextNode(res.value.Rows[y].NMDOWNLOADCATEGORIA)); } a.setAttribute("href", res.value.Rows[y].URLARQUIVO); a.setAttribute("target","_blank"); a.setAttribute("className","bt_salvar"); a.setAttribute("class","bt_salvar"); var aNomeArq = document.createElement("a"); aNomeArq.setAttribute("href", res.value.Rows[y].URLARQUIVO); aNomeArq.setAttribute("target","_blank"); aNomeArq.appendChild(document.createTextNode(res.value.Rows[y].NMTITULO)); h4.appendChild(aNomeArq); p.setAttribute("class", "descricao"); p.innerHTML = res.value.Rows[y].DSDESCRICAO.replace(/\n/g, '<br/>'); var strongData = document.createElement("strong"); strongData.appendChild(document.createTextNode("Data: ")); pData.setAttribute("class","data"); pData.appendChild(strongData); pData.appendChild(document.createTextNode(res.value.Rows[y].DTDOWNLOAD)); var strongTamanho = document.createElement("strong"); strongTamanho.appendChild(document.createTextNode("Tamanho: ")); pTamanho.setAttribute("class","tamanho"); pTamanho.appendChild(strongTamanho); pTamanho.appendChild(document.createTextNode(res.value.Rows[y].NUTAMANHO + " kb")); subDiv.appendChild(h5); subDiv.appendChild(a); subDiv.appendChild(h4); subDiv.appendChild(p); subDiv.appendChild(pData); subDiv.appendChild(pTamanho); divMain.appendChild(subDiv); } } else { SetPags(5, 0); document.getElementById('lbl_TotalRegistros').innerHTML = 0; } document.getElementById(div).parentNode.replaceChild(divMain, document.getElementById(div)); }); } function DisplayMenu(categoria, obj, value, object) { cdCategoria = value; nmCategoria = categoria; titulo=false; //var h3 = document.createElement("h3"); //h3.appendChild(document.createTextNode(nmCategoria)); //var divMain = document.createElement("div"); //divMain.setAttribute("id", div); //divMain.appendChild(h3); GetDow(0); if(document.getElementById(obj)) { if(document.getElementById(obj).style.display=='block') { object.className = "bt_mais"; document.getElementById(obj).style.display='none'; } else { object.className = "bt_menos"; document.getElementById(obj).style.display='block'; } } } function ApplyFilter() { filtroDtMenor = document.getElementById("txt_dtDownload_menor").value; filtroDtMaior = document.getElementById("txt_dtDownload_maior").value; strDtMenor = filtroDtMenor; strDtMaior = filtroDtMaior; strPalavraChave = document.getElementById("txt_palChave").value; if(clique==true) { GetDow(0); } else { GetDow(0, true); } } function trim(e){ espacos = /\s/g; return e.replace(espacos, "_"); } </script>]]>
248 <![CDATA[<script type="text/javascript"> AjaxPro.noUtcTime = true; </script>]]>
257 <![CDATA[<script type="text/javascript"> var siterel = ""; </script>]]>
262 <![CDATA[<script type="text/javascript"> //<![CDATA[ if (sessionStorage.getItem('stylename') != null) { document.getElementById('layoutsite').setAttribute('href', sessionStorage.getItem('stylename')); } else { document.getElementById('layoutsite').setAttribute('href', 'css/geral.css'); } //]]> </script>]]>
297 <![CDATA[<script type="text/javascript"> //<![CDATA[ var isEmpty = true; function buscar() { if (isEmpty) document.location = '/bus_ava.aspx?search='; else document.location = '/bus_ava.aspx?search=' + document.getElementById('uc_painel_buscar').value; } $(function () { document.getElementById("uc_painel_btn_buscar").onclick = buscar; }); if (document.getElementById("uc_painel_buscar").addEventListener) { document.getElementById("uc_painel_buscar").addEventListener('keyup', function () { if (document.getElementById('uc_painel_buscar').value.trim() == "") isEmpty = true; else isEmpty = false; }); } else { document.getElementById("uc_painel_buscar").attachEvent('onkeyup', function () { if (document.getElementById('uc_painel_buscar').value.trim() == "") isEmpty = true; else isEmpty = false; }); } //]]> </script>]]>
365 <![CDATA[<script> //<![CDATA[ (function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.0"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); //]]> </script>]]>
441 <![CDATA[<script type="text/javascript"> //<![CDATA[ MessageIcons.IconError = "css/images/ico_error.gif"; MessageIcons.IconInformation = "css/images/ico_check.gif"; MessageIcons.IconWarning = "css/images/ico_warning.gif"; Message.LoadingImage = "css/images/loading.gif"; //]]> </script>]]>
448 <![CDATA[<script type="text/javascript"> //<![CDATA[ var arrImages = new Array(); var img = new Image; arrImages[0] = 'css/images/loading.gif'; arrImages[1] = 'css/images/ico_error.gif'; arrImages[2] = 'css/images/ico_warning.gif'; arrImages[3] = 'css/images/ico_check.gif'; for(i = 0; i < arrImages.length; i++){img.src = arrImages[i]; } //]]> </script>]]>
461 <![CDATA[<script type="text/javascript"> //<![CDATA[ (function(){ var hlp_dicaIcon = document.getElementById("hlp_dicaIcon"); if(hlp_dicaIcon){ hlp_dicaIcon.onclick = function(){alert(document.getElementById('hlp_dicaDescriptionDetail').value);}; } })(); function AtivarAjuda(){ try{ if(!document.getElementById("chk_Ajuda").checked) document.getElementById("hlp_dica").style.display="none"; else document.getElementById("hlp_dica").style.display="block"; }catch(e){} } AtivarAjuda() //]]> </script>]]>
482 <![CDATA[<script type="text/javascript"> //<![CDATA[ // Persistencia de style nos labels validados var validatedControls = new Array(); var validatedItensLabel = new Array(); var validatedItensLabelStyle = new Array(); function SetUIMessage(title, description, descriptionDetail) { try { var uiMessage = document.getElementById("hlp_dica"); var uiMessageIcon = document.getElementById("hlp_dicaIcon"); var uiMessageTitle = document.getElementById("hlp_dicaTitle"); var uiMessageDescription = document.getElementById("hlp_dicaDescription"); // Alterando o título uiMessageTitle.removeChild(uiMessageTitle.firstChild); uiMessageTitle.appendChild(document.createTextNode(title)); // Alterando a descrição amigável uiMessageDescription.removeChild(uiMessageDescription.firstChild); uiMessageDescription.appendChild(document.createTextNode(description)); } catch(e){} } var isValid = false; function Validate(functionCustomValidate){ if(functionCustomValidate == null) isValid = true; else isValid = functionCustomValidate(); } //startvalidate function Validate( functionCustomValidate, callbacks ){ var isValidCustom = false, validateItemCollection, res, labels, controls, labelsArray, controlsArray, action, itemLabel; if( functionCustomValidate != null ){ isValidCustom = functionCustomValidate(); } else { isValidCustom = true; } if( isValidCustom ) { validateItemCollection = dow_lis.GetValidateItemCollection().value; var validateItem0 = dow_lis.GetValidateItem().value; validateItem0.Label = "lbl_palChave"; validateItem0.Control = "txt_palChave"; validateItem0.ValidationType = 0; validateItem0.Value = document.getElementById("txt_palChave").value; validateItem0.Mandatory = false; validateItem0.MaxLength = 500; validateItemCollection[0] = validateItem0; var validateItem1 = dow_lis.GetValidateItem().value; validateItem1.Label = "lbl_dtDownload_menor"; validateItem1.Control = "txt_dtDownload_menor"; validateItem1.ValidationType = 4; validateItem1.Value = document.getElementById("txt_dtDownload_menor").value; validateItem1.Mandatory = false; validateItemCollection[1] = validateItem1; var validateItem2 = dow_lis.GetValidateItem().value; validateItem2.Label = "lbl_dtDownload_maior"; validateItem2.Control = "txt_dtDownload_maior"; validateItem2.ValidationType = 4; validateItem2.Value = document.getElementById("txt_dtDownload_maior").value; validateItem2.Mandatory = false; validateItemCollection[2] = validateItem2; if(callbacks && callbacks.antes){ try{ callbacks.antes( validateItemCollection ); } catch(e){} } res = dow_lis.Validar( validateItemCollection ); labels = res.value.split("$$")[0]; controls = res.value.split("$$")[1]; labelsArray = (labels.length > 1 ) ? labels.split(";") : []; controlsArray = (controls.length > 1) ? controls.split(";") : []; if( res.value == "$$" ){ isValid = true; } else { isValid = false; } for(var i = 0, l = validatedItensLabel.length; i < l ; i++ ){ document.getElementById(validatedItensLabel[i]).style.color = validatedItensLabelStyle[i]; } while(validatedControls.length > 0){ validatedControls.pop(); } while(validatedItensLabel.length > 0){ validatedItensLabel.pop(); } while(validatedItensLabelStyle.length > 0){ validatedItensLabelStyle.pop(); } for( var x = 0, l = labelsArray.length; x < l; x++ ){ itemLabel = document.getElementById(labelsArray[x]); if( itemLabel && itemLabel.nodeType ){ if( callbacks && callbacks.durante ){ try{ (function( j ){ callbacks.durante.call(document.getElementById(controlsArray[j]), j, {labels: labelsArray, controls:controlsArray}); })(x); } catch(e){} } validatedItensLabel.push( labelsArray[x] ); validatedControls.push( controlsArray[x] ); validatedItensLabelStyle.push( itemLabel.style.color ); itemLabel.style.color = "#FF0000"; } } if( !isValid ){ if( MessageAction ){ action = new MessageAction(); action.Ok = function(){Message.Hide();eval("if(document.getElementById(\"" + controlsArray[0] + "\")" + ")document.getElementById(\"" + controlsArray[0] + "\")" + ".focus();")}; Message.Show(MessageIcon.Warning, MessageButtons.Ok, "Alguns dados inseridos no formulário não passaram na validação de campos. Por favor verifique se os campos marcados de vermelho estão atendendo aos requisitos especificados na caixa de ajuda.", action, "Falha na validação do campos."); // trata o erro. } } else { SetUIMessage( "Dica", "Preencha os campos corretamente.", "" ); } if( callbacks && callbacks.depois ){ try{ callbacks.depois( validateItemCollection, {labels: labelsArray, controls:controlsArray}, isValid ); } catch(e){} } } }//endvalidate // mantém a caixa da ajuda sempre na tela var fm_id='hlp_dica'; var target_y = -60; var target_x; var offset_x = 80; function SetElementPosition() { if (window.innerWidth) target_x = (window.innerWidth / 2) - 10; else if (document.all) target_x = document.body.clientWidth / 2; target_x = target_x - ((document.getElementById(fm_id).style.width.substring(0, document.getElementById(fm_id).style.width.indexOf("px")))/2) + offset_x; } SetElementPosition(); setInterval('SetElementPosition()', 20); var has_inner = typeof(window.innerWidth) == 'number'; var has_element = document.documentElement && document.documentElement.clientWidth; var floating_element = document.getElementById ? document.getElementById(fm_id) : document.all ? document.all[fm_id] : document.layers[fm_id]; var fm_shift_x, fm_shift_y, fm_next_x, fm_next_y; function MoveElement() { if (document.layers) { floating_element.left = fm_next_x; floating_element.top = fm_next_y; } else { floating_element.style.left = fm_next_x + 'px'; floating_element.style.top = fm_next_y + 'px'; } } function ComputeShifts() { fm_shift_x = has_inner ? pageXOffset : has_element ? document.documentElement.scrollLeft : document.body.scrollLeft; if (target_x < 0) fm_shift_x += has_inner ? window.innerWidth : has_element ? document.documentElement.clientWidth : document.body.clientWidth; fm_shift_y = has_inner ? pageYOffset : has_element ? document.documentElement.scrollTop : document.body.scrollTop; if (target_y < 0) fm_shift_y += has_inner ? window.innerHeight : has_element ? document.documentElement.clientHeight : document.body.clientHeight; } function FloatElement() { var step_x, step_y; ComputeShifts(); step_x = (fm_shift_x + target_x - fm_next_x) * .07; if (Math.abs(step_x) < .5) step_x = fm_shift_x + target_x - fm_next_x; step_y = (fm_shift_y + target_y - fm_next_y) * .07; if (Math.abs(step_y) < .5) step_y = fm_shift_y + target_y - fm_next_y; if (Math.abs(step_x) > 0 || Math.abs(step_y) > 0) { fm_next_x += step_x; fm_next_y += step_y; MoveElement(); } setTimeout('FloatElement()', 20); }; ComputeShifts(); if (document.layers) { // Netscape 4 cannot perform init move // when the page loads. fm_next_x = 0; fm_next_y = 0; } else { fm_next_x = fm_shift_x + target_x; fm_next_y = fm_shift_y + target_y; MoveElement(); } FloatElement(); //]]> </script>]]>
850 <![CDATA[<script type="text/javascript"> //<![CDATA[ (function(){ var bt_localizar = document.getElementById("bt_localizar"); if(bt_localizar){ bt_localizar.onclick = function(){ void Message.LockScreen();void Validate();if(isValid==true){ApplyFilter();}}; } })();(function(){ var hyp_dtDownload_menor = document.getElementById("hyp_dtDownload_menor"); hyp_dtDownload_menor.onclick = function(){ Popup('pop_cal.aspx?id=txt_dtDownload_menor', 'dow_lis_pop_cal_txt_dtDownload_menor', 200, 210, -1, -1, 'no', 'no', 'no', 'no');}; })();(function(){ var hyp_dtDownload_maior = document.getElementById("hyp_dtDownload_maior"); hyp_dtDownload_maior.onclick = function(){ Popup('pop_cal.aspx?id=txt_dtDownload_maior', 'dow_lis_pop_cal_txt_dtDownload_maior', 200, 210, -1, -1, 'no', 'no', 'no', 'no');}; })();// declaração das variaveis referentes a cada campo do formulário. var ajaxNameSpace = dow_lis; var ajaxNameSpaceId = "dow_lis"; var ctl06 = document.getElementById("ctl06"); var ctl00 = document.getElementById("ctl00"); var ctl01 = document.getElementById("ctl01"); var ctl02 = document.getElementById("ctl02"); var ctl03 = document.getElementById("ctl03"); var layoutsite = document.getElementById("layoutsite"); var ctl04 = document.getElementById("ctl04"); var ctl05 = document.getElementById("ctl05"); var ctl07 = document.getElementById("ctl07"); var Form1 = document.getElementById("Form1"); var uc_painel = document.getElementById("uc_painel"); var uc_painel_pnl_box = document.getElementById("uc_painel_pnl_box"); var uc_painel_ctl05 = document.getElementById("uc_painel_ctl05"); var uc_painel_painel = document.getElementById("uc_painel_painel"); var uc_painel_ctl06 = document.getElementById("uc_painel_ctl06"); var uc_painel_pnl_anexos = document.getElementById("uc_painel_pnl_anexos"); var uc_painel_ctl07 = document.getElementById("uc_painel_ctl07"); var uc_painel_span_data = document.getElementById("uc_painel_span_data"); var uc_painel_ctl08 = document.getElementById("uc_painel_ctl08"); var uc_painel_span_contato = document.getElementById("uc_painel_span_contato"); var uc_painel_ctl09 = document.getElementById("uc_painel_ctl09"); var uc_painel_hyp_contato = document.getElementById("uc_painel_hyp_contato"); var uc_painel_ctl10 = document.getElementById("uc_painel_ctl10"); var uc_painel_ctl11 = document.getElementById("uc_painel_ctl11"); var uc_painel_ctl12 = document.getElementById("uc_painel_ctl12"); var uc_painel_h1_link = document.getElementById("uc_painel_h1_link"); var uc_painel_ctl13 = document.getElementById("uc_painel_ctl13"); var uc_painel_hyp_conteudo = document.getElementById("uc_painel_hyp_conteudo"); var uc_painel_ctl14 = document.getElementById("uc_painel_ctl14"); var uc_painel_ctl15 = document.getElementById("uc_painel_ctl15"); var uc_painel_uc_previsaoTempo = document.getElementById("uc_painel_uc_previsaoTempo"); var uc_painel_uc_previsaoTempo_pnl_box = document.getElementById("uc_painel_uc_previsaoTempo_pnl_box"); var uc_painel_uc_previsaoTempo_ctl00 = document.getElementById("uc_painel_uc_previsaoTempo_ctl00"); var uc_painel_uc_previsaoTempo_h3_rotulo = document.getElementById("uc_painel_uc_previsaoTempo_h3_rotulo"); var uc_painel_uc_previsaoTempo_ctl01 = document.getElementById("uc_painel_uc_previsaoTempo_ctl01"); var uc_painel_uc_previsaoTempo_ctl02 = document.getElementById("uc_painel_uc_previsaoTempo_ctl02"); var uc_painel_uc_previsaoTempo_lit_previsao = document.getElementById("uc_painel_uc_previsaoTempo_lit_previsao"); var uc_painel_uc_previsaoTempo_ctl03 = document.getElementById("uc_painel_uc_previsaoTempo_ctl03"); var uc_painel_ctl16 = document.getElementById("uc_painel_ctl16"); var uc_painel_lit_script = document.getElementById("uc_painel_lit_script"); var uc_painel_ctl17 = document.getElementById("uc_painel_ctl17"); var uc_painel_lit_imagemUnica = document.getElementById("uc_painel_lit_imagemUnica"); var uc_painel_ctl18 = document.getElementById("uc_painel_ctl18"); var uc_painel_lit_flash = document.getElementById("uc_painel_lit_flash"); var uc_painel_ctl19 = document.getElementById("uc_painel_ctl19"); var uc_painel_pnl_barra = document.getElementById("uc_painel_pnl_barra"); var uc_painel_pnl_frases = document.getElementById("uc_painel_pnl_frases"); var uc_painel_ctl20 = document.getElementById("uc_painel_ctl20"); var uc_painel_strong_voceSabia = document.getElementById("uc_painel_strong_voceSabia"); var uc_painel_ctl21 = document.getElementById("uc_painel_ctl21"); var uc_painel_ctl22 = document.getElementById("uc_painel_ctl22"); var uc_painel_span_frase = document.getElementById("uc_painel_span_frase"); var uc_painel_ctl23 = document.getElementById("uc_painel_ctl23"); var uc_painel_lit_nmFrase = document.getElementById("uc_painel_lit_nmFrase"); var uc_painel_ctl24 = document.getElementById("uc_painel_ctl24"); var uc_painel_ctl25 = document.getElementById("uc_painel_ctl25"); var uc_painel_pnl_busca = document.getElementById("uc_painel_pnl_busca"); var uc_painel_ctl26 = document.getElementById("uc_painel_ctl26"); var uc_painel_buscar = document.getElementById("uc_painel_buscar"); var uc_painel_ctl27 = document.getElementById("uc_painel_ctl27"); var uc_painel_btn_buscar = document.getElementById("uc_painel_btn_buscar"); var uc_painel_ctl28 = document.getElementById("uc_painel_ctl28"); var uc_painel_ctl29 = document.getElementById("uc_painel_ctl29"); var uc_painel_pnl_lista = document.getElementById("uc_painel_pnl_lista"); var uc_painel_ctl30 = document.getElementById("uc_painel_ctl30"); var uc_painel_ctl31 = document.getElementById("uc_painel_ctl31"); var uc_painel_table_prop = document.getElementById("uc_painel_table_prop"); var uc_painel_ctl00 = document.getElementById("uc_painel_ctl00"); var uc_painel_ctl01 = document.getElementById("uc_painel_ctl01"); var uc_painel_ctl32 = document.getElementById("uc_painel_ctl32"); var uc_painel_ctl02 = document.getElementById("uc_painel_ctl02"); var uc_painel_ctl03 = document.getElementById("uc_painel_ctl03"); var uc_painel_ctl04 = document.getElementById("uc_painel_ctl04"); var uc_painel_ctl33 = document.getElementById("uc_painel_ctl33"); var uc_menu = document.getElementById("uc_menu"); var uc_menu_menu = document.getElementById("uc_menu_menu"); var uc_menu_ctl05 = document.getElementById("uc_menu_ctl05"); var uc_menu_lit_menu = document.getElementById("uc_menu_lit_menu"); var uc_menu_ctl06 = document.getElementById("uc_menu_ctl06"); var uc_menu_ctl07 = document.getElementById("uc_menu_ctl07"); var uc_menu_table_prop = document.getElementById("uc_menu_table_prop"); var uc_menu_ctl00 = document.getElementById("uc_menu_ctl00"); var uc_menu_ctl01 = document.getElementById("uc_menu_ctl01"); var uc_menu_ctl02 = document.getElementById("uc_menu_ctl02"); var uc_menu_ctl03 = document.getElementById("uc_menu_ctl03"); var uc_menu_ctl04 = document.getElementById("uc_menu_ctl04"); var uc_menu_ctl08 = document.getElementById("uc_menu_ctl08"); var uc_menu_hyp_menuLink = document.getElementById("uc_menu_hyp_menuLink"); var uc_menu_ctl09 = document.getElementById("uc_menu_ctl09"); var uc_navegacao = document.getElementById("uc_navegacao"); var uc_navegacao_pnl_navegacao = document.getElementById("uc_navegacao_pnl_navegacao"); var uc_navegacao_lit_local = document.getElementById("uc_navegacao_lit_local"); var uc_navegacao_ctl00 = document.getElementById("uc_navegacao_ctl00"); var uc_navegacao_barra_config = document.getElementById("uc_navegacao_barra_config"); var uc_navegacao_span_print = document.getElementById("uc_navegacao_span_print"); var uc_navegacao_ctl01 = document.getElementById("uc_navegacao_ctl01"); var uc_navegacao_hyp_imprimir = document.getElementById("uc_navegacao_hyp_imprimir"); var uc_navegacao_ctl02 = document.getElementById("uc_navegacao_ctl02"); var uc_navegacao_span_print_telefones = document.getElementById("uc_navegacao_span_print_telefones"); var uc_navegacao_ctl03 = document.getElementById("uc_navegacao_ctl03"); var uc_navegacao_hyp_imprimir_telefones = document.getElementById("uc_navegacao_hyp_imprimir_telefones"); var uc_navegacao_ctl04 = document.getElementById("uc_navegacao_ctl04"); var uc_navegacao_span_mail = document.getElementById("uc_navegacao_span_mail"); var uc_navegacao_ctl05 = document.getElementById("uc_navegacao_ctl05"); var uc_navegacao_hyp_email = document.getElementById("uc_navegacao_hyp_email"); var uc_navegacao_ctl06 = document.getElementById("uc_navegacao_ctl06"); var uc_navegacao_span_compartilhar = document.getElementById("uc_navegacao_span_compartilhar"); var uc_navegacao_span_curtir = document.getElementById("uc_navegacao_span_curtir"); var uc_navegacao_ctl07 = document.getElementById("uc_navegacao_ctl07"); var uc_navegacao_hyp_curtir = document.getElementById("uc_navegacao_hyp_curtir"); var uc_navegacao_ctl08 = document.getElementById("uc_navegacao_ctl08"); var uc_navegacao_span_twitter = document.getElementById("uc_navegacao_span_twitter"); var uc_navegacao_ctl09 = document.getElementById("uc_navegacao_ctl09"); var uc_navegacao_span_gplus = document.getElementById("uc_navegacao_span_gplus"); var uc_navegacao_ctl10 = document.getElementById("uc_navegacao_ctl10"); var uc_navegacao_hyp_gplus = document.getElementById("uc_navegacao_hyp_gplus"); var uc_navegacao_ctl11 = document.getElementById("uc_navegacao_ctl11"); var uc_navegacao_span_orkut = document.getElementById("uc_navegacao_span_orkut"); var uc_navegacao_ctl12 = document.getElementById("uc_navegacao_ctl12"); var uc_navegacao_hyp_orkut = document.getElementById("uc_navegacao_hyp_orkut"); var uc_navegacao_ctl13 = document.getElementById("uc_navegacao_ctl13"); var lbl_rotuloLocal = document.getElementById("lbl_rotuloLocal"); var ctl08 = document.getElementById("ctl08"); var p_rotulo1 = document.getElementById("p_rotulo1"); var ctl09 = document.getElementById("ctl09"); var lbl_palChave = document.getElementById("lbl_palChave"); var txt_palChave = document.getElementById("txt_palChave"); var lbl_dtDownload_menor = document.getElementById("lbl_dtDownload_menor"); var txt_dtDownload_menor = document.getElementById("txt_dtDownload_menor"); var hyp_dtDownload_menor = document.getElementById("hyp_dtDownload_menor"); var lbl_dtDownload_maior = document.getElementById("lbl_dtDownload_maior"); var txt_dtDownload_maior = document.getElementById("txt_dtDownload_maior"); var hyp_dtDownload_maior = document.getElementById("hyp_dtDownload_maior"); var lbl_cdCategoria = document.getElementById("lbl_cdCategoria"); var ddl_cdCategoria = document.getElementById("ddl_cdCategoria"); var bt_localizar = document.getElementById("bt_localizar"); var lbl_TotalRegistros = document.getElementById("lbl_TotalRegistros"); var msg_mensagem = document.getElementById("msg_mensagem"); var hlp_dica = document.getElementById("hlp_dica"); var Literal1 = document.getElementById("Literal1"); var uc_rodape = document.getElementById("uc_rodape"); var uc_rodape_address_rodape = document.getElementById("uc_rodape_address_rodape"); var ctl10 = document.getElementById("ctl10"); var uc_ganalytics = document.getElementById("uc_ganalytics"); var uc_ganalytics_ctl00 = document.getElementById("uc_ganalytics_ctl00"); var uc_ganalytics_lit_ganalyticskey = document.getElementById("uc_ganalytics_lit_ganalyticskey"); var uc_ganalytics_ctl01 = document.getElementById("uc_ganalytics_ctl01"); var ctl11 = document.getElementById("ctl11"); //]]> </script>]]>
1016 <![CDATA[<script type="text/javascript"> //<![CDATA[ (function(){ var buscar = document.getElementById("uc_painel_buscar"); buscar.onfocus = function(){if(this.value=='palavra-chave')this.value='';}; buscar.onblur = function(){if(this.value=='')this.value='palavra-chave';}; })(); //]]> </script>]]>
1025 <![CDATA[<script type="text/javascript"> //<![CDATA[ (function(){ var divMenu = document.getElementById("uc_menu_menu"); var nuNivelMax = 3; var nmClassMenu = ''; for(var j= 1; j <= nuNivelMax; j++) { nmClassMenu = 'mn_nivel_'+ (j < 10 ? '0' + j.toString() : j.toString()) + '_mais'; var menus = getElementsByClassName(nmClassMenu, 'li', divMenu); for (var i= 0; i< menus.length; i++) { if(menus[i].childNodes.length > 1 && menus[i].childNodes[0].tagName.toLowerCase() == 'a'){ menus[i].childNodes[0].onclick = function(){ var novaClasse = ''; if(this.parentNode.childNodes[1].style.display=='none'){ this.parentNode.childNodes[1].style.display='block'; novaClasse = this.parentNode.className.replace('mais','menos'); this.parentNode.className= novaClasse; }else{ this.parentNode.childNodes[1].style.display='none'; novaClasse = this.parentNode.className.replace('menos','mais'); this.parentNode.className= novaClasse; } return false; } } } } })(); //]]> </script>]]>
1056 <![CDATA[<script type="text/javascript"> //<![CDATA[ (function(){ })(); (function(){ var txt_palChave = document.getElementById("txt_palChave"); if(txt_palChave){ txt_palChave.onfocus = function(){try{SetUIMessage('Palavra(s) a ser(em) pesquisada(s)', 'Preenchimento opcional. Digitação livre, contendo no máximo 500 caracteres.', '');}catch(e){} }; } })(); (function(){ var txt_dtDownload_menor = document.getElementById("txt_dtDownload_menor"); if(txt_dtDownload_menor){ txt_dtDownload_menor.onfocus = function(){try{SetUIMessage('Período de', 'Preenchimento opcional. Digite uma data válida.', '');}catch(e){} }; } })(); (function(){ var txt_dtDownload_maior = document.getElementById("txt_dtDownload_maior"); if(txt_dtDownload_maior){ txt_dtDownload_maior.onfocus = function(){try{SetUIMessage('até', 'Preenchimento opcional. Digite uma data válida.', '');}catch(e){} }; } })(); //]]> </script>]]>
1085 <![CDATA[<script type="text/javascript"> //Categoria deverá ser filtrada pelo dropdown OU pela lista, não as duas ao mesmo tempo. var ddl_categoria = document.getElementById("ddl_cdCategoria"); if(ddl_categoria != null){ ddl_categoria.onchange = function(){ if(this.value == -1) cdCategoria = cd; else cdCategoria = this.value; } } ApplyFilter(); </script>]]>
1101 <![CDATA[<script type="text/javascript"> //<![CDATA[ (function (i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { (i[r].q = i[r].q || []).push(arguments) }, i[r].l = 1 * new Date(); a = s.createElement(o), m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); ga('create', 'UA-8187826-26', 'auto'); ga('create', 'UA-34477479-25', 'auto', {'name':'b'}); ga('send', 'pageview'); ga('b.send', 'pageview'); //]]> </script>]]>