function MediaPlayer0 (addr, w, h)
{
	url="http://" + addr;
	properties = "width=" + w +", height=" + h +", left=30, top=30, screenx=30, screeny=30, status=0, scrollbars=0, resize=0, menubar=0, toolbar=0";
	window.open (url, "MediaradioPlayer", properties);
	
	urlpop="http://www.mediaradio.ca/m8371.html";
	properties2 = "width=370, height=300, left=550, top=450, screenx=550, screeny=450, status=0, scrollbars=0, resize=0, menubar=0, toolbar=0";
	window.open (urlpop, "PopupAd", properties2);
}

function MediaPlayer1 (sta1)
{
	url="/player1.php?station=" + sta1;
	properties = "width=770, height=250, left=30, top=30, screenx=30, screeny=30, status=0, scrollbars=0, resize=0, menubar=0, toolbar=0";
	window.open (url, "MediaradioPlayer", properties);
	
	urlpop="http://www.mediaradio.ca/m8371.html";
	properties2 = "width=370, height=300, left=550, top=450, screenx=550, screeny=450, status=0, scrollbars=0, resize=0, menubar=0, toolbar=0";
	window.open (urlpop, "PopupAd", properties2);
}

function MediaPlayer2 (addr, logo, call, loc)
{
	url="http://mirkwood.mediaradio.ca/mplayer.php?stream=http://" + addr + "&logo=" + logo + "&call=" + call + "&loc=" + loc;
	properties = "width=770, height=250, left=30, top=30, screenx=30, screeny=30, status=0, scrollbars=0, resize=0, menubar=0, toolbar=0";
	window.open (url, "MediaradioPlayer", properties);
	
	urlpop="http://www.mediaradio.ca/m8371.html";
	properties2 = "width=370, height=300, left=550, top=450, screenx=550, screeny=450, status=0, scrollbars=0, resize=0, menubar=0, toolbar=0";
	window.open (urlpop, "PopupAd", properties2);
}

function MediaPlayer3 (logo, call, loc, sta3)
{
	url="http://isengard.mediaradio.com/iplayer.php?call=" + call + "&logo=" + logo + "&loc=" + loc + "&sta3=" + sta3;
	properties = "width=770, height=250, left=30, top=30, screenx=30, screeny=30, status=0, scrollbars=0, resize=1, menubar=0, toolbar=0";
	window.open (url, "MediaradioPlayer", properties);
	
	urlpop="http://www.mediaradio.ca/m8371.html";
	properties2 = "width=370, height=300, left=550, top=450, screenx=550, screeny=450, status=0, scrollbars=0, resize=0, menubar=0, toolbar=0";
	window.open (urlpop, "PopupAd", properties2);
}

function MediaPlayer4 (addr, logo, call, loc)
{
	url="http://fangorn.mediaradio.com/fplayer.php?stream=http://" + addr + "&logo=" + logo + "&call=" + call + "&loc=" + loc;
	properties = "width=770, height=250, left=30, top=30, screenx=30, screeny=30, status=0, scrollbars=0, resize=0, menubar=0, toolbar=0";
	window.open (url, "MediaradioPlayer", properties);
	
	urlpop="http://www.mediaradio.ca/m8371.html";
	properties2 = "width=370, height=300, left=550, top=450, screenx=550, screeny=450, status=0, scrollbars=0, resize=0, menubar=0, toolbar=0";
	window.open (urlpop, "PopupAd", properties2);
}

function MediaPlayer5 (addr, logo, call, loc)
{
	url="http://mirkwood.mediaradio.ca/mplayer.php?stream=" + addr + "&logo=" + logo + "&call=" + call + "&loc=" + loc;
	properties = "width=770, height=250, left=30, top=30, screenx=30, screeny=30, status=0, scrollbars=0, resize=0, menubar=0, toolbar=0";
	window.open (url, "MediaradioPlayer", properties);
	
	urlpop="http://www.mediaradio.ca/m8371.html";
	properties2 = "width=370, height=300, left=550, top=450, screenx=550, screeny=450, status=0, scrollbars=0, resize=0, menubar=0, toolbar=0";
	window.open (urlpop, "PopupAd", properties2);
}

function MediaPlayer6 (logo, call, loc, usid)
{
	url="http://argonath.mediaradio.com/aplayer.php?call=" + call + "&logo=" + logo + "&loc=" + loc + "&usid=" + usid;
	properties = "width=770, height=250, left=30, top=30, screenx=30, screeny=30, status=0, scrollbars=0, resize=1, menubar=0, toolbar=0";
	window.open (url, "MediaradioPlayer", properties);
	
	urlpop="http://www.mediaradio.ca/m8371.html";
	properties2 = "width=370, height=300, left=550, top=450, screenx=550, screeny=450, status=0, scrollbars=0, resize=0, menubar=0, toolbar=0";
	window.open (urlpop, "PopupAd", properties2);
}
