var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) {  // if we've detected an acceptable version
    var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
    + 'width="898px" height="313px" id="db6" align="top"'
    + 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
    + '<param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="centergfx.swf" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#FFFFFF" />'
    + '<embed src="centergfx.swf" quality="high" bgcolor="#FFFFFF" '
    + 'scale="noscale" width="898px" height="313px" wmode="transparent" name="db6" align="top"'
    + 'quality="high"'
    + 'allowScriptAccess="sameDomain"'
    + 'type="application/x-shockwave-flash"'
    + 'pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">'
    + '<\/embed>'
    + '<\/object>';
    document.write(oeTags);   // embed the flash movie
  } else {  // flash is too old or we can't detect the plugin
    var alternateContent = '<p>Your Adobe Flash plug-in needs to be updated.<p/>'
   	+ 'This site requires Macromedia Flash -plugin version 8 or higher.<br />'
	+ 'Click <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">here</a> to download and install the plugin.</div>'
    document.write(alternateContent);  // insert non-flash content
  }