
// this function embeds a flash movie in a page
// using this avoids the tooltip prompting the user to click to activate
function embedFlashMovie(swfName, w, h) {
	var s = "";
	s += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="' + w + '" height="' + h + '" accesskey="1"> ';
	s += '<param name="movie" value="'+ swfName +'" /> ';
	s += '<param name="wmode" value="transparent" />';
	s += '<param name="quality" value="high" /> ';
	s += '<embed src="' + swfName + '" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + w + '" height="' + h + '"></embed> ';
	s += '</object>';
//	alert (s);
	document.write(s);
}