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

Sites Pertecentes a (o) MG

Recomendações Avaliadas
2.2 Garantir que os objetos programáveis sejam acessíveis.

Recomendações

Número Descrição Quantidade Linhas Código Fonte
2.2.6 Presença do elemento SCRIPT sem o elemento NOSCRIPT 16 17 248 257 262 297 365 441 448 461 482 850 1016 1025 1056 1085 1101
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>]]>