var name='';
var openURL='';
function launchFullChrome(openurl, name) {
 var h = screen.availHeight - 28;
  var w = screen.availWidth - 10;
  BigWindow=window.open(openurl, name,'scrollbars=no,width=' + w + ',height=' + h);
  BigWindow.moveTo(0, 0);
BigWindow.focus();
// self.moveTo(0, 0);
// self.blur();
}



  function launchflash(moviename) {
	var screenWidth;
	var moviename;
	screenWidth = screen.width;

			document.write("<HTML><Head><title>CBC Radio 3</title>");
document.write("<SCRIPT LANGUAGE=\'JavaScript\'>");
document.write("function playerpopup() {");
document.write("playerWindow=window.open(\'http://www.120seconds.com\', \'CBC Radio 3\',\'scrollbars=yes,width=330,height=42\');</script></Head>");
document.write("<BODY bgcolor=\'#000000\'  leftmargin=\'0\' topmargin=\'0\' marginwidth=\'0\' marginheight=\'0\'>");
	if (screenWidth > 800) {

		document.write("<div align=\'center'\>");
		document.write("<table width=\'100%\' height=\'100%\' border=\'0\' cellspacing=\'0\' cellpadding=\'0\'>");
		document.write("<tr><td valign=\'middle\' align=\'center\'>");

	document.write("<OBJECT classid=\'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\' codebase=\'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,47,0' ID=cbcr3 WIDTH=1014 HEIGHT=716>\n");
          document.write("<PARAM NAME=movie VALUE=\'"+moviename+"\'>\n");
          document.write("<PARAM NAME=loop VALUE=false>\n");
          document.write("<PARAM NAME=quality VALUE=high>\n");
          document.write("<PARAM NAME=scale VALUE=scale>\n");
		  document.write("<PARAM NAME=menu VALUE=false>");
          document.write("<PARAM NAME=bgcolor VALUE=#000000>\n");
          document.write("<EMBED src=\'"+moviename+"\' loop=false quality=high menu=false bgcolor=#000000  WIDTH=1014 HEIGHT=716 swLiveConnect=true NAME=cbcr3 TYPE=\'application/x-shockwave-flash\' PLUGINSPAGE=\'http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\'>\n");
          document.write("</EMBED>\n");
        document.write("</OBJECT>\n");
       document.write(" </td></tr></table></div>");
		}
		else {
					document.write("<div align=\'center'\>");
document.write("<table width=\'100%\' height=\'100%\' border=\'0\' cellspacing=\'0\' cellpadding=\'0\'>");
document.write("<tr><td valign=\'middle\' align=\'center\'>");
	document.write("<OBJECT classid=\'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\' codebase=\'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,47,0' ID=cbcr3 WIDTH=790 HEIGHT=558>\n");
          document.write("<PARAM NAME=movie VALUE=\'"+moviename+"\'>\n");
          document.write("<PARAM NAME=loop VALUE=false>\n");
          document.write("<PARAM NAME=quality VALUE=high>\n");
		  document.write("<PARAM NAME=menu VALUE=false>");
		  document.write("<PARAM NAME=scale VALUE=scale>\n");
          document.write("<PARAM NAME=bgcolor VALUE=#000000>\n");
          document.write("<EMBED src=\'"+moviename+"\' loop=false quality=high bgcolor=#000000 menu=false WIDTH=790 HEIGHT=558 swLiveConnect=true NAME=cbcr3 TYPE=\'application/x-shockwave-flash\' PLUGINSPAGE=\'http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\'>\n");
          document.write("</EMBED>\n");
        document.write("</OBJECT>\n");
          document.write(" </td></tr></table></div>");

		}	

		document.write("</BODY></HTML>");
	
}
	
