// -----------------------------------------------------------------------------
// Globals
// Major version of Flash required
var requiredMajorVersion = 7;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Minor version of Flash required
var requiredRevision = 0;
// -----------------------------------------------------------------------------


// Version check based upon 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", "/flash/customerstories/CustomerStories",
				"width", "210",
				"height", "185",
				"align", "middle",
				"id", "CustomerStories",
				"quality", "high",
				"bgcolor", "#FFFFFF",
				"name", "detectionExample",
				"allowScriptAccess","sameDomain",
				"type", "application/x-shockwave-flash",
				'codebase', 'http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab',
				"pluginspage", "http://www.adobe.com/go/getflashplayer",
				"flashVars", flashVars

	);
} else {  // flash is too old or we can't detect the plugin
	var alternateContent = '<div align="center" id="rcsLogo"><a href="' + link + '"><img src="' + imagePath + image + '" border="0" /></a></div>\n';
	alternateContent += '<div id="rcsDescription" align="left"><a href="' + link + '">' + description + '</a></div>';
	document.write(alternateContent);  // insert non-flash content
}