// 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
    var page = document.URL.substring((document.URL.lastIndexOf('/')+1), (document.URL.length)-4);
    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="665" height="250">'
		+ '<param name="movie" value="Flash/banner_load.swf">'
		+ '<param name="quality" value="high">'
		+ '<param name="menu" value="false">'
		+ '<param name="flashvars" value="movieLoad='+page+'">'
		+ '<embed src="Flash/banner_load.swf" quality="high" menu="false" flashvars="movieLoad='+page+'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="665" height="250"></embed>'
		+ '</object>';
    document.write(oeTags);   // embed the flash movie
  } else {  // flash is too old or we can't detect the plugin
    var alternateContent = '<img src="images/noFlash.gif" width="665" height="250" border="0" usemap="#FlashSpot">';
    document.write(alternateContent);  // insert non-flash content
  }
}