function open_new_window(url) {
  window.open(url,"",'width=600,height=310');
}

function mini_playlist(chan_name) {
  window.open('/pro/playlist/?'+chan_name, '','dependent=1,directories=0,height=500,width=550,location=0');
}

function breakout_frame()
{
  if (top.location != location) {
    top.location.href = document.location.href ;
  }
}


function hidestatus(statusmsg){
window.status=statusmsg;
return true;
}


function aboutThisCodec(CODEC) 
{
	URL = 'http://www.sky.fm/reference/codec_' + CODEC + '.php';
    window.open(URL,"CodecInfo", 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=500,height=470,left=450,top=250');
	
}

function playWM(channelTitle) 
{
	window.open( "/play/wm/" + channelTitle, "wmPlayer", "status = 1, height = 412, width = 470, resizable = 0" );
}
