
function AbreRadioTheBoy() {
  url ="http://radio.terra.com.br/playersG/index.php?skin=skin_1&tipoPlayer=1&id=boy&texto=The Boy&vinheta=1&comercial=1&inicio=1&alt_id=23914";
   JanPlayerRadioTerra = window.open(url,'JanPlayerRadioTerra','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,screenX=50,screenY=80,left=50,top=80,width=471,height=320');
  JanPlayerRadioTerra.creator = self;
  JanPlayerRadioTerra.focus();   
  }

 //banner
var pagina = "br.terra.theboy/geral";
Num=Math.floor (Math.random()*1000000);
 
 // abre janela maximizada
function abreM(url,janela,scroll){
W = eval(screen.width)-10;
H = eval(screen.height)-54;

window.open(url,janela,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars="+scroll+",resizable=no,copyhistory=no,width="+W+",height="+H+",top=0,left=0");
}

// abre janela
function abre(url,janela,larg,alt,scroll,pos1,pos2){
 window.open(url,janela,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars='+scroll+',resizable=no,copyhistory=no,top="+pos1+",left="+pos2+",screenY="+pos1+",screenX="+pos2+",width="+larg+",height="+alt);
}

// abre janela fale
function abrefale(url,janela,larg,alt,scroll){
window.open(url,janela,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars="+scroll+",resizable=no,copyhistory=no,width="+larg+",height="+alt);
}
<!-- abre pop up
function popup(pagina,janela,largura,altura){
var desktopname = window.open(pagina,janela,'width='+largura+',height='+altura+',toolbar=no,copyhistory=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,top=0,left=0');
desktopname.focus();
}
//-->

<!--
window.defaultStatus="••• TE VI Aki ••• O site da Galera! •••"
//-->

<!-----
function hv(signo){
url="http://www.horoscopovirtual.com.br/horoscopo/?signo=" + signo + "&parceiro=buscaaqui"
window.open(url,"hv", "resizable=yes,toolbar=no,location=no,directories=no,status=no, menubar=no,toolbar=no,scrollbars=no,maximized=yes,copyhistory=no,width=370,height=370")}
//-->

<!-----
var current = 0
var x = 0
var speed = 100
var back = 20
var speed2 = 2000
var back2 = 250

function initArray(n) {
this.length = n;
for (var i =1; i <= n; i++) {
this[i] = ' '
}
} 

typ = new initArray(3)
typ[0]="• • • • • • • • • • • • • • • • • • • • •       "
typ[1]="•••  www.TEVIAKI.com  •••          "
typ[2]="••• Xique-Xique - Bahia - Brasil •••        "

function typewrite() {

var m = typ[current] 
window.status = m.substring(0, x++) 
if (x == m.length + 1) {
setTimeout("erase()", back2)
} 
else {
setTimeout("typewrite()", speed)
}
} 

function erase() {

var m = typ[current] 
window.status = m.substring(0, x--) 
if (x < 0) {
	current++
	setTimeout("typewrite()", speed2) 
	if (current > typ.length - 1) {
		current = 0
	}
} 
	else {
		setTimeout("erase()", back)
		}
}
typewrite()
//-->

<!--
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);
//-->

function muda(id){
	document.getElementById(id).className=='visivel' ? 	document.getElementById(id).className='invisivel' : document.getElementById(id).className='visivel'
}