function doIt1(hideIt)
{
if (document.getElementById)
  document.getElementById('myLayer').style.visibility = (hideIt) ? 'hidden' : 'visible';
else if (document.all)
   document.all['myLayer'].style.visibility = (hideIt) ? 'hidden' : 'visible';
else if (document.layers)
  document.layers['myLayer'].visibility = (hideIt) ? 'hide' : 'show';
}

function killIt()
{

	if (window.generator){
	window.generator.close();
	}
var txt = '<img src="http://www.chron.com/content/news/photos/05/10/14/mplayer/face.gif" width="100">'

   if (document.layers)
   {
     document.layers['myLayer'].document.open();
     document.layers['myLayer'].document.write(txt);
     document.layers['myLayer'].document.close();
   }
  else if (document.getElementById)
      document.getElementById('myLayer').innerHTML = txt;
  else if (document.all)
      document.all.myLayer.innerHTML = txt;
}




function doIt3(whichSong)
{
	if (window.generator){
	window.generator.close();
	}
  var txt = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="100" height="52" id="mplayer" align="middle"><param name="allowScriptAccess" value="sameDomain" /><PARAM NAME="FlashVars" VALUE="playSong='+whichSong+'"><param name="wmode" value="transparent"><param name="movie" value="http://www.chron.com/content/news/photos/05/10/14/mplayer/mplayer.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="http://www.chron.com/content/news/photos/05/10/14/mplayer/mplayer.swf" FlashVars="playSong='+whichSong+'" wmode="transparent" quality="high" bgcolor="#ffffff" width="100" height="52" name="mplayer" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>'

   if (document.layers)
   {
     document.layers['myLayer'].document.open();
     document.layers['myLayer'].document.write(txt);
     document.layers['myLayer'].document.close();
   }
  else if (document.getElementById)
      document.getElementById('myLayer').innerHTML = txt;
  else if (document.all)
      document.all.myLayer.innerHTML = txt;
}


function playerpop(whichSong)
{

var txt = '<img src="http://www.chron.com/content/news/photos/05/10/14/mplayer/face.gif" width="100">'

   if (document.layers)
   {
     document.layers['myLayer'].document.open();
     document.layers['myLayer'].document.write(txt);
     document.layers['myLayer'].document.close();
   }
  else if (document.getElementById)
      document.getElementById('myLayer').innerHTML = txt;
  else if (document.all)
      document.all.myLayer.innerHTML = txt;
      
      
var w = 480, h = 340;

if (document.all || document.layers) {
   w = screen.availWidth;
   h = screen.availHeight;
}

var popW = 150, popH = 100;

var leftPos = (w-popW)/2, topPos = (h-popH)/2;



  generator=window.open('','popup','width=' + popW + ',height=' + popH + ',top=' + topPos + ',left=' + leftPos + ',resizable=0,toolbar=0,scrollbars=0,location=0,status=0,menubar=0');
  
  generator.document.write('<html><head><title>player</title>');
  generator.document.write('</head><body onLoad="javascript:self.focus()">');  
  generator.document.write('<center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="100" height="52" id="mplayer" align="middle"><param name="allowScriptAccess" value="sameDomain" /><PARAM NAME="FlashVars" VALUE="playSong='+whichSong)
  generator.document.write('"><param name="wmode" value="transparent"><param name="movie" value="http://www.chron.com/content/news/photos/05/10/14/mplayer/mplayer.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="http://www.chron.com/content/news/photos/05/10/14/mplayer/mplayer.swf" FlashVars="playSong='+whichSong)
  generator.document.write('" wmode="transparent" quality="high" bgcolor="#ffffff" width="100" height="52" name="mplayer" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>')
  generator.document.write('<p><a href="javascript:self.close()"><font face="arial" color="gray" size="2">Close</font></a></center>');
  generator.document.write('</body></html>');
  generator.document.close();
}