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