	function playradio(clip,clipname){
			$("#radioJukeBox").hide("fast");
			$("#radioJukeBox").remove();
			var appendHtml = "<div id='radioJukeBox'></div>";
			clip.append(""+appendHtml);
			$("#radioJukeBox").show("normal");
			setupplayer();
			callradio(clipname);
 	 	}
 	
 	 
 	 function setupplayer(){
 	 $f("radioJukeBox","/mcot/player/flowplayer.commercial-3.1.5.swf",{
			plugins: {
				controls: {
					url: '/mcot/player/flowplayer.controls-3.1.5.swf',
					fullscreen:false,
					mute :false,
					time : false
				},
				audio: { 
		           url: '/mcot/player/flowplayer.audio-3.1.2.swf' 
				},				
				// setup the RTMP streaming plugin
				wowza: {
					url: '/mcot/player/flowplayer.rtmp-3.1.3.swf',
					netConnectionUrl: 'rtmp://61.47.61.3:1935/securestreaming?doConnect=8vogoH8'
				},
				// setup the secure streaming plugin
				 secure: { url: '/mcot/player/flowplayer.securestreaming-3.1.1.swf'}
			}
 	 });
 	 }
	
	function mychkfile(clipname){
		if(clipname != ""){
		
		var completefile = "";
		var clippath = clipname.split("/");
		var typefile = clippath[clippath.length-1].split(".");
		var newpath = "";
		for (var i = 1; i < clippath.length-1; i++) {
			newpath +='/'+clippath[i]+'';
		} 
		if (typefile[1] == "mp3"){
			completefile = newpath+'/mp3:'+typefile[0];
		}
		return completefile;
		}
	}	 
 	 	
 	function callradio(clipname) {
 			var fullclippath = mychkfile(clipname);
 			
	  		$f("radioJukeBox","/mcot/player/flowplayer.commercial-3.1.5.swf",{
	 		key: '#$e031c2194469facb998',						
			clip: { 
				provider:'wowza',
				connectionProvider: 'secure',
				url:fullclippath,
				autoPlay: true, 
				autoBuffering: true      
			}
			,  
			plugins: {
				controls: {
					url: '/mcot/player/flowplayer.controls-3.1.5.swf',
					fullscreen:false,
					mute :false,
					time : false
				},
				audio: { 
		           url: '/mcot/player/flowplayer.audio-3.1.2.swf' 
				},				
				// setup the RTMP streaming plugin
				wowza: {
					url: '/mcot/player/flowplayer.rtmp-3.1.3.swf',
					netConnectionUrl: 'rtmp://61.47.61.3:1935/securestreaming?doConnect=8vogoH8'
				},
				// setup the secure streaming plugin
				 secure: { url: '/mcot/player/flowplayer.securestreaming-3.1.1.swf'}
			}
			});
		}
