// 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", "topmain",
				"width", "730",
				"height", "200",
				"align", "middle",
				"id", "Hero_Flash",
				"quality", "high",
				"bgcolor", "#ffffff",
				"name", "Hero Flash",
				"allowScriptAccess","sameDomain",
				"type", "application/x-shockwave-flash",
				"wmode", "transparent",
				'allowFullScreen', 'false',
				'allowScriptAccess','sameDomain',
	'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 =
	
'<div id="ibm-leadspace">'
+'<img width="730" height="200" alt="" src="./img/topmain.jpg" />'
+'</div>'
	;
	document.write(alternateContent);  // insert non-flash content
}

