

    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="FlashVars" value="' + sFlashSession + '" />'
    + '<param name="movie" value="' + sFlashFile + '"/>'
    + '<param name="quality" value="high"/>'
    + '<param name="allownetworking" value="none"/>'
    + '<embed src="' + sFlashFile + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" '
    + 'type="application/x-shockwave-flash" '
    + 'allownetworking="none" width="' + sFlashWidth + '" height="' + sFlashHeight + '" name="movie" '
    + 'FlashVars="' + sFlashSession + '" >'
    + '</embed>'
    + '</object>';

	 
//alternate Gif if flash doesn't work in browser
  var alternateContent = '<BR />' + 'For the best experience use Flash player 6 and above. Get the latest player <a href="http://www.macromedia.com/go/getflashplayer">here</a>.' + '<BR />' + '<BR />' + 'We also recommend you have JavaScript enabled';


// 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
  }
}

