function writeFlash( swf , width , height )
{
  var html = ""
  html+="<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'"
  html+="        codebase='http://download.macromedia.com/pub/shockwave/"
                    html+="cabs/flash/swflash.cab'"
  html+="        width   = " + width
  html+="        height  = " + height + ">"
  html+="<param  name    = movie value=" + swf + ">"
	html+="<param name = allowScriptAccess value= samedomain  />"
	html+="<param  name    = wmode value=transparent>"
  html+="<param  name    = quality value=high>"
  html+="<embed  src     = " + swf + " "
  html+="        quality = high  "
  html+="        width   = "+ width
  html+="        height  = " + height
  html+="        type    = 'application/x-shockwave-flash' "
  html+="        wmode    = 'transparent' "
  html+="        pluginspage='http://www.macromedia.com/go/getflashplayer'>"
  html+="</embed>"
  html+="</object>"
  
  document.write(html)
}