<!--
function resizeIt() {
  if (navigator.appName == 'Netscape') {
    if (saveInnerWidth < window.innerWidth ||
        saveInnerWidth > window.innerWidth ||
        saveInnerHeight > window.innerHeight ||
        saveInnerHeight < window.innerHeight )
    {
        window.history.go(0);
    }
  }
}


if (navigator.appName == 'Netscape') {
  if(typeof window.saveInnerWidth == 'undefined') {
    window.onresize = resizeIt;
    window.saveInnerWidth = window.innerWidth;
    window.saveInnerHeight = window.innerHeight;
  }
}

function foc(){
self.focus();
}
//-->

<!--Codigos para linkar as células

function LmOver(elem, clr)
         {elem.style.backgroundColor = clr;
          elem.children.tags('A')[0].style.color = "#FF0000";
          elem.style.cursor = 'hand'}

function LmOut(elem, clr)
         {elem.style.backgroundColor = clr;
          elem.children.tags('A')[0].style.color = "#000000"}

function LmDown(elem, clr)
         {elem.style.backgroundColor = clr;
          elem.children.tags('A')[0].style.color = "#FFFFFF"}

function LmUp(path)
         {location.href = path;}

//-->

        hoje = new Date()
         dia = hoje.getDate()
        dias = hoje.getDay()
         mes = hoje.getMonth()
         ano = hoje.getYear()

        if (dia < 10)
                 dia = "0" + dia

        if (ano < 2000)
                 ano = "19" + ano

        function CriaArray (n) {

        this.length = n }

        NomeDia = new CriaArray(7)
        NomeDia[0] = "" // "Domingo"
        NomeDia[1] = "" // "Segunda"
        NomeDia[2] = "" // "Terça"
        NomeDia[3] = "" // "Quarta"
        NomeDia[4] = "" // "Quinta"
        NomeDia[5] = "" // "Sexta"
        NomeDia[6] = "" // "Sábado"

        NomeMes = new CriaArray(12)
        NomeMes[0] = "01"
        NomeMes[1] = "02"
        NomeMes[2] = "03"
        NomeMes[3] = "04"
        NomeMes[4] = "05"
        NomeMes[5] = "06"
        NomeMes[6] = "07"
        NomeMes[7] = "08"
        NomeMes[8] = "09"
        NomeMes[9] = "10"
        NomeMes[10] = "11"
        NomeMes[11] = "12"

function WriteDate() {
         document.write ("<font color='#B5B5B5' size='1' face='Verdana'><b>"+NomeDia[dias] + dia + "/" + NomeMes[mes] + "/" + ano + "</b></font>")
}


// PopUP functions direto no link
function newWin(link,w,h,s,r) {
  var winFeatures = 'width=' + w + ',height=' + h + ',scrollbars=' + s + ',resizable=' + r;
  var bookWindow = window.open(link, "", winFeatures);
}