function atualizaHora(div){  
    
var data = new Date();    
// *** Pega a hora

var h = data.getHours();

// *** Pega os minutos 
var m = data.getMinutes();
m = checaTempo(m)
// *** Pega os segundos
s = data.getSeconds();
s = checaTempo(s);
// *** Hora no formato impresso.
horaFinal = h+"h"+m+"m"+s+"s";     

document.getElementById(div).innerHTML = horaFinal;

return true;
}
function checaTempo(i)
{
if (i<10)
  {
  i="0" + i;
  }
return i;
}
/*
Aumentar fonte da noticia
*/
 function aumentaFonte(div,valor){    
    if(valor === "+"){
        if(parseInt(document.getElementById(div).style.fontSize) < 24){
        document.getElementById(div).style.fontSize = parseInt(document.getElementById(div).style.fontSize) + 4+"pt";
    }
    }else{
        if(parseInt(document.getElementById(div).style.fontSize) > 8){
        document.getElementById(div).style.fontSize = parseInt(document.getElementById(div).style.fontSize) - 4+"pt";  
        }      
    }
    return true;
    }
//Equilibra os tamnhos das divs para ficar com o tamanho iguais.
    
    function alturaDivs(div1,div2){
        if(document.getElementById(div1).offsetHeight > document.getElementById(div2).offsetHeight){// Div1 = 44 , Div2 = 22
            document.getElementById(div2).style.height = document.getElementById(div1).clientHeight+"px";
        }else{
            document.getElementById(div1).style.height = document.getElementById(div2).clientHeight+"px";
        }
        return(true);
    }
// Funções do Letreiro


