var hasProductInstall = DetectFlashVer(6, 0, 65);
	var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);

	if (AC_FL_RunContent == 0) {
		alert("This page requires AC_RunActiveContent.js.");
	} else {
		if (hasProductInstall) 
		{
                if(!hasReqestedVersion)
                {
			AC_FL_RunContent(
				"src", "http://armadillohomes.com/content/playerProductInstall",
				"FlashVars", flvar(),
				"width", "939",
				"height", "291",
				"align", "middle",
				"id", "detectionContent",
				"wmode", "transparent",
				"quality", "high",
				"bgcolor", "#ffffff",
				"name", "detectionContent",
				"allowScriptAccess","sameDomain",
				"type", "application/x-shockwave-flash",
				"pluginspage", "http://www.adobe.com/go/getflashplayer"
			);
		} else if (hasReqestedVersion) {
			AC_FL_RunContent(
				'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
				'width', '939',
				'height', '291',
				'src', 'http://armadillohomes.com/application/swf/timeline',
				'quality', 'high',
				'flashvars', 'xmlfile=http://armadillohomes.com/slideshow/slideshow/getxml/stype/home',
				'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
				'id', 'timeline',
				'name', 'timeline',
				'menu', 'true',
				'allowFullScreen', 'false',
				'allowScriptAccess','sameDomain',
				'movie', 'http://armadillohomes.com/application/swf/timeline',
				'salign', ''
			); //end AC code
		}
		}
                else 
                {
		 // flash is too old or we can't detect the plugin
			document.write(alternateContent);  // insert non-flash content
		}
	}
