
// Version check based upon the values entered above in "Globals"
var hasReqestedVersion = DetectFlashVer(6, 0, 0);

// 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/Header",
				"width", "750",
				"height", "150",
				"align", "left",
				"id", "LEC-homepage-banner",
				"quality", "high",
				"bgcolor", "",
				"WMode", "Transparent",
				"name", "LEC-homepage-banner",
				"allowScriptAccess","sameDomain",
				"type", "application/x-shockwave-flash",
				'codebase', window.parent.document.location.protocol + '//fpdownload.macromedia.com/get/flashplayer/current/swflash.cab',
				"pluginspage", window.parent.document.location.protocol + "//www.adobe.com/go/getflashplayer"
	);
} else { // flash is too old or we can't detect the plugin
	var alternateContent = '<img src="Flash/Header-replacement.jpg" width="750" height="150" />';
	document.write(alternateContent);  // insert non-flash content
}