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