// In this section we set up the content to be placed dynamically on the page.
// Customize movie tags and alternate html content below.

function write_flash(fobj, fvers, fobjw, fobjh, falt){
 if(actualVersion>=fvers) {  // if we've detected an acceptable version
    var prm = "";
    if(write_flash.arguments.length>5){
     for(i=5;i<write_flash.arguments.length;i++)
      prm += write_flash.arguments[i] + '&';
    }
    prm = prm.substring(0, prm.length-1);
    var oeTags = '<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="'+fobjw+'" height="'+fobjh+'">'
    + '<param name="movie" value="'+fobj+'" />'
    + '<param name="quality" value="high" />'
    + '<param name="flashvars" value="'+prm+'" />'
	+ '<param name="menu" value="false" />'
	+ '<embed src="'+fobj+'" quality="high" flashvars="'+prm+'" width="'+fobjw+'" height="'+fobjh+'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'
    + '</object>';
    document.write(oeTags);   // embed the flash movie
  } else {  // flash is too old or we can't detect the plugin
    // NOTE: height, width are required!
    var alternateContent = '<img src="'+falt+'" alt=""/>';
    document.write(alternateContent);  // insert non-flash content
  }
}
