//alert("DEBUG: included flash_sighting-in.js ...");

// Flash 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
	//alert("DEBUG: has correct version...");
	
	
	AC_FL_RunContent(
				"src", "/images/multiVideoPlayer?xml=/images/config.xml",
				"width", "320",
				"height", "300",
				"align", "right",
				//"movie", "/video/multiVideoPlayer.swf?xml=/video/config.xml",
				"id", "sightingvideodiv",
				"quality", "high",
				"bgcolor", "#f8f0de",
				//"name", "video",
				"allowScriptAccess","sameDomain",
				"type", "application/x-shockwave-flash",
				'codebase', 'http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab',
				"pluginspage", "http://www.adobe.com/go/getflashplayer"				
	);
	
	//alert("DEBUG: called AC_FL_RunContent() ...");
	
} else {  // flash is too old or we can't detect the plugin
	var alternateContent = 'Alternate HTML content should be placed here.<BR>'
	+ 'This content requires the Adobe Flash Player. '
	+ '<a href=http://www.adobe.com/go/getflash/>Get Flash</a>';
	document.write(alternateContent);  // insert non-flash content
}