function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=1,menubar=0,resizable=0,width=720,height=535,left = 627.5,top = 489.5');");
}
function listenAgain(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=1,menubar=0,resizable=0,width=720,height=400,left = 627.5,top = 489.5');");
}
function report() {
day = new Date();
id = day.getTime();
URL = 'http://xtremeradio.org/report';
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=1,menubar=0,resizable=0,width=380,height=500,left = 627.5,top = 489.5');");
}
function popUp_webcam(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=1,menubar=0,resizable=0,width=450,height=700,left = 627.5,top = 489.5');");
}
var popup_webcamWindow=null;
function popup_webcam(mypage,myname,w,h,pos,infocus){

if (pos == 'random')
{LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
else
{LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
settings='width='+ w + ',height='+ h + ',top=' + TopPosition + ',left=' + LeftPosition + ',scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';popup_webcamWindow=window.open('',myname,settings);
if(infocus=='front'){popup_webcamWindow.focus();popup_webcamWindow.location=mypage;}
if(infocus=='back'){popup_webcamWindow.blur();popup_webcamWindow.location=mypage;popup_webcamWindow.blur();}

}