<!--
// Version check based upon the values entered above in "Globals"
var hasReqestedVersion = DetectFlashVer(8, 8, 0);
var flashDirectory = "flash";
if(flashIntroLanguage != "de"){
	flashDirectory = "flash_"+flashIntroLanguage;
	if(flashIntroLocalization == "nl" && flashIntroLanguage == "fr"){
		flashDirectory = "flash_be";
	}
}else{
	if(flashIntroLocalization == "at"){
		flashDirectory = "flash_"+flashIntroLocalization;
	}
	if(flashIntroLocalization == "ch"){
		flashDirectory = "flash_"+flashIntroLocalization;
	}
}

if(flashSubDir != ""){
	flashDirectory += "/"+flashSubDir;
}

if(typeof flashL == "undefined"){
	flashL = 0;
}

// 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", "fileadmin/"+flashDirectory+"/preloader",
				"play", "true",
				"width", "640",
				"height", "300",
				"scale", "noscale",
				"align", "left",
				"id", "startseite_swf",
				"quality", "high",
				"bgcolor", "#FFFFFF",
				"flashVars", "preload=fileadmin/"+flashDirectory+"/startseite_animation.swf&preloadHidden=fileadmin/"+flashDirectory+"/introvars.txt&showLoader=true&loaderColor=E0E1DD&x=-220&y=-50&flashL="+flashL+"",
				"name", "startseite_swf",
				"allowScriptAccess","sameDomain",
				"type", "application/x-shockwave-flash",
				'codebase', 'http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab',
				"pluginspage", "http://www.macromedia.com/go/getflashplayer",
				"wmode", "transparent"
	);
} else {  
	// flash is too old or we can't detect the plugin
	var alternateContent = '<img src="fileadmin/'+flashDirectory+'/no_flash_static.jpg" width="640" height="300" alt="" title=""/>';
	alternateContent = '';
	document.write(alternateContent);  // insert non-flash content
}
// -->
