
					  if (!useRedirect) {    // if dynamic embedding is turned on
					  if(hasRightVersion) {  // if we've detected an acceptable version
					    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="900" height="303" id="main" align="middle">');
						document.write('<param name="allowScriptAccess" value="sameDomain" />');
						document.write('<param name="WMode" value="Transparent" />');
						document.write('<param name="movie" value="swf/ehr_large_rotate.swf" />');
						document.write('<param name="quality" value="high" />');
						document.write('<embed WMode="Transparent" src="swf/ehr_large_rotate.swf" quality="high" width="900" height="303" name="main" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
						document.write('</object>');
						document.close();

					  } else {  // flash is too old or we can't detect the plugin
					    // NOTE: height, width are required!
					    var alternateContent = '<img src="img/flash_placeholder_pm.png" width="900" height="303" border="0" />';
					
					    document.write(alternateContent);  // insert non-flash content
					  }
					}
					