// 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 oeTags = '<div id="flash-map"><object type="application/x-shockwave-flash" '
		+ 'id="flash" '
		+ 'data="flash/c.swf?path=flash/core3.swf" '
		+ 'width="760" '
		+ 'height="570" '
		+ '><param name="movie" '
		+ 'value="flash/c.swf?path=flash/core3.swf" '
		+ '/><img '
		+ 'src="images/noflash.gif" '
		+ 'alt="" '
		+ 'width="760" '
		+ 'height="560" '
		+ '/></object>';

    document.write(oeTags);   // embed the flash movie
  } else {  // flash is too old or we can't detect the plugin
    // NOTE: height, width are required!
    var alternateContent = '<img src="noflash.gif" alt="" width="760" height="560" />';

    document.write(alternateContent);  // insert non-flash content
  }
}
