var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) {  // if we've detected an acceptable version

	if(navigator.appVersion.toLowerCase().indexOf("msie") != -1 && navigator.appVersion.toLowerCase().indexOf("mac") != -1)
	{
		//Mac IE unsupported, tracking code breaks site
		document.write('<h3 style="margin:20 8 0 20">Unsupported Browser</h3><br><p style="margin:20 8 0 20">Please change to your browser to Safari, FireFox, or Opera to view this site.</p>');
	}
	else
	{
		var sFlashURL = "MDC.swf" + getQueryString();
	
		var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
		+ 'width="1000" height="675"'
		+ 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
		+ '<param name="movie" value="' + sFlashURL + '" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="salign" value="lt" /><param name="wmode" value="opaque" /><param name="bgcolor" value="#ffffff" /><param name="allowScriptAccess" value="always">'
		+ '<embed src="' + sFlashURL + '" quality="high" scale="noscale" salign="lt" wmode="opaque" bgcolor="#ffffff" '
		+ 'width="1000" height="675" name="Motion and Design Center" align="left"'
		+ 'play="true"'
		+ 'loop="false"'
		+ 'quality="high"'
		+ 'allowScriptAccess="always"'
		+ 'type="application/x-shockwave-flash"'
		+ 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
		+ '<\/embed>'
		+ '<\/object>';
		document.write(oeTags);   // embed the flash movie
	}
  } else {  // flash is too old or we can't detect the plugin
    var alternateContent = '<h3 style="margin:20 8 0 20">Flash Player required</h3><br><p style="margin:20 8 0 20">To view this content you need the latest version of the Flash Player.</p><br><a href="http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"><p style="margin:20 8 0 20">Download the Flash Player now!</p></a>';
    document.write(alternateContent);  // insert non-flash content
  }
