function changeto(highlightcolor)
  {
    source=event.srcElement
    if (source.tagName=="TR"||source.tagName=="TABLE") return;
    while(source.tagName!="TD") source = source.parentElement;
    if (source.style.backgroundColor != highlightcolor && source.id != "ignore")
    {
      source.style.backgroundColor = highlightcolor;
      source.style.cursor = 'hand';
    }
  }
function changeback(originalcolor)
  {
    if (event.fromElement.contains(event.toElement) || source.contains(event.toElement) || source.id == "ignore") return;
    if (event.toElement != source) source.style.backgroundColor = originalcolor;
  }
function clique(src)
  {
    if(event.srcElement.tagName == 'TD') src.children.tags('A')[0].click();
  }

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

var tempo
function animaLayer(camada,altura,largura,count){
  count    = count+6;
  countx   = count;
  camadax  = camada;
  alturax  = altura;
  largurax = largura;
  document.all[camada].style.visibility = "visible";
  document.all[camada].style.width  = largura+"px";
  document.all[camada].style.height = count+"px";

  if(altura <= count){
	return false;
    clearTimeout(tempo);
  }
  tempo = setTimeout("animaLayer(camadax,alturax,largurax,countx)",1);
}

function voltaLayer(camada){
  clearTimeout(tempo);
  document.all[camada].style.width  = "0px";
  document.all[camada].style.height = "0px";
  document.all[camada].style.visibility = "hidden";
  
}
