if(!width) var width=300;
if(!height) var height=200;
if(!flashVars) var flashVars="";
if(!flashID) var flashID="fUpload";
if(!wmode) var wmode="transparent";

if(flashSrc != null) document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" style="z-index:200" width="'+width+'" height="'+height+'" id="'+flashID+'">\
<param name="allowScriptAccess" value="always"/>\
<param name="FlashVars" value="'+flashVars+'" />\
<param name="wmode" value="'+wmode+'" />\
<param name="movie" value="'+flashSrc+'" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />\
	<embed src="'+flashSrc+'" id="'+flashID+'" quality="high" wmode="'+wmode+'" FlashVars="'+flashVars+'" bgcolor="#ffffff" width="'+width+'" height="'+height+'" name="'+flashID+'" align="middle" allowScriptAccess="always" style="z-index:200" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\
</object>');

flashID=null;
flashSrc=null;
flashVars=null;
width=null;
height=null;