// 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", "flash/eighton",
				"width", "724",
				"height", "262",
				"align", "middle",
				"id", "index",
				"quality", "high",
				"bgcolor", "#FFFFFF",
				"name", "movie",
				"allowScriptAccess","sameDomain",
				"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 = '<img src="../images/home_banner.jpg">'
	+ '<table width="726" style="background:#FFFFFF;border:1px solid #B28B8E"><tr><td><font face="Arial, Helvetica, sans-serif" color="black" size="2">For improved fuctionality please download the latest Flash Player <a href=http://www.adobe.com/go/getflash/ target="_blank" style="color:#FFFFFF;">Get Flash</a></font></td></tr></table>';
	document.write(alternateContent);  // insert non-flash content
}