var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) {  // if we've detected an acceptable version
	document.write('<object width="100%" height="570px"><param name="allowFullScreen" value="true"><param name="movie" value="base.swf"/><param name="bgcolor" value="#ffffff"><embed src="base.swf" type="application/x-shockwave-flash" allowFullScreen="true" bgcolor="#ffffff" width="100%" height="570px"></embed></object>');
  } else {  // flash is too old or we can't detect the plugin
    document.write('This content requires the Macromedia Flash Player.<a href="http://www.macromedia.com/go/getflash/">Get Flash</a>');  // insert non-flash content
  }