// $Id: ie_embed_hack.js 18 2009-01-05 19:58:01Z ronnie $

// work around having to first activate the object in IE by clicking on it 
function ie_embed_hack_flash_player() {
	document.write('<object id="music" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"');
	document.write(' codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"');
	document.write(' width="24" height="24">');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('<param name="movie" value="music.swf" />');
	document.write('<param name="quality" value="high" />');
	document.write('<embed name="music" src="music.swf" quality="high" width="24" height="24"');
	document.write(' allowScriptAccess="sameDomain" type="application/x-shockwave-flash"');
	document.write(' pluginspage="http://www.macromedia.com/go/getflashplayer"');
	document.write('/>');
	document.write('</object>');
}

