var hasProductInstall = DetectFlashVer(6, 0, 65);
var hasRequestedVersion = DetectFlashVer(10, 0, 0);
if (hasProductInstall && !hasRequestedVersion)
{
	var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn";
	var MMredirectURL = window.location;
		document.title = document.title.slice(0, 47) + " - Flash Player Installation";
		var MMdoctitle = document.title;
	AC_FL_RunContent(
		"src", "playerProductInstall",
		"FlashVars", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",
		"width", "789",
		"height", "615",
		"align", "middle",
		"id", "Viewer3DV",
		"quality", "high",
		"bgcolor", "#FFFFFF",
		"name", "Viewer3DV",
		"allowScriptAccess","sameDomain",
		"allowFullScreen", "true",
		"type", "application/x-shockwave-flash",
		"pluginspage", "http://www.adobe.com/go/getflashplayer"
	);
}
else if (hasRequestedVersion)
{
	AC_FL_RunContent(
			"src", "Viewer",
			"width", "789",
			"height", "615",
			"align", "middle",
			"id", "Viewer3DV",
			"quality", "high",
			"bgcolor", "#FFFFFF",
			"name", "Viewer3DV",
			"flashvars",'',
			"allowScriptAccess","sameDomain",
			"allowFullScreen", "true",
			"type", "application/x-shockwave-flash",
			"pluginspage", "http://www.adobe.com/go/getflashplayer"
	);
}
else
{
	document.write("This content requires the Adobe Flash Player. <a href=http://www.adobe.com/go/getflash/>Get Flash</a>");
}
