// Version check based upon the values entered above in "Globals"
var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);


// Check to see if the version meets the requirements for playback
if (hasReqestedVersion) {
    $oeTags = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="820" height="420" id="locations" align="middle">';
    $oeTags = $oeTags + '<param name="allowScriptAccess" value="sameDomain" />';
    $oeTags = $oeTags + '<param name="wmode" value="transparent" />';
    $oeTags = $oeTags + '<param name="movie" value="locations.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="locations.swf" wmode="transparent" quality="high" bgcolor="#ffffff" width="820" height="420" name="locations" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />';
    $oeTags = $oeTags + '</object>';
  document.write($oeTags);
} else {
    $staticTags = "Flash must be enabled to view this page.  To view a non-Flash version, please <a href='locations_noflash.html'>click here</a>.";
    document.write($staticTags);
}
