
function OuterJS_FlashEmbed(idname, moviesrc, bgcolor, swliveconnect, width, height, allowScriptAccess, wmode) {

	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" WIDTH="' + width + '" HEIGHT="' + height + '" id="' + idname + '"  name="' + idname + '" ALIGN="">  ') ;
	document.write('<PARAM NAME=movie VALUE="' + moviesrc + '">  ') ;
	document.write('<PARAM NAME=menu VALUE=false> ') ; 
	document.write('<PARAM NAME=quality VALUE=high>  ') ;

	if (wmode != "")
	{
	document.write('<PARAM NAME=wmode VALUE=transparent>  ') ;
	}

	document.write('<PARAM NAME=bgcolor VALUE=' + bgcolor + '> ') ;
	document.write('<PARAM NAME=swliveconnect VALUE=' + swliveconnect + '> ') ;
	document.write('<EMBED src="' + moviesrc + '" menu=false quality=high bgcolor="' + bgcolor + '" WIDTH="' + width + '" HEIGHT="' + height + '" NAME="' + idname + '" ALIGN="" allowScriptAccess="' + allowScriptAccess + '" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> ') ;
	document.write('</OBJECT> ') ;
	}