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="760" height="550"'
    + 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"'
	+ 'id="myFlash"/>'
	
    + '<param name="movie" value="index.swf" />'
	+ paramVars
	+ '<param name="allowScriptAccess" value="always" />'
	+ '<param name="wmode" value="transparent" />'
	+ '<param name="quality" value="high" />'
	
    + '<embed src="index.swf"' 
	+ 'quality="high"'
    + 'width="760" height="550" align="middle"'
	+ embedVars 
    + 'play="true"'
	+ 'wmode="transparent"'
    + 'loop="false"'
    + 'quality="high"'
	+ 'name="myFlash"'
	+ 'swliveconnect="true"'
    + 'allowScriptAccess="always"'
    + 'type="application/x-shockwave-flash"'
	
    + 'pluginspage="http://www.macromedia.com/go/getflashplayer"/>'
    + '<\/embed>'
    + '<\/object>';
    document.write(oeTags);   // embed the flash movie	
  } else {  // flash is too old or we can't detect the plugin
    var alternateContent = '<div id="content_alt"><div id="inhalt_alt"><div id="textbox_alt">This site requires Flash 8 to be viewed. <br>Click <a href="http://www.adobe.com/products/flashplayer/" target="_blank" class="ll">here</a> to Download Flash Player 8 or Download the latest Specials <a href="downloads/specials.pdf" target="_blank" class="ll">here</a>.</div></div></div>';
    document.write(alternateContent);  
  }