// script que condiciona o Browser do menu de SERVIÇOS PARA VOCÊ
NS4 = (document.layers);
IE4 = (document.all);
    ver4 = (NS4 || IE4);
         IE5 = (IE4 && navigator.appVersion.indexOf("5.")!=-1);
   isMac = (navigator.appVersion.indexOf("Mac") != -1);
  isMenu = (NS4 || (IE4 && !isMac) || (IE5 && isMac));
function popUp(){return};
function popDown(){return};
if (!ver4) event=null;
// fim do script


// script dhtml do menu dropdown de serviços
var netscape = (navigator.appName.indexOf("Netscape") >= 0 && parseFloat(navigator.appVersion) >= 4) ? true : false;
var explorer = (document.all) ? true : false;
function HideLayer(layer) { if (netscape) document[layer].visibility = "hide"; if (explorer) document.all[layer].style.visibility = "hidden"; }
function ShowLayer(layer) { if (netscape) document[layer].visibility = "show"; if (explorer) document.all[layer].style.visibility = "visible";}

//script "Avalie esta página".
function openIT(pg){ W=150; H=250; A=screen.height; L=screen.width;window.open(pg, "avalia", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width="+W+",height="+H+", left="+(L-W-28)+", top="+(A-H-101), true);}

// Pop-ups de investimentos
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
