﻿// JScript File
function init()
{
isNav = false; 
if (parseInt(navigator.appVersion) >= 4) { 
 if (navigator.appName == "Netscape") { 
  isNav = true; 
 } else { 
  isIE = true 
  coll = "all." 
  styleObj = ".style" 
 } 
} 

tamanho=getwinwidth()
altura=getwinh()

if (tamanho<959) {esquerda=0}
else
{
esquerda=tamanho/2-480
}
 if (isNav==true) { 
k=0
} else { 
document.all['mapa'].style.pixelLeft=esquerda
document.all['mapa'].style.pixelTop=0
document.all['mapa'].style.visibility = 'visible'
}

}

function getwinwidth() { 
 if (isNav) { 
  return window.innerWidth 
 } else { 
  return document.body.clientWidth 
 } 
} 
function getwinh() { 
 if (isNav) { 
  return window.innerHeight
 } else { 
  return document.body.clientHeight 
 } 
} 
  
    function resize() { 
              window.history.go(0); 
    } 


