// Version check based upon the values entered above in "Globals"
var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);

// Check to see if the version meets the requirements for playback
if (hasReqestedVersion) {  // if we've detected an acceptable version
    var oeTags = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"'
    + 'codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"'
    + 'width="700" height="300" id="framework_10" align="center">'
    + '<param name="allowScriptAccess" value="sameDomain" />'
    + '<param name="scale" value="noborder" />'
    + '<param name="movie" value="/ps3downloads/flash/'+game+'headerflash.swf" />'
    + '<param name="quality" value="high" />'
    + '<param name="bgcolor" value="#000000" />'
    + '<param name="wmode" value="opaque" />'
    + '<embed src="/ps3downloads/flash/'+game+'headerflash.swf" quality="high"'
    + 'bgcolor="#000000" width="700" height="300" scale="noborder"'
    + 'align="center" name="framework_10"'
    + 'allowScriptAccess="sameDomain" type="application/x-shockwave-flash"'
    + 'pluginspage="http://www.macromedia.com/go/getflashplayer" />'
    + '</object>';
    document.write(oeTags);   // embed the Flash Content SWF when all tests are passed
  } else {  // flash is too old or we can't detect the plugin
    var alternateContent = '<div align="center" class="flashAlt">Flash 8 required! Click <a href="http://www.macromedia.com/go/getflash/" target="_blank">here</a> to download.</div>';
    document.write(alternateContent);  // insert non-flash content
  }
  