/** *  */var macmousewheel;var swfWidth;var swfHeight;var swfContainer;function embedFullSceneSWF(swfFileName, bgColor, targetID, version, container, width, height, flashvars){	//document.getElementById(container).style.width = swfWidth + "px";	swfobject.createCSS("#"+container, "width:"+width+"px;");		if(!flashvars)		flashvars = {};		var params = {};	params.bgcolor = bgColor; 	params.menu = 'false';	params.allowFullScreen = 'true';	params.allowScriptAccess = 'always';		/**	* hackFatih:	* Behebt IE9 Problem: height nicht 100%	* ToDo: (erl.) Vertical-Scrollbar wird in IE9 immer angezeigt (ist bei allen FullScreen-Flash so).	* ERLEDIGT: Bei IE: Height-2		*	* hackHeight:    * Firefox benötigt 100%, und keinen festen Wert, da sonst Resize bis Min-Werte nicht funktionieren und	* bei Erstladen mt geringer Höhe bei Resize Höhe nicht auf 100% skaliert wird.	**/			var hackFatih = getViewportSize(); 			var hackHeight = "100%";		//IE erkennen und Variable für Subtraktion der Höhe auf 2 setzen		/*@cc_on	@if (@_win32)		hackHeight = hackFatih[1] - 2;			@else		hackHeight = hackFatih[1] - 2;	@end	@*/		var hackFatih = getViewportSize(); 			swfobject.embedSWF(swfFileName, targetID, "100%", hackHeight, version, 'js/expressinstall.swf', flashvars, params);		if (swfobject.hasFlashPlayerVersion(version)) {		swfobject.addDomLoadEvent(createFullBrowserFlash);	}		// setup global vars	macmousewheel = new SWFMacMouseWheel( swfobject );	swfWidth = width;	swfHeight = height;	swfContainer = container;}function createFullBrowserFlash() {	swfobject.createCSS("html", "height:100%;");	swfobject.createCSS("body", "height:100%;");	swfobject.createCSS("#" + swfContainer, "margin:0; width:100%; height:100%; min-width:"+swfWidth+"px; min-height:"+swfHeight+"px;");	window.onresize = function() {		var el = document.getElementById(swfContainer);		var size = getViewportSize(); 				//sorgt für Probleme bei Resize (Breite wird nicht korrekt vergrößert:				/*			el.style.width = size[0] < swfWidth ? swfWidth+"px" : size[0];		el.style.height = size[1] < swfHeight ? swfHeight+"px" : size[1];		*/				el.style.width = size[0] < swfWidth ? swfWidth+"px" : "100%";		el.style.height = size[1] < swfHeight ? swfHeight+"px" : "100%";			};	window.onresize();}	function getViewportSize() { 	var size = [0, 0]; 	if (typeof window.innerWidth != "undefined") { 		size = [window.innerWidth, window.innerHeight];	} 	else if (typeof document.documentElement != "undefined" && typeof document.documentElement.clientWidth != "undefined" && document.documentElement.clientWidth != 0) {		size = [document.documentElement.clientWidth, document.documentElement.clientHeight]; 	}	else {		size = [document.getElementsByTagName("body")[0].clientWidth, document.getElementsByTagName("body")[0].clientHeight]; 	}	return size; }
