// 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( 'codebase','http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab#version=8,0,0,0','width','600','height','295','align','middle','src','swf/berry-and-smith','menu','false','quality','high','wmode','transparent','bgcolor','#192d64','allowscriptaccess','sameDomain','type','application/x-shockwave-flash','pluginspage','http://www.adobe.com/go/getflashplayer','movie','swf/berry-and-smith' ); //end AC code
} else {  // flash is too old or we can't detect the plugin
	var alternateContent = '<a href="http://www.adobe.com/go/getflash/" target="_blank"><img src="images/Berry-and-Smith-truck.jpg" alt="This content requires the Adobe Flash Player and a browser with JavaScript enabled. Get Flash" width="600" height="295" border="0"></a>';
	document.write(alternateContent);  // insert non-flash content
}
