function Embed_Flash( swf , width , height , transparent , params ) {
	var wmode = (transparent) ? "transparent" : "opaque";

	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" style="z-index: 1;"');
	document.write(' codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=6,0,0,0"');
	document.write(' WIDTH=' + width + ' HEIGHT=' + height + '>');
	document.write('  <PARAM NAME=movie VALUE="'+swf+'"> ');
	document.write('  <PARAM NAME=quality VALUE=autohigh> ');
	document.write('  <param name="wmode" value="'+wmode+'" />');
	document.write('  <param name="FlashVars" value="'+params+'" />' );
	document.write('  <param name="loop" value="true" />');
	document.write('  <param name="play" value="true" />');
	document.write('<EMBED SRC="'+swf+'" wmode="'+wmode+'"');
	document.write(' swLiveConnect=TRUE WIDTH='+width+ ' HEIGHT='+height);
	document.write(' QUALITY=autohigh ');
	document.write(' loop=true ');
	document.write(' play=true ');
	document.write(' FlashVars="'+params+'"' );
	document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
	document.write('</EMBED>');
	document.write('</OBJECT>');
}
