var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) {  // if we've detected an acceptable version
	document.write('<object width="1266px" height="800px"><param name="movie" value="homepage.swf?inst_id='+parameter_inst_id+'&initial_serverroot='+initial_serverroot+'php/"/><param name="bgcolor" value="#000000"><embed src="homepage.swf?inst_id='+parameter_inst_id+'&initial_serverroot='+initial_serverroot+'php/" type="application/x-shockwave-flash" bgcolor="#000000" width="1266px" height="800px"></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
  }
