//main.js niet meer gebruiken
var kanalen=new Array();
kanalen=[
"arrow","http://www.arrow.nl:80/streams/Rock32kaac.pls",
"arrowjazz","http://www.arrow.nl:80/streams/Jazz32kaac.pls",
"caz","http://www.arrow.nl:80/streams/Caz32kaac.pls",
"radio5","http://shoutcast.omroep.nl:8108/listen.pls",
"radio538","http://82.201.100.9:8000/radio538",
"juizefm","http://82.201.100.9:8000/MobileJuize",
"538dancedept","http://82.201.100.10:8000/RD01_538_Dancedepartment",
"538nonstop40","http://82.201.100.10:8000/RD02_NonStop40",
"53L8","http://82.201.100.10:8000/WEB21",
"538hitzone","http://82.201.100.10:8000/WEB11",
"538party","http://82.201.100.10:8000/WEB16mobiel",
"90hits","http://82.201.100.10:8000/RD10_Radio10Gold_90s_Hits",
"radioatwork","http://82.201.100.10:8000/WEB19",
"ozradio","http://82.201.100.10:8000/WEB12",
"flashbackradio","http://82.201.100.10:8000/RD05_R10_80s",
"decibel","http://212.61.66.79:8070/listen.pls",
"3fm","http://shoutcast.omroep.nl:8104/listen.pls",
"radio1","http://shoutcast.omroep.nl:8100/listen.pls",
"radio2","http://shoutcast.omroep.nl:8102/listen.pls",
"radio4","http://shoutcast.omroep.nl:8106/listen.pls",
"radio6","http://shoutcast.omroep.nl:8110/listen.pls",
"funx","http://icecast.xs4all.nl:8000/funx",
"kxradio","http://80.247.160.153:4000/listen.pls",
"freshfm","http://www.fresh.fm/media/audio/ListenHigh.pls",
"freshfm","http://213.132.182.121:80",
"radionl","http://mobile.radionl.fm:7000/",
"kinkfm","http://81.173.3.20:80/listen.pls",
"kinderradio","http://stream.kinderradio.fm:80/kinderradio",
"classx","http://81.173.3.24:80/listen.pls",
"kinkaardschok","http://81.173.3.25:80/listen.pls",
"kinderradio","http://stream.kinderradio.fm/kinderradio",
"veronicafm","http://217.196.35.12/iphone/radioveronica",
"gigantfm","http://www.gigantfm.nl/listen/listen.pls",
"rtllounge","http://82.201.100.9:8000/MobileRTLLounge",
"xxxtop4000","http://streams14.mobilaria.com:8000/r10gt4000.aac",
"gigantfm","http://gigantfm.ic-stream.nl:7206",
"skyradio","http://217.196.35.12/iphone/skyradio",
"tmfradio","http://217.196.35.12/iphone/tmfradio",
"summerhits","http://217.196.35.12/iphone/summerhits",
"skylovesongs","http://217.196.35.12/iphone/skyradiolovesongs",
"skychristmas","http://217.196.35.12/iphone/thechristmasstation",
"veronica80hits","http://217.196.35.12/iphone/veronicatop880",
"top590","http://217.196.35.12/iphone/veronicatop590",
"top1000","http://217.196.35.12/iphone/veronicatop1000allertijden",
"concertzender","http://streams.greenhost.nl:8080/concertzenderlive",
"bnnfm","http://shoutcast.omroep.nl:8012",
"100pnl","http://wm1.streaming.castor.nl:8000/100pctnl.mp3",
"cazfm","http://81.173.3.22:80",
"slamfm","http://stream02.slamfm.trueserver.nl:8000/slamfm",
"classicfm","http://217.196.35.12:80/iphone/classicfm",
"laserradio","http://lasermedia.nl:80/IPhone.m3u",
"radio10gold","http://82.201.100.9:8000/MobileRadio10",
"nashvillefm","http://83.96.137.190:5222",
"q-music","http://www.q-music.nl:80/live/qmusic_iphone.m3u",
"zomerradio","http://82.201.100.10:8000/WEB15mobiel",
];
//
function go(z){
	var streamURL = "";
	for(var i=0;i<kanalen.length;i=i+2){
		if(kanalen[i].indexOf(z)!=-1){
			streamURL=kanalen[i+1];
			break;
		}
	}
	//alert(streamURL);
	window.open(streamURL);
	view2Txt = 
	'<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" id="radio" ' +
	'HEIGHT=00 WIDTH=0><PARAM NAME="src" VALUE="' + streamURL  + '"></object>';
	document.getElementById('view2').innerHTML = view2Txt;
	document.radio.Play();
	pageTracker._trackPageview("/iphone/" + z); 
}

