﻿							<!-- 							
									
									// 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 = '<div style="position:absolute;z-index:1;height:68px;width:316px;right:0px;top:0px;margin:0px 0px 0px 0px;"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
										+ 'width="316px" height="68px"'
										+ 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
										+ '<param name="movie" value="/media/images/clearance-banner.swf" />'
										+ '<param name="quality" value="high" />'
										+ '<param name="menu" value="false" />'
										+ '<param name="scale" value="exactfit" />'										
										+ '<param name="bgcolor" value="#FFFFFF" />'
										+ '<param value="opaque" name="wmode"/>'
										+ '<embed src="/media/images/clearance-banner.swf" quality="high" bgcolor="#FFFFFF" '
										+ 'width="316px" height="68px" name="detectiontest"'
										+ ' play="true"'
										+ ' loop="true"'
										+ ' quality="high"'
										+ ' scale="exactfit"'
										+ ' wmode="opaque"'
										+ ' allowScriptAccess="sameDomain"'
										+ ' type="application/x-shockwave-flash"'
										+ ' pluginspage="http://www.macromedia.com/go/getflashplayer">'
										+ '<\/embed>'
										+ '<\/object></div>';
										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 = '<a href="/clearance"><img style="border:none;float:right;height:68px;width:316px;margin:-12px -12px 0px 0px;" alt="clearance" src="/media/images/clearance-banner.gif" /></a>'
										document.write(alternateContent);		// insert non-flash content
									}
									
									//alert('oeTags = ' + oeTags);
									
									//alert('dateString = ' + dateString);
									// -->