	function openWindow (url, name, features, myWidth, myHeight, isCenter) {			if (features == "none") {			features = "toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no";		}				if (features == "all") {			features = "toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes";		}			if (window.screen)		if (isCenter)		if (isCenter == "true") {			var myLeft	=	(screen.width - myWidth) / 2;			var myTop	=	(screen.height - myHeight) / 2;			features	+=	(features != '') ? ',' : '';			features	+=	',left=' + myLeft + ',top=' + myTop;		}		window.open (url, name, features + ((features != '') ? ',' : '') + 'width=' + myWidth + ',height=' + myHeight).focus();	}	function openFlexWindow (url, name, features, myWidth, myHeight, isCenter) {		openWindow (url, name, features, myWidth, myHeight, isCenter);	}		function PopUp (doc,x_size,y_size) {		openWindow (doc,"buch_de","none",x_size,y_size,"true");	}		function YellowMap (vst) {		var url	=	"thalia.yellowmap.php?vst=" + vst;		openWindow (url,"yellowmap","toolbar=yes,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes","665","570","true");	}		function redirect_opener (url) {		if (window.opener) {			opener.top.location = url;		} else {			openWindow (url,"buch_de","all","600","350","true");		}	}		function FlashDetect () {		if ((navigator.userAgent.indexOf("Mac_PowerPC") > 0) 			&& (navigator.userAgent.indexOf("MSIE") > 0) 			&& (navigator.userAgent.indexOf("4.5") > 0))		{			return false;				// PLain HTML-File without Plug-Ins		}		else		{			if ((navigator.appName == "Microsoft Internet Explorer" 				&& navigator.appVersion.indexOf("Mac") == -1 				&& navigator.appVersion.indexOf("3.1") == -1) 				|| (navigator.plugins && navigator.plugins["Shockwave Flash"]) 				|| navigator.plugins["Shockwave Flash 2.0"])			{				return true;			// Flash-PlugIn-savvy HTML file			} else {				return false;			// PLain HTML-File without Plug-Ins			}		}	}		function SwapImagesPreLoad (count,path) {						var loop_end = count++;			Out = new Array (count);		Over = new Array (count);				for (i=1; i<loop_end; i++) {			Out[i] = new Image();			Out[i].src = path + "button." + i + ".0.gif";			Over[i] = new Image();			Over[i].src = path + "button." + i + ".1.gif";		}			path = "";	}			// Initial swap function;	function Swap(Nr,Obj) {		window.document.images[Nr].src = Obj.src;	}