// Flash movie variables
    var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" '
    + 'width="' + sFlashWidth + '" height="' + sFlashHeight + '" id="movie" align="">'
    + '<param name="movie" value="' + sFlashFile + '"/>'
    + '<param name="quality" value="high"/>'
	+ '<param name="flashVars" value="gXMLFilename=' + sFlashXML + '" />'
    + '<embed src="' + sFlashFile + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" '
    + 'type="application/x-shockwave-flash" '
    + 'width="' + sFlashWidth + '" height="' + sFlashHeight + '" name="movie" '
	+ 'flashVars="gXMLFilename=' + sFlashXML + '">'
    + '</embed>'
    + '</object>';

// if flash doesn't work in browser
  var alternateContent = '<h3><strong>You need Flash Player version 7 or later installed to play video clips and audio files on this CD-ROM.</strong><br />You can <a href="../plugins/default.htm"  title="Install Flash Player version 7 from this CD-ROM">Install version 7 from this CD-ROM</a> or <a href="http://www.macromedia.com/go/getflashplayer"  title="Download the latest Flash player from the Macromedia website">download the latest version from the Macromedia website</a>.</h3>';
	  
// In this section we set up the content to be placed dynamically on the page.
// Customize movie tags and alternate html content below.

if (!useRedirect) {    // if dynamic embedding is turned on
  if(hasRightVersion) {  // if we've detected an acceptable version

    document.write(oeTags);   // embed the flash movie
  } else {  // flash is too old or we can't detect the plugin
	// alert ("Goddammit! var hasRightVersion is '" + hasRightVersion + "'");	
	// alert ("Goddammit! var actualVersion is '" + actualVersion + "'");	
	// alert ("Goddammit! var actualVersion is '" + actualVersion + "'");
	
    // NOTE: height, width are required!
    
    document.write(alternateContent);  // insert non-flash content
  }
}
