var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);


// Check to see if the version meets the requirements for playback
if (hasReqestedVersion) {  // if we've detected an acceptable version
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
    + 'width="100%" height="100%"'
    + 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" id="main">'
    + '<param name="movie" value="myersons20080324.swf" /><param name="quality" value="high" />'
	+ '<param name="FlashVars" value="movieid=main" />'
	+ '<param name="bgcolor" value="#FFFFFF" />'
    + '<embed src="myersons20080324.swf" wmode="transparent" quality="high" bgcolor="#FFFFFF" '
    + 'width="100%" height="100%" name="main" aligh="middle"'
    + 'play="true"'
    + 'loop="false"'
    + 'quality="high"'
    + 'allowScriptAccess="sameDomain"'
    + 'type="application/x-shockwave-flash"'
	+ 'FlashVars="movieid=mymovie"'
	+ 'swLiveConnect=true'
    + 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
    + '<\/embed>'
    + '<\/object>');   // embed the Flash Content SWF when all tests are passed
	//alert("detected");
  } else {  // flash is too old or we can't detect the plugin
  	var tableHeight = screen.height-250;
    var alternateContent = '<div align="center"><table><tr><td align="center" height="' + tableHeight +'" valign="middle"><IMG SRC="images/logo_web.gif" WIDTH="127" HEIGHT="126" alt="Myersons Limited" BORDER=0><br><p align="center">Sorry, but you&#8217;ll need Macromedia&#8217;s free <a href="http://www.macromedia.com/go/getflashplayer" target="_blank">Flash Player</a> in order to view our site.<br><br><a href="http://www.macromedia.com/go/getflashplayer" target="_blank">Click here</a> to download and install it now!<br><br>If you have any questions or comments, contact us at <a href="mailto:info@myersonslimited.com">info@myersonslimited.com</a></p></td></tr></table></div>';
    document.write(alternateContent);  // insert non-flash content
  }
