32
| <![CDATA[<script type="text/javascript">
var orkuttitulo = 'O QUE É?';
</script>]]>
|
38
| <![CDATA[<script type="text/javascript">
AjaxPro.noUtcTime = true;
</script>]]>
|
50
| <![CDATA[<script type="text/javascript">
var siterel = "";
</script>]]>
|
55
| <![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>]]>
|
90
| <![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>]]>
|
166
| <![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>]]>
|
212
| <![CDATA[<script type="text/javascript">
var PageSizeShow = 10; //Quantidade de páginas que será exibida
var PageSize = '5'; //Quantidade de registros por página
var jsFunction = "Load_Ultimas"; //Nome da função javascript de exibição de dados.
function Load_Ultimas(Page)
{
uc_materiaVis.Load_MateriasRelacionadas(Page, '16521', PageSize, '55',
function(res)
{
var ul = "materias_relacionadas";
var ulMain = document.createElement("ul");
ulMain.setAttribute("id", ul);
if(res.value != null)
{
SetPags(res.value.Rows[0].TOTALROWS, Page);
var i = 1;
for(var x = 0; x < res.value.Rows.length; x++)
{
var li = document.createElement("li");
//li.setAttribute("class","mat_rel_0" + i);
//li.setAttribute("className","mat_rel_0" + i);
li.className = "mat_rel_0" + i;
var a = document.createElement("a");
//a.setAttribute("href", "?cd=" + res.value.Rows[x].CDMATERIA + "");
a.setAttribute("href", res.value.Rows[x].URLAMIGAVEL);
a.appendChild(document.createTextNode(res.value.Rows[x].NMTITULO));
li.appendChild(document.createTextNode(res.value.Rows[x].DTMATERIA + " - " ));
li.appendChild(a);
ulMain.appendChild(li);
if(i == 1)
i = 2;
else
i = 1;
}
//document.getElementById(ul).parentNode.style.display = "block";
}
else
document.getElementById(ul).parentNode.style.display = "none";
document.getElementById(ul).parentNode.replaceChild(ulMain, document.getElementById(ul));
});
}
function showDica(evt, text)
{
div_dicionario_significado.removeChild(div_dicionario_significado.firstChild);
//div_dicionario_significado.appendChild(document.createTextNode(text));
div_dicionario_significado.innerHTML = text.replace(/\n/g,"<br />");
var Y;
if(evt.clientY > (screen.height / 2))
{
div_dicionario.style.top = (evt.clientY + (document.documentElement.scrollTop == 0 ? window.pageYOffset : document.documentElement.scrollTop) - 130) + "px";
Y = "T";
}
else
{
div_dicionario.style.top = (evt.clientY + (document.documentElement.scrollTop == 0 ? window.pageYOffset : document.documentElement.scrollTop)) + "px";
Y = "B";
}
div_dicionario_setaTopEsq.style.visibility = "hidden";
div_dicionario_setaTopDir.style.visibility = "hidden";
div_dicionario_setaBottomDir.style.visibility = "hidden";
div_dicionario_setaBottomEsq.style.visibility = "hidden";
if(evt.clientX < (screen.width / 2))
{
if(Y == "B")
div_dicionario_setaTopEsq.style.visibility = "visible";
else
div_dicionario_setaBottomEsq.style.visibility = "visible";
div_dicionario.style.left = evt.clientX + "px";
}
else
{
if(Y == "B")
div_dicionario_setaTopDir.style.visibility = "visible";
else
div_dicionario_setaBottomDir.style.visibility = "visible";
div_dicionario.style.left = (evt.clientX - 250) + "px";
}
div_dicionario.style.display = "block";
}
function hideDica()
{
div_dicionario.style.display = "none";
}
</script>]]>
|
334
| <![CDATA[<script type="text/javascript">
function getImagensGal(cdGaleria, cdImagem) {
uc_materiaVis.GetImgGal(cdGaleria,
function (res) {
var divImgs = document.createElement("div");
var idDiv = "div" + cdGaleria;
divImgs.setAttribute("id", idDiv);
divImgs.setAttribute("style", "display:none");
if (res.value != null) {
var li = document.createElement("li");
for (var i = 0; i < res.value.Rows.length; i++) {
if (cdImagem != res.value.Rows[i].IDIMAGEM) {
var a = document.createElement("a");
a.href = res.value.Rows[i].CAMINHOORI + res.value.Rows[i].IDIMAGEM + "." + res.value.Rows[i].NMIMAGEMEXTENSAO;
a.setAttribute("class", "fresco");
a.setAttribute("data-fresco-group", "gallery_" + cdGaleria);
a.title = res.value.Rows[i].DSDESCRICAO;
a.setAttribute("data-fresco-caption", res.value.Rows[i].DSDESCRICAO + " - Autor: " + res.value.Rows[i].NMIMAGEMAUTOR);
li.appendChild(a);
}
}
divImgs.appendChild(li);
}
document.getElementById('imagens_galeria').appendChild(divImgs);
}
);
}
</script>]]>
|
375
| <![CDATA[<script type="text/javascript">
Load_Ultimas(0);
</script>]]>
|
381
| <![CDATA[<script type="text/javascript">
var div_dicionario = document.getElementById("div_dicionario");
var div_dicionario_setaTopEsq = document.getElementById("div_dicionario_setaTopEsq");
var div_dicionario_setaTopDir = document.getElementById("div_dicionario_setaTopDir");
var div_dicionario_setaBottomEsq = document.getElementById("div_dicionario_setaBottomEsq");
var div_dicionario_setaBottomDir = document.getElementById("div_dicionario_setaBottomDir");
var div_dicionario_significado = document.getElementById("div_dicionario_significado");
</script>]]>
|
404
| <![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>]]>
|
413
| <![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>]]>
|
444
| <![CDATA[<script type="text/javascript">
//<![CDATA[
(function(){
var hyp_email = document.getElementById("uc_navegacao_hyp_email");
if (hyp_email)
hyp_email.onclick = function () {
Popup('pop_env.aspx?url=http://portaltransparencia.goncalves.mg.gov.br/mat_vis.aspx?cd=16521&titulo=', 'pop_env', 332, 500, -1, -1, 'no', 'no', 'no', 'no');
};
var hyp_imprimir = document.getElementById("uc_navegacao_hyp_imprimir");
if (hyp_imprimir)
hyp_imprimir.onclick = function () {
Popup('pop_print.aspx', 'pop_print', 700, 450, -1, -1, 'no', 'yes', 'no', 'no');
};
})();
//]]>
</script>]]>
|
467
| <![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>]]>
|