var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) {  // if we've detected an acceptable version

	
	var oeTags = '<div id="main_tower" style="padding-top: 17px;"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="334" height="100" codebase="swflash.cab">'
    +'<param name="movie" value="/_lib/flash/tower.swf?XML_PATH=/_lib/flash/tower.php" />'
	+'<param name="quality" value="high" />'
	+'<param name="wmode" value="transparent" />'
	+'<param name="bgcolor" value="#000000" />'
	+'<param name="salign" value="lt" />'
	+'<param name="align" value="middle" />'
	+'<param name="menu" value="false" />'
	+'<embed src="/_lib/flash/tower.swf?XML_PATH=/_lib/flash/tower.php" quality="high" wmode="transparent" bgcolor="#000000" salign="lt" width="334" height="100" name="movie" align="middle" play="true" loop="false" quality="high" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">'
	+'</embed>'
    +'</object></div>';
	
    document.write(oeTags);   // embed the flash movie
  } else {  // flash is too old or we can't detect the plugin
    var alternateContent = '';//<div id="main_tower" style="padding-top: 17px;"><!--a href="meetTom.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'tom\',\'\',\'_lib/img/tom_o.gif\',1)"><img src="_lib/img/tom.gif" alt="Click Here to Meet Teacher Tom" name="tom" width="175" height="100" border="0" id="tom" /></a--></div>'
	+'';
    document.write(alternateContent);  
  }
  