// 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) {  // if we've detected an acceptable version
    var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
    + 'width="800" height="625"'
    + 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
    + '<param name="movie" value="tym_main.swf" /><param name="quality" value="best" /><param name="bgcolor" value="#FFFF00" />'
    + '<embed src="tym_main.swf" quality="high" bgcolor="#FFFF00" '
    + 'width="800" height="625" name="detectiontest" aligh="middle" menu="false"'
    + 'play="true"'
    + 'loop="false"'
    + 'quality="best"'
    + 'allowScriptAccess="sameDomain"'
    + 'type="application/x-shockwave-flash"'
    + 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
    + '<\/embed>'
    + '<\/object>';
    document.write(oeTags);   // embed the Flash Content SWF when all tests are passed
  } else {  // flash is too old or we can't detect the plugin
    var alternateContent = '<table width=518 height=68 border=0 align=center cellspacing=0><tr><td width=516>This web site makes use of <A HREF=http://www.macromedia.com/software/flash/ TARGET=_new>Macromedia<SUP>&reg;</SUP> Flash<SUP>TM</SUP></A> software. You have an old version of Macromedia Flash Player that cannot play the content we have created. <br><br></td></tr><tr><td align=left valign=top><table width=100% border=0 cellspacing=0 cellpadding=0><tr><td width=98><A HREF=http://www.macromedia.com/go/getflashplayer target=_blank><IMG SRC=http://www.macromedia.com/images/shared/download_buttons/get_flash_player.gif BORDER=0 WIDTH=88 HEIGHT=31></A></td><td width=486>Why not download and install the latest version now? It will only take a moment. </td></tr></table></td></tr></table>';
	document.write(alternateContent);  // insert non-flash content
  }
// -->
