// Version check basedupon the values entered above in "Globals"
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
	// embed the Flash Content SWF when all tests are passed
	AC_FL_RunContent(
				"src", "assets/documents/surveys/staff_flash",
				"width", "650",
				"height", "900",
				"id", "article",
				"quality", "high",
				"autostart", "true",
				"showcontrols", "false",
				"showstatusbar", "true",
				"showdiplay", "false",
				"autorewind", "true",
				"allowScriptAccess","sameDomain",
				"bgcolor", "#000000",
				"name", "navigation",
				"wmode","transparent",
				"type", "application/x-shockwave-flash",
				'codebase', 'http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab',
				"pluginspage", "http://www.adobe.com/go/getflashplayer"
	);
} else {  // flash is too old or we can't detect the plugin
	var alternateContent = '<table width="800" style="background:#FFFFFF;border-top:1px solid #000000"><tr><td style="font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;color:#000000">These articles are only available in Flash. For improved fuctionality please <a href=http://www.adobe.com/go/getflash/ target="_blank" style="color:#000000;">download the latest Flash Player</a></td></tr></table>';
	document.write(alternateContent);
}