function tPermanencia(){
 var txtP='Rádio Amiga-Mania - A Sua Rádio Online';
 window.status=txtP;
 setTimeout("tPermanencia()",1000);
}

tPermanencia();

function popupWin() {
text =  "<html>\n<head>\n<title>Rádio Amiga-Mania</title>\n</head>\n<body>";
text += "<a href='http://Radio-Amiga-Mania.sytes.net/'><embed name='titulo' src='Radio_Amiga-Mania.swf' width='302' height='69'></a>\n";
text += "<embed style='FILTER: xray' name='RAOCXplayer' src='http://amiga-mania.no-ip.org:30001/' type='application/x-mplayer2' width='302' height='69' ShowC.'1' ShowStatusBar='1' AutoSize='true' AutoStart='true' EnableC.'0' DisplaySize='0' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/'></embed>";
text += "\n<b>Para Ouvir a Rádio Pelo WinAMP</b> <a href='http://amiga-mania.no-ip.org:30001/listen.pls'>Clique Aqui</a></body>\n</html>\n";
windowProp(text);	
}
function windowProp(text) {
newWindow = window.open('','newWin','width=315,height=160,top=150,left=150');
newWindow.document.write(text);	
}
gjtemp();
function gjtemp() {
  window.open('http://amiga-mania.no-ip.org:30001','newUp','width=372,height=690,top=50,left=600');
}

function expandingWindow(website) {
var heightspeed = 2;
var widthspeed = 7;  
var leftdist = 0;    
var topdist = 0;    
if (document.all) {
var winwidth = window.screen.availWidth - leftdist;
var winheight = window.screen.availHeight - topdist;
var sizer = window.open("","","left=" + leftdist + ",top=" + topdist + ",width=1,height=1,scrollbars=yes");
for (sizeheight = 1; sizeheight < winheight; sizeheight += heightspeed) {
sizer.resizeTo("1", sizeheight);
}
for (sizewidth = 1; sizewidth < winwidth; sizewidth += widthspeed) {
sizer.resizeTo(sizewidth, sizeheight);
}
sizer.location = website;
}
else
window.location = website;
}

function abrir(page) {
OpenWin = this.open(page, "CtrlWindow", "toolbar=yes,menubar=yes,location=yes,scrollbars=yes,resizable=yes");
}

function high(which2)
{
theobject=which2;
highlighting=setInterval("highlightit(theobject)",50);
	
}
function low(which2)
{
clearInterval(highlighting);
which2.filters.alpha.opacity=50;
}
function highlightit(cur2)
{
if(cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=5
else if(window.highlighting)
clearInterval(highlighting)
}