function RunFoo()
{
document.write('<object type="application/x-shockwave-flash" data="FlowPlayer.swf" width="320" height="260" id="FlowPlayer">\n');

  document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
  document.write('<param name="movie" value="FlowPlayer.swf" />\n');
  document.write('<param name="quality" value="high" />\n');
  document.write('<param name="scale" value="noScale" />\n');
  document.write('<param name="wmode" value="transparent" />\n');
 // document.write('<param name="flashvars" "config={}">\n');
 
// this works
//document.write('<param name="flashvars" value="config={showFullScreenButton: false}" />');

 document.write('<param name="flashvars" value="config={showFullScreenButton: false, videoFile: \'videos/Sacranet_Video_Sample_2.flv\'}" />');

document.write('</object>\n');
}
