function abreJanela(url, nome, caracteristicas)
{ 
	window.open(url, nome, caracteristicas);
}
function escreveData() 
{ 
  day = new Date() 
  num_dia = day.getDate() 
  dia = day.getDay() 
  mes = day.getMonth() 
  ano = day.getYear() 

  nomeMes = new Array("janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro") 
  dataext = num_dia + " de " + nomeMes[mes] + " de " + ano 

  return dataext; 
} 
function ativo(src) {
if (!src.contains(event.fromElement))
 {
    src.bgColor = '#FFFFFF';
	src.style.color = '#C64706';
	src.style.cursor = "hand";
 }
}
function inativo(src) {
if (!src.contains(event.toElement))
 {
	  src.bgColor = '#24598B';
	  src.style.color = '#FFFFFF';
	  src.style.cursor = "default";
 }
}