﻿// 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", "Images/quality",
				"width", "287",
				"height", "47",
				"align", "middle",
				"id", "tcQualityAnimation",
				"quality", "high",
				"bgcolor", "#FFFFFF",
				"name", "tcQualityAnimation",
				"allowScriptAccess","sameDomain",
				"type", "application/x-shockwave-flash",
				'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0',
				"pluginspage", "http://www.adobe.com/go/getflashplayer"
	);
	
} else {  // flash is too old or we can't detect the plugin
	var alternateContent =  '<img src="images/quality_text.png" width="287" height="47" id="quality_text" alt="Quality Integrity Consistency" />';
	document.write(alternateContent);  // insert non-flash content
}

