// 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) {
    $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="646" height="335" id="rotating" align="middle">';
    $oeTags = $oeTags + '<param name="allowScriptAccess" value="sameDomain" />';
    $oeTags = $oeTags + '<param name="wmode" value="transparent" />';
    $oeTags = $oeTags + '<param name="movie" value="rotating.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="rotating.swf" wmode="transparent" quality="high" bgcolor="#ffffff" width="646" height="335" name="rotating" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />';
    $oeTags = $oeTags + '</object>';
  document.write($oeTags);
} else {
    $staticTags = "<img src=\"images/homepic.jpg\" width=\"646\" height=\"335\" border=\"0\">";
    document.write($staticTags);
}
