function RunFlash(id, width, height, data) {
   document.write('<object type="application/x-shockwave-flash" data="'+data+'" width="'+width+'" height="'+height+'" id="'+id+'" align="middle">\n');
   document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
   document.write('<param name="movie" value="'+data+'" />\n');
   document.write('<param name="quality" value="high" />\n');
   document.write('<param name="wmode" value="transparent" />\n');
   document.write('<param name="bgcolor" value="#ffffff" />\n');
   document.write('<img src="noflash.gif" width="'+width+'" height="'+height+'" alt="" />\n');
   document.write('</object>');
}