// JavaScript Document
<!-- 
// 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 align="left" id="flash_file" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"'
	+ 'width="100%" height="600">'
	+ '<param name="allowScriptAccess" value="sameDomain" />'
	+ '<param name="movie" value="flash/shell.swf" />'
	+ '<param name="quality" value="high" />'
	+ '<param name="bgcolor" value="#FFFFFF" />'
	+ '<param name="menu" value="false" />'
	+ '<embed align="left" src="flash/shell.swf" swliveconnect="true" menu="false" quality="high" bgcolor="#FFFFFF" width="100%" height="100%" name="flash_file" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'
	+ '</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 = '<img class="artwork" src="art/fades/backup.jpg" alt="backup.jpg" />';
    document.write(alternateContent);  // insert non-flash content
  }
// -->