// JavaScript Document
<!-- 
//This script calls the flash version detector and writes to corresponding code into the html

var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) {  // if we've detected an acceptable version
var 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="600" height="30">' +
				'<param name="allowScriptAccess" value="sameDomain" />' +
				'<param name="movie" value="images/ticker.swf?css=flash.css&text3=<p>Place</p>&text2=<p><span class=\'red\'>5th</span></p>&text1=<p><span class=\'red\'>At Nationals !!</span></p>" />' +
				'<param name="quality" value="high" />' +
				'<embed src="images/ticker.swf?css=flash.css&text3=<p>Place</p>&text2=<p>5th<span class=\'red\'> </span></p>&text1=<p>At Nationals !!<span class=\'red\'></span></p>"' +
				'quality="high" width="600" height="30" name="ticker"' +
				'allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />' +
				'</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/ticker.gif" width="600" height="30" usemap="#ticker_Map">' +
						'<map name="ticker_Map" id="ticker_Map">' +
						'<area shape="rect" alt="GNBC Dolphin Swim Team Homepage" coords="543,0,599,29" href="index.html" />' +
						'</map>';
document.write(alternateContent);  // insert non-flash content
}
// -->


