function stopper() {
	document.getElementById("flashcontent").innerHTML = "";
	$("#nuspelend").fadeOut("slow");
	document.getElementById('radiotitel').innerHTML = "Radio gestopt";
}


         function streamer(stream) {
         
	var so = new SWFObject("nativeradio2small.swf", "nativeradio", "500", "50", "10", "#1e1e1e");
	so.addParam("scale", "noscale");
	so.addVariable("swfwidth", "500");
	so.addVariable("swfcolor", "1e1e1e");
	so.addVariable("swfradiochannel", "MartijnBurg.nl Radio");
	so.addVariable("swfstreamurl", stream);
	so.addVariable("swfpause", "0");
	so.write("flashcontent");
	}
	
//player 

function player(naam) {
switch (naam)
{
case "energy":
  titel= "Energy 98";
  website ="http://www.energy981.com";
  stream = "http://207.200.96.226:8004";
  afbeelding = "logo/energy.png";
  omschrijving ="Your #1 Choice for dance music!";
  break;
case "c89":
  titel= "C89.5";
  website ="http://c895worldwide.com/";
  stream = "http://208.76.152.74:8000";
  afbeelding = "logo/c89.png";
  omschrijving ="Seattles Hottest Music";
  break;
 case "fgdj":
  titel= "FG DJ Radio";
  website ="http://www.radiofg.com/";
  stream = "http://87.98.215.52";
  afbeelding = "logo/fg.png";
  omschrijving ="Fucking good music.";
  break; 
  case "slam":
  titel= "SLAM";
  website ="http://www.radiofg.com/";
  stream = "http://stream.slamfm.true.nl/slamfm";
  afbeelding = "logo/slamfm.png";
  omschrijving ="The new music station";
  break;
   case "power":
  titel= "Power 181";
  website ="http://www.181.fm/";
  stream = "http://scfire-ntc-aa02.stream.aol.com:80/stream/1023";
  afbeelding = "logo/power.png";
  omschrijving ="The hitz channel";
  break; 
   case "dolfijn":
  titel= "Dolfijn FM";
  website ="http://www.dolfijnfm.com";
  stream = "http://70.34.209.6:8226";
  afbeelding = "logo/dolfijn.gif";
  omschrijving ="Het riteme vanje eiland!";
  break;  
  
default:
  titel= "C89.5";
  website ="http://c895worldwide.com/";
  stream = "http://208.76.152.74:8000";
  afbeelding = "logo/c89.png";
  omschrijving ="Seattles Hottest Music";
 break;
}
streamer(stream);
}

