function ShowSWF(XMLFileName)
{
  document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="800" height="177" id="slideshow">');
  document.write('<param name="allowScriptAccess" value="sameDomain" />');
  document.write('<param name="movie" value="slideshow.swf" />');
  document.write('<param name="quality" value="high" />');
  document.write('<param name="bgcolor" value="#cccccc" />');
  document.write('<param name="wmode" value="transparent" />');
  document.write('<param name="FlashVars" VALUE="xmlfile='+XMLFileName+'">');
  document.write('<embed src="slideshow.swf" FlashVars="xmlfile='+XMLFileName+'" wmode="transparent" quality="high" bgcolor="#cccccc" width="800" height="177" name="slideshow" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
  document.write('</object>');
}//ShowSWF
