jQuery.easing.jswing = jQuery.easing.swing;
jQuery.extend(jQuery.easing, {
	easeInQuad: function (B, C, A, E, D) {
		return E * (C /= D) * C + A
	},
	easeOutQuad: function (B, C, A, E, D) {
		return - E * (C /= D) * (C - 2) + A
	},
	easeInOutQuad: function (B, C, A, E, D) {
		if ((C /= D / 2) < 1) {
			return E / 2 * C * C + A
		}
		return - E / 2 * ((--C) * (C - 2) - 1) + A
	},
	easeOutBounce: function (B, C, A, E, D) {
		if ((C /= D) < (1 / 2.75)) {
			return E * (7.5625 * C * C) + A
		} else {
			if (C < (2 / 2.75)) {
				return E * (7.5625 * (C -= (1.5 / 2.75)) * C + 0.75) + A
			} else {
				if (C < (2.5 / 2.75)) {
					return E * (7.5625 * (C -= (2.25 / 2.75)) * C + 0.9375) + A
				} else {
					return E * (7.5625 * (C -= (2.625 / 2.75)) * C + 0.984375) + A
				}
			}
		}
	}
});
(function (A) {
	A.fn.rotator = function (C) {
		var D = {
			ms: 4000,
			n: 1,
			autoHeight: false
		};
		var C = A.extend(D, C);
		var B;
		return this.each(function (F) {
			var H = A(this);
			var G = 0;
			H.children().filter(":lt(" + C.n + ")").each(function (I, J) {
				G += A(J).height()
			});
			H.height(G);
			function E() {
				B = setInterval(function () {
					var I = H.children().filter(":first-child").height();
					var K = H.children().filter(":first-child").attr("class");
					var L = {
						scrollTop: (I) + "px"
					};
					var J = 0;
					H.children().filter(":lt(" + (C.n + 1) + ")").each(function (M, N) {
						if (M > 0) {
							J += A(N).height()
						}
					});
					if (C.autoHeight) {
						L = A.extend({
							height: (J) + "px"
						},
						L)
					}
					H.animate(L, 500, function () {
						H.scrollTop(0);
						H.append(H.children().filter(":first-child"));
						H.css("overflow", "hidden")
					})
				},
				C.ms)
			}
			E()
		})
	}
})(jQuery);
function init_hoverfix() {
	$("#nav-main ul#international").each(function () {
		var C = $(this);
		var B = C.find("iframe").eq(0);
		C.find("ul li a").each(function () {
			if (($(this).attr("href") == "#")) {
				$(this).attr("href", "javascript:donothing();");
				var D = $(this).parent().find("ul");
				$(this).toggle(function () {
					D.show();
					if ($.browser.msie && jQuery.browser.version <= 6) {
						D.css("display", "inline")
					}
					B.height(D.height() + B.height());
					$(this).parent().addClass("aktive")
				},
				function () {
					D.hide();
					B.height(B.height() - D.height());
					$(this).parent().removeClass("aktive")
				})
			}
		})
	});
	var A = ($("ul.js_dropdown").html() == null) ? false: true;
	if (A) {
		$("ul.js_dropdown").each(function (D) {
			var F = $(this);
			var C = $(this).find("ul").eq(0);
			var E = C.height();
			var B = C.width();
			if (E >= 200) {
				var G = document.createElement("div");
				B = ($.browser.msie && jQuery.browser.version <= 6) ? (B) : (B) - 2;
				$(G).css({
					height: "153px",
					overflow: "auto",
					overflowX: "hidden",
					width: B + "px",
					position: "relative"
				});
				$(G).addClass("js_srollwrapper");
				C.children().wrapAll(G)
			}
			F.css("z-index", "998" - D).end();
			F.find("li").css("z-index", "998" - D).end();
			F.find("a").each(function (I) {
				$(this).click(function () {
					F.find("ul").css({
						left: "-1000em"
					})
				});
				if ($(this).attr("href") == "#") {
					$(this).attr("href", "javascript:donothing();");
					var H = $(this).next("ul.sub");
					if (H.size() > 0) {
						$(this).unbind("click");
						$(this).toggle(function () {
							H.show(100, function () {
								var J = C.find(".js_srollwrapper");
								var L = F.offset();
								var M = H.offset();
								var K = (M.top - L.top - 40);
								J.animate({
									scrollTop: (K + J.scrollTop())
								},
								1000)
							})
						},
						function () {
							H.hide()
						})
					}
				}
			});
			F.mouseover(function () {
				F.find("ul").css({
					left: "-2px",
					top: "19px"
				});
				F.mouseout(function () {
					F.find("ul").css({
						left: "-1000em"
					})
				}).end()
			})
		})
	}
}
function selectfix_ie6() {
	if ($.browser.msie && jQuery.browser.version <= 6) {
		$("ul.js_dropdown").css("position", "relative").append('<iframe class="iframe_fix" src="javascript:\'\';" marginwidth="0" marginheight="0" align="bottom" scrolling="no" frameborder="0"></iframe>');
		$("ul.js_dropdown").unbind("mouseover, mouseout");
		$("ul.js_dropdown").mouseover(function () {
			var B = $(this).find("ul").height();
			var A = $(this).width();
			$(this).find(".iframe_fix").height(B).width(A)
		}).mouseout(function () {
			$(this).find(".iframe_fix").height(0)
		});
		$("ul.js_dropdown ul a").bind("click", function () {
			$("ul.js_dropdown").find(".iframe_fix").height(0)
		})
	}
}
function rnd() {
	return String((new Date()).getTime()).replace(/\D/gi, "")
}
function init_medialink() {
	$("div.magnifier a").click(function () {})
}
function init_medialink_flash(D, C, A) {
	overlaySize("mod8xx_layer");
	$(".mod8xx_layer").eq(0).show();
	var B;
	($.browser.msie) ? B = document.documentElement.scrollTop - 50 : B = window.pageYOffset - 50;
	$(".layer_media").css("top", B).show();
	init_modul800(false, "special", "icon1", D, C, A)
}
function donothing() {}
function init_medialayer(F, E, D, C, B, A) {
	$("body").find("a").each(function () {
		if ($(this).attr("href") == "#") {
			$(this).attr("href", "javascript:donothing();")
		}
	}).end();
	$("a.init_medialayer").click(function () {
		var L = $(this).attr("class");
		var H = null;
		var J = L.replace(/init_medialayer /g, "");
		function K() {
			var N = new Array();
			var O;
			var M;
			N[0] = /img/g;
			N[1] = /vid/g;
			N[2] = /turn/g;
			N[3] = /special/g;
			N[4] = /print/g;
			for (i = 0; i < N.length; i++) {
				M = J.match(N[i]);
				if (M != null) {
					O = M;
					H = 0
				}
			}
			return O
		}
		var G = K();
		(G == "img") ? C = 1 : C = C;
		(G == "vid") ? C = 2 : C = C;
		(G == "turn") ? C = 3 : C = C;
		(G == "special") ? C = 4 : C = C;
		(G == "print") ? C = 5 : C = C;
		L = L.replace(/\D/gi, "");
		(H != -1) ? B = L: B = B;
		$(".mod8xx_layer").eq(0).show();
		overlaySize("mod8xx_layer");
		var I;
		($.browser.msie) ? I = document.documentElement.scrollTop - 50 : I = window.pageYOffset - 50;
		$(".layer_media").css("top", I).show();
		init_modul800(F, E, D, G, B, A)
	})
}
function init_medialayer_flash(C, A) {
	overlaySize("mod8xx_layer");
	$(".mod8xx_layer").eq(0).show();
	var B;
	($.browser.msie) ? B = document.documentElement.scrollTop - 50 : B = window.pageYOffset - 50;
	$(".layer_media").css("top", B).show();
	init_modul800(false, "special", "icon1", "img", C, A)
}
function overlaySize(A) {
	arrayPageSize = getPageSize();
	yScroll = arrayPageSize[1];
	xScroll = arrayPageSize[0];
	$("." + A).css({
		height: yScroll + "px",
		width: xScroll + "px"
	});
	$(window).bind("resize", function () {
		arrayPageSize = getPageSize();
		yScroll = arrayPageSize[1];
		xScroll = arrayPageSize[0];
		$("." + A).css({
			height: yScroll + "px",
			width: xScroll + "px"
		})
	});
	$("div.close_layer a").attr("href", "javascript:donothing();").click(function () {
		$(this).parent().parent().parent().animate({
			opacity: "hide"
		},
		200, function () {
			$(this).remove();
			$(".mod8xx_layer").eq(0).remove()
		})
	});
	$("div.hide_layer a").attr("href", "javascript:donothing();").click(function () {
		$(".mod8xx_contentlayer").animate({
			opacity: "hide"
		},
		200, function () {
			$(".mod8xx_contentlayer #rvideo .mediaframe").html("");
			$(".mod8xx_contentlayer #rturn .mediaframe").html("");
			$(".mod8xx_contentlayer #rspecial .mediaframe").html("");
			$(".mod8xx_contentlayer").hide();
			$(".mod8xx_layer").hide()
		})
	});
	$(".mod8xx_contentlayer input[type='reset']").click(function () {
		$(".mod8xx_contentlayer").animate({
			opacity: "hide"
		},
		200, function () {
			$(".mod8xx_contentlayer").hide();
			$("." + A).hide()
		})
	})
}
function getPageSize() {
	var C, A;
	var B, D;
	if (window.innerHeight && window.scrollMaxY) {
		C = document.body.scrollWidth;
		A = window.innerHeight + window.scrollMaxY
	} else {
		if (document.body.scrollHeight > document.body.offsetHeight) {
			C = document.body.scrollWidth;
			A = document.body.scrollHeight
		} else {
			if (document.documentElement && document.documentElement.scrollHeight > document.documentElement.offsetHeight) {
				C = document.documentElement.scrollWidth;
				A = document.documentElement.scrollHeight
			} else {
				C = document.body.offsetWidth;
				A = document.body.offsetHeight
			}
		}
	}
	if (self.innerHeight) {
		B = self.innerWidth - 16;
		D = self.innerHeight
	} else {
		if (document.documentElement && document.documentElement.clientHeight) {
			B = document.documentElement.clientWidth;
			D = document.documentElement.clientHeight
		} else {
			if (document.body) {
				B = document.body.clientWidth;
				D = document.body.clientHeight
			}
		}
	}
	if (A < D) {
		pageHeight = D
	} else {
		pageHeight = A
	}
	if (C < B) {
		pageWidth = B
	} else {
		pageWidth = C
	}
	arrayPageSize = new Array(pageWidth, pageHeight, B, D);
	return arrayPageSize
}
function getURLParam(E) {
	var D = "";
	var C = window.location.href;
	if (C.indexOf("?") > -1) {
		var B = C.substr(C.indexOf("?")).toLowerCase();
		var F = B.split("&");
		for (var A = 0; A < F.length; A++) {
			if (F[A].indexOf(E.toLowerCase() + "=") > -1) {
				var G = F[A].split("=");
				D = G[1];
				break
			}
		}
	}
	return unescape(D.toUpperCase())
}
function getURLanchor() {
	var B = window.location.href;
	if (B.indexOf("#") > -1) {
		var A = B.substr(B.indexOf("#")).toLowerCase()
	}
	return unescape(A)
}
function validate_form(A) {
	$("#modul" + A + "_form").validate();
	$.validator.setDefaults({
		submitHandler: function () {}
	})
}
function highlight(C, B) {
	C = C.replace(/ +/g, " ");
	if (B == 1) {
		$(".m4xx_item a.blocklink").each(function () {
			$.highlight(this, C.toUpperCase())
		})
	}
	if (B == 2) {
		var A = C.split(" ");
		$(".m4xx_item a.blocklink").each(function () {
			for (var D = 0; D < A.length; D++) {
				C = A[D];
				$.highlight(this, C.toUpperCase())
			}
		})
	}
	$("a.blocklink span.highlight").animate({
		backgroundColor: "#d0dae4"
	},
	800)
}
function shownav(A) {
	$(".m321b_ext ." + A + " .selection").hide();
	$(".m321b_ext .container").addClass("hide");
	$(".m321b_ext ." + A).removeClass("hide");
	$(".m321b_ext").slideDown(1000, function () {});
	$(".m321b_ext ." + A + " .selection").show().find("ul.js_dropdown").each(function () {
		var E = $(this);
		var C = $(this).find("ul").eq(0);
		var D = C.height();
		var B = C.width();
		if (D >= 200) {
			var F = document.createElement("div");
			B = ($.browser.msie && jQuery.browser.version <= 6) ? (B) : (B) - 2;
			$(F).css({
				height: "153px",
				overflow: "auto",
				overflowX: "hidden",
				width: B + "px",
				position: "relative"
			});
			$(F).addClass("js_srollwrapper");
			C.find("li").wrapAll(F)
		}
	})
}
function showlayer(B) {
	overlaySize("mod8xx_layer");
	$(".mod8xx_layer").eq(0).show();
	var A;
	($.browser.msie) ? A = document.documentElement.scrollTop - 50 : A = window.pageYOffset - 50;
	$("." + B).css("top", A).show()
}
function init_modul008() {
	$("#link_container a").mouseover(function () {
		$("#link_container a").removeClass();
		img_path = this.name;
		$("#image_container div").find("img").attr("src", img_path).stopTime("controlled").end()
	});
	$("#link_container a").mouseout(function () {
		A()
	});
	function A() {
		var D = 0;
		var E = $("#link_container a").size() - 1;
		var B = new Array();
		$("#link_container").append('<div class="mod008_imgcontainer" style="height:0px;width:0px;overflow:hidden;position:absolute;left:-1000em;"></div>');
		for (j = 0; j <= E; j++) {
			B[j] = $("#link_container a").eq(j).attr("name");
			var C = jQuery("<img>").attr("src", $("#link_container a").eq(j).attr("name"));
			$(".mod008_imgcontainer").append(C)
		}
		$("#image_container div").find("img").everyTime(2000, "controlled", function () {
			$(this).fadeOut(200, function () {
				$("#link_container a").removeClass();
				$(this).attr("src", B[D]);
				$(this).fadeIn(100);
				curlink = $("#link_container a")[D].id;
				$("#" + curlink).toggleClass("selected");
				if (D == E) {
					D = -1
				}
				D++
			})
		})
	}
	A()
}
function init_functionbar(var1) {
	$("div.m2xx_functionbar a.send").css("display", "block");
	$("div.m2xx_functionbar a.send").click(function () {
		init_modul_507(false);
		overlaySize("mod8xx_layer");
		$(".mod8xx_layer").eq(0).show();
		$(".layer_sendafriend").show();
		$(".layer_sendafriend .url_507").html(document.URL);
		$(".layer_sendafriend .title_507").html($("title").text());
		$(".layer_sendafriend #modul507_form INPUT[name='siteurl']").val(document.URL)
	});
	var send = $(".mod8xx_contentlayer").is(".layer_sendafriend_sent");
	if (send) {
		init_modul_507(true)
	}
	function prevPage(baseUrl) {
		var pattern = eval("/" + baseUrl + "/i");
		if (document.referrer.match(pattern) && document.referrer != "") {
			window.history.back()
		} else {
			window.location.href = "http://" + baseUrl
		}
	}
	$("div.m2xx_functionbar a").each(function () {
		if ($(this).attr("href") == "#") {
			$(this).attr("href", "javascript:donothing();")
		}
	});
	$("div.m2xx_functionbar a.back").click(function () {
		prevPage(var1)
	});
	var Apath = "";
	var Ahref = document.location.href;
	Ahref = Ahref.split("#");
	var As = Ahref[0].split("/");
	for (var i = 3; i < (As.length); i++) {
		As[i] = As[i].replace(/#top/g, "");
		Apath += "/" + As[i]
	}
	Apath += "#top";
	$("div.m2xx_functionbar a.up").attr("href", Apath)
}
function init_modul_004(B, A, M, L, K, J, G, F, D) {
	var E = false;
	var I = DetectFlashVer(8, 0, 0);
	var C = H(B, A, M, L, K, J, G, F);
	function H(N, P, T, Q, V, S, U, O) {
		var R = (O != "" || O != false) ? "&linkCountry=" + O: "";
		str_flash = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="223" height="194"><param name="name" value="world" /><param name="id" value="world" /><param name="movie" value="' + N + "?lang=" + P + R + "&view=" + T + "&xmlSrc=" + Q + "&cssPath=" + V + "&headImg=" + S + "&bLupe=" + U + "&rnd=" + rnd() + '" /><param name="wmode" value="transparent" /><param name="quality" value="high" /><embed src="' + N + "?lang=" + P + R + "&view=" + T + "&xmlSrc=" + Q + "&cssPath=" + V + "&headImg=" + S + "&bLupe=" + U + "&rnd=" + rnd() + '" wmode="transparent" quality="high" name="world" id="world" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="223" height="194"></embed></object>';
		return str_flash
	}
	if (I) {
		if (D) {
			$(".m004 .m004_fb").html(C)
		} else {
			$(".m004 .m004_fb").mouseover(function () {
				var N = $(this);
				if (!E) {
					N.css("background", "none");
					N.html(C)
				}
				E = true
			})
		}
	}
}
function init_modul_018cs(F, B) {
	var C = $(".m018cs .container");
	var D = F;
	$(".m018cs .js_dropdown").toggle();
	C.find("img").each(function () {
		$(this).wrap('<div class="wrapper018img"></div>')
	});
	function E() {
		var G = "";
		var H = C.find(".item").filter(function () {
			return $(this).css("display") != "none"
		}).size();
		C.find(".item").filter(function () {
			return $(this).css("display") != "none"
		}).each(function (I) { (I >= D) ? $(this).hide() : $(this).show();
			(I == 0) ? $(this).removeClass("closed").addClass("aktiv").addClass("first") : $(this).removeClass("aktiv").addClass("closed").removeClass("first");
			(H <= D) ? G = H: G = D;
			(I == G - 1) ? $(this).addClass("last") : $(this).removeClass("last");
			$(this).find("a").css("cursor", "pointer").mouseover(function (K) { (I == 0) ? A(0) : A(1);
				C.find(".aktiv").addClass("closed").removeClass("aktiv");
				var J = $(this).parent().parent();
				J.removeClass("closed").addClass("aktiv");
				(J.is(".last")) ? C.css("padding", "0px 0px 0px 0px") : C.css("padding", "0px 0px 10px 0px")
			})
		})
	}
	$(".m018cs .js_dropdown ul li").find("a").click(function (G) {
		var I = $(this).attr("id");
		var H = $(this).html();
		$(this).parent().parent().parent().find("a").eq(0).html(H).attr("id", I).end();
		$(this).parent().parent().css({
			left: "-1000em"
		});
		if (I == "ALL") {
			C.find(".item").removeClass("aktiv").addClass("closed").removeClass("last").show();
			E()
		} else {
			C.find(".item").each(function (K) {
				$(this).addClass("closed").removeClass("aktiv").removeClass("last").hide();
				var L = $(this).attr("class");
				var J = L.indexOf(I);
				if (J != -1) {
					$(this).show()
				}
			});
			E()
		}
		A(0)
	});
	$(".m018cs ul.js_dropdown").hover(function () {
		$(this).find("ul").css({
			left: "-2px"
		})
	},
	function () {
		$(this).find("ul").css({
			left: "-1000em"
		})
	});
	function A(G) {
		if (G == "1") {
			$(".m018cs .container .spacer").show()
		}
		if (G == "0") {
			$(".m018cs .container .spacer").hide()
		}
	}
	A(0);
	E();
	$(".m018cs .js_dropdown ul li a#" + B).trigger("click")
}
function init_modul_019() {
	var A = $("div.m019 div.scrollWrapper");
	var B = A.find("div.contItem").size();
	var D = B;
	var C = A.find("div.contItem").width();
	$("div.contItem").clone().appendTo("div.scrollWrapper");
	$("div.contItem").clone().appendTo("div.scrollWrapper");
	$("div.scrollWrapper").css("left", -90 * B);
	$("div.scrollWrapper").css("width", B * 90 * 3);
	$("div.m019").attr("class", "m019 wJS");
	$("div.dirBtn a").each(function () {
		if ($(this).attr("href") == "#") {
			$(this).attr("href", "javascript:donothing();")
		}
	});
	$("div.dBRight a").click(function () {
		if (D < (B * 2)) {
			D++;
			$("div.scrollWrapper").animate({
				left: -(D * C) - 20 * D
			},
			350)
		} else {
			$("div.scrollWrapper").css("left", -90 * B);
			D = B + 1;
			$("div.scrollWrapper").animate({
				left: -(D * C) - 20 * D
			},
			350)
		}
	});
	$("div.dBLeft a").click(function () {
		if (D > 0) {
			D--;
			$("div.scrollWrapper").animate({
				left: -(D * C) - 20 * D
			},
			350)
		} else {
			$("div.scrollWrapper").css("left", -90 * B);
			D = B - 1;
			$("div.scrollWrapper").animate({
				left: -(D * C) - 20 * D
			},
			350)
		}
	})
}
function init_modul_025() {
	$(".mod025 .js-fallback").hide();
	$(".mod025 ul").css({
		marginTop: "10px"
	});
	var A = $(".mod025 ul.js_dropdown");
	A.show()
}
function init_modul_080() {
	$("#nav-main ul.js_dropdown ul.show").toggle();
	$("#nav-main ul.js_dropdown").find("ul.sub").each(function (A) {
		$(this).parent().find("a").click(function () {
			$("ul.js_dropdown ul.sub").eq(A).toggle()
		})
	}).end();
	$(".shadow").hide();
	$("#nav-head .log a.login").click(function () {
		$(".shadow").show(400);
		$("#mod081 #username").focus()
	})
}

function init_modul_082() {
	var A = $(".mod082 .content .item").size();
	var C = 0;
	var B = [];
	$(".mod082 a").each(function () {
		if ($(this).attr("href") == "#") {
			$(this).attr("href", "javascript:donothing();")
		}
	});
	$(".mod082 .content .wrapper").each(function () {
		B.push($(this).html())
	});
	$(".mod082 .content").each(function (E) {
		var D = $(this).find("div.item").size();
		if (D > 3) {
			$(".mod082 .ftl a.next").eq(E).toggle();
			$(".mod082 .ftl a.prev").eq(E).toggle();
			$(".mod082 .ftl a.next").click(function () {
				if (C < (D / 3 - 1)) {
					C++;
					$(".mod082 .content .wrapper").animate({
						top: -194 * (C)
					},
					400)
				}
			});
			$(".mod082 .ftl a.prev").click(function () {
				if (C > 0) {
					C--;
					$(".mod082 .content .wrapper").animate({
						top: -194 * (C)
					},
					400)
				}
			});
			$(this).css("height", 194)
		} else {
			$(this).parent().find(".dropdownfield").remove()
		}
	});
	$(".mod082 ul.js_dropdown").toggle().each(function (D) {
		$(this).find("a").click(function () {
			var E = $(this).html();
			$(".mod082 .content .wrapper").html("");
			for (D = 0; D < B.length; D++) {
				$(".mod082 .content .wrapper").append(B[D])
			}
			$(".mod082 .content .item").filter("." + $(this).attr("class")).remove().clone().prependTo(".mod082 .content .wrapper")
		})
	})
}
/* Aenderung 20100422 - digiparden GmbH (mh) */
function init_modul084(rotation) {
	$("div.m084").toggle();
	var container = $("div.m084 div.wrapper");
	var picEls = container.find("img").size();
	if (picEls < 3) rotation = false;
	var picWidth = 62;
	var picOffset = 0;
	var actPic = 0;
	container.find("a").each(function (n) {
		$(this).attr("id", "m084_" + n);
	});
	if (rotation) {
		$("div.m084 div.wrapper a").clone().appendTo("div.m084 div.wrapper");
		$("div.m084 div.wrapper a").eq(picEls - 1).clone().prependTo("div.m084 div.wrapper");
	} else {
		$("div.m084 .nav").hide();
	}
	container.find("a").click(function () {
		var id = parseInt($(this).attr("id").replace("m084_", ""));
		$("div.m048 div.text").hide().eq(id).show();
		$("div.m084 div.wrapper img").removeClass("aktiv");
		$(this).find('img').addClass("aktiv");
		$("div.m048 img").attr("src", $("div.m084 div.wrapper img").eq(id + 1).attr("src"));
	});
	container.css({
		width: (2 * picEls + 3) * picWidth,
		left: picOffset
	});
	$("div.m084 .nav a.fwrd").click(function (e) {
		e = e | window.Event;
		if (e && e.preventDefault) e.preventDefault();
		if (e && e.stopPropagation) e.stopPropagation();
		if (++actPic >= picEls) actPic = 0;
		if (actPic == 1) container.css('left', picOffset);
		container.animate({
			left: -((actPic == 0 ? picEls: actPic) * picWidth) + picOffset
		},
		350);
		$("div.m048 .text").hide().eq(actPic).show();
		$("div.m084 div.wrapper img").removeClass("aktiv").eq((actPic == 0 ? picEls: actPic) + 1).addClass("aktiv");
		$("div.m048 img").attr("src", $("div.m084 div.wrapper img").eq(actPic + 1).attr("src"));
	});
	$("div.m084 .nav a.bwrd").click(function (e) {
		if (--actPic < 0) {
			actPic = picEls - 1;
			container.css('left', -(picEls * picWidth) + picOffset);
		}
		container.animate({
			left: -(actPic * picWidth) + picOffset
		},
		350);
		$("div.m048 .text").hide().eq(actPic).show();
		$("div.m084 div.wrapper img").removeClass("aktiv").eq(actPic + 1).addClass("aktiv");
		$("div.m048 img").attr("src", $("div.m084 div.wrapper img").eq(actPic + 1).attr("src"));
	});
	var rotationTimer = null;
	if (rotation == true) {
		window.setTimeout(function () {
			rotationTimer = window.setInterval(function () {
				$("div.m084 .nav a.fwrd").trigger("click");
			},
			2000);
		},
		4000);
		$(".m084, .m048").mouseover(function () {
			window.clearInterval(rotationTimer);
		});
		$("div.m084, div.m048").mouseout(function () {
			window.clearInterval(rotationTimer);
			rotationTimer = window.setInterval(function () {
				$("div.m084 .nav a.fwrd").trigger("click");
			},
			2000);
		});
	}
}
/* -------- */
function init_modul_111(C, B, A) {
	$(".m111_teaser_container").each(function (D) {
		var E = (typeof(C) == "object") ? C[D] : C;
		getTeaser("#m111_teaser_container" + (D + 1), "#m111_nav" + (D + 1), E - 1, A)
	})
}
function getTeaser(B, F, G, D) {
	var G = G;
	var D = D;
	var C = $(B + " div.box_2teaser").size();
	var A;
	var E;
	$(F + " a.m111_next").css("display", "block");
	$(F + " a.m111_prev").css("display", "block");
	$(B + " div.box_2teaser").each(function (H) {
		$(this).css("display", "none");
		if (H == G) {
			$(this).css("display", "block")
		}
	});
	$(F + " a").attr("href", "javascript:donothing();");
	$(F + " a.m111_next").click(function (H) {
		A = $(B + " div.box_2teaser")[G];
		G++;
		if (G >= C) {
			G = 0
		}
		E = $(B + " div.box_2teaser")[G];
		$("#" + A.id).toggle();
		$("#" + E.id).toggle()
	});
	$(F + " a.m111_prev").click(function (H) {
		A = $(B + " div.box_2teaser")[G];
		if (G == 0) {
			G = C
		}
		G--;
		E = $(B + " div.box_2teaser")[G];
		$("#" + A.id).toggle();
		$("#" + E.id).toggle()
	});
	if (D == true) {
		$(F + " a.m111_next").oneTime(8000, function () {
			$(this).everyTime(2000, "controlled", function () {
				$(this).trigger("click")
			})
		});
		$(F).mouseover(function () {
			$(this).find("a").stopTime("controlled").end()
		})
	}
}
function init_modul_203() {
	$("div.pre_init").each(function (A) {
		if (A != 0) {
			$(this).toggle()
		}
		$(this).removeClass();
		$(this).find(".riders").find("a").each(function (B) {
			$(this).attr("href", "javascript: donothing();");
			var B = B + 1;
			$(this).bind("click", function (C) {
				$(this).parent().parent().parent().parent().toggle();
				$("#rider" + B).toggle().removeClass()
			})
		})
	})
}
function init_modul_307() {
	$(".medial img").each(function () {
		var D = $(this).height();
		var C = $(this).width();
		var B = Math.round(D / 2);
		var A = Math.round(C / 2 - 35 + 12);
		$(this).parent().find("a").removeClass("hide");
		$(this).parent().find("a").css({
			top: B,
			left: A
		}).click(function () {
			init_medialink()
		})
	})
}
function init_modul_338() {
	$(".answers").toggle();
	$(".questions .question a").click(function () {
		$(".questions .question .answer").css("display", "none");
		$(".questions .question").removeClass("aktiv");
		$(this).parent().find("div.answer").fadeIn(300);
		$(this).parent().toggleClass("aktiv");
		$(this).attr("href", "javascript:donothing();")
	})
}
function init_modul_403() {
	$("#modul403_form .hide").show();
	$("#modul403_form").find("ul.js_dropdown").toggle().end();
	$("input.hide").toggle();
	$("div.m4xx_hdl a.filter").attr("href", "javascript:donothing();");
	$("div.m4xx_hdl a.filter").eq(0).toggleClass("filter").toggle();
	$("div.m4xx_hdl a").click(function () {
		$("div.m4xx_para").css("z-index", "10000");
		$("div.m4xx_para").css("position", "relative");
		$("div.m4xx_para").slideToggle("slow", function () {
			init_hoverfix()
		});
		$(this).toggleClass("filter")
	});
	var B = window.location.href;
	var A = B.match(/tx_dgpmod403_pi1/);
	$("input.all").click(function () {
		$("INPUT[type='checkbox']").attr("checked", $(this).is(":checked"))
	});
	$("INPUT[type='checkbox'].single").click(function () {
		$("input.all").removeAttr("checked");
		boxes = $("input.single").length;
		i = 0;
		$("input.single").each(function () {
			if ($(this).is(":checked")) {
				i++
			}
			if (i == boxes) {
				$("#modul403_form input.all").attr("checked", "checked")
			}
		})
	});
	$("#modul403_form ul.js_dropdown").each(function (D) {
		el = $(this);
		var C = $(this).attr("name");
		$("#modul403_form").find("SELECT[name='" + C + "'] option").each(function () { ($(this).is(":selected")) ? el.find("a").eq(0).html($(this).html()) : ""
		});
		$(this).find("ul li a").each(function (E) {
			$(this).unbind("click").click(function () {
				var F = $(this).html();
				$("#modul403_form").find("SELECT[name='" + C + "'] option").attr("selected", 0);
				$("#modul403_form").find("SELECT[name='" + C + "'] option").eq(E).attr("selected", 1);
				$(this).parent().parent().parent().find("a").eq(0).html(F).end()
			})
		})
	});
	$("#modul403_form").find("select").hide()
}
function init_modul_406() {
	$("#modul406_form").find("ul.js_dropdown").toggle().end();
	$("div.m4xx_para").hide();
	var B = window.location.href;
	var A = B.match(/tx_dgpmod406_pi1/);
	if (A == null) {
		$("#modul406_form .chkboxes .right input").each(function (C) {
			$(this).attr("checked", "checked")
		})
	}
	$("div.m4xx_hdl a.filter").toggle();
	$("div.m4xx_hdl a.filter").attr("href", "javascript:donothing();");
	$("div.m4xx_hdl a.filter").click(function () {
		$("div.m4xx_para").css("z-index", "2");
		$("div.m4xx_para").css("position", "relative");
		$("div.m4xx_para").slideToggle("slow", function () {
			init_hoverfix()
		});
		$(this).toggleClass("filter")
	});
	$("input.all").click(function () {
		$("INPUT[type='checkbox'].checkall").attr("checked", $(this).is(":checked"))
	});
	$("INPUT[type='checkbox'].single").click(function () {
		$("input.all").removeAttr("checked");
		boxes = $("input.single").length;
		i = 0;
		$("input.single").each(function () {
			if ($(this).is(":checked")) {
				i++
			}
			if (i == boxes) {
				$("#modul406_form input.all").attr("checked", "checked")
			}
		})
	});
	$("#modul406_form ul.js_dropdown").each(function (D) {
		el = $(this);
		var C = $(this).attr("name");
		$("#modul406_form").find("SELECT[name='" + C + "'] option").each(function () { ($(this).is(":selected")) ? el.find("a").eq(0).html($(this).html()) : ""
		});
		$(this).find("ul li a").each(function (E) {
			$(this).unbind("click").click(function () {
				var F = $(this).html();
				$("#modul406_form").find("SELECT[name='" + C + "'] option").attr("selected", 0);
				$("#modul406_form").find("SELECT[name='" + C + "'] option").eq(E).attr("selected", 1);
				$(this).parent().parent().parent().find("a").eq(0).html(F).end()
			})
		})
	});
	$("#modul406_form").find("select").hide()
}
function init_modul_408() {
	$(".modul_408_form select").remove();
	$("ul.js_dropdown").toggle().each(function (A) {
		$(this).after('<input type="hidden" value="" name="' + $(this).attr("title") + '" class="js_dropdown_value' + A + '">');
		$(this).find("a").click(function () {
			var B = $(this).html();
			$(this).parent().parent().parent().find("a").eq(0).html(B).end();
			$(".js_dropdown_value" + A).val(B)
		}).end()
	});
	$(".box_w273").each(function () {
		$(this).find("a").click(function () {
			var B = $(this).attr("href");
			var A = B.indexOf(".pdf")
		})
	})
}
function init_modul_318() {
	$("#m318_container").css({
		height: "144px",
		marginBottom: "20px"
	});
	$("a.send").click(function () {
		$.post("layer_507.tpl", function (A) {
			$("body").append(A);
			init_modul_500();
			init_hoverfix();
			overlaySize("mod8xx_layer")
		})
	});
	$("#m318_bildleiste").css("overflow", "hidden");
	$("#m318_bildleiste").css("height", "121px");
	$("#m318_bildcontainer div.bilder").each(function (A) {
		var B = (A != 0) ? "52px": "132px";
		$(this).css("width", B)
	});
	$("#m318_bildcontainer div.btext").each(function (B) {
		var A = (B != 0) ? "none": "block";
		$(this).css("display", A)
	});
	$("div.inhalt").each(function (B) {
		var A = (B != 0) ? "none": "block";
		$(this).css("display", A)
	});
	$("#m318_jahr_cont a").each(function (A) {
		$(this).attr("id", A + 1);
		$(this).attr("href", "javascript:donothing();");
		$(this).click(function () {
			$("#m318_bildcontainer div.bilder").css("width", "52px");
			$("#m318_bildcontainer div.btext").css("display", "none");
			$("div.inhalt").css("display", "none");
			$("#m318_bildcontainer #m318_bild" + $(this).attr("id")).css("width", "132px");
			$("#m318_bildcontainer #m318_bild" + $(this).attr("id") + "_text").css("display", "block");
			$("#m201_inhalt" + $(this).attr("id")).css("display", "block")
		});
		$(this).mouseover(function () {
			$("#m318_bildcontainer div.bilder").css("width", "52px");
			$("#m318_bildcontainer div.btext").css("display", "none");
			$("#m318_bildcontainer #m318_bild" + $(this).attr("id")).css("width", "132px");
			$("#m318_bildcontainer #m318_bild" + $(this).attr("id") + "_text").css("display", "block")
		})
	})
}
function init_modul_321() {
	$("ul.js_dropdown").toggle();
	$("ul.js_dropdown ul.show").toggle();
	$("ul.js_dropdown").find("ul.sub").each(function (A) {
		$(this).parent().find("a").click(function () {
			$("ul.js_dropdown ul.sub").eq(A).toggle()
		})
	}).end();
	if (flashOK == true) {
		$(".m321b_ext").toggle()
	}
}
function init_modul_330() {
	$("#m330_meldung_lang").toggle();
	$(".m330_toggle_link.down").toggle();
	$("a.m330_toggle_link").click(function () {
		$("#m330_meldung_lang").slideToggle(200);
		$(this).toggleClass("m330_toggle")
	});
	$("a.m330_toggle_link.down").click(function () {
		$(this).toggle();
		$("a.m330_toggle_link.up").toggle()
	});
	$("a.m330_toggle_link.up").click(function () {
		$(this).toggle();
		$("a.m330_toggle_link.down").toggle()
	})
}
function init_modul_331() {
	$("ul.js_dropdown").toggle().end();
	$("div.selection").each(function () {
		$(this).find("a").eq(0).toggle().end()
	});
	$("ul.js_dropdown").each(function (A) {
		$(this).after('<input type="hidden" value="" name="' + $(this).attr("title") + '" class="js_dropdown_value' + A + '">');
		$(this).find("a").click(function () {
			var B = $(this).html();
			$(this).parent().parent().parent().find("a").eq(0).html(B).end();
			$(".js_dropdown_value" + A).val(B)
		}).end()
	})
}
function init_modul_339() {
	$(".m339 .item .text").each(function () {
		$(this).hide()
	});
	$(".m339 .item a.block").removeClass("aktiv").append('<span class="icon arrow"><span>mehr ...</span></span>');
	$(".m339 .item a").each(function () {
		$(this).bind("click", function () {
			$(".m339 .item .text").hide();
			$(".m339 .item a.block").removeClass("aktiv").find(".icon").show();
			$(this).addClass("aktiv").next(".text").show();
			$(this).find(".icon").hide()
		})
	})
}
function init_modul380() {
	$(".m380 .group .head a").toggle();
	$(".m380 .group").each(function () {
		$(this).find("a.toggle").click(function (A) {
			$(this).parent().parent().toggleClass("open").find(".wrapper").slideToggle()
		})
	});
	$(".m380 .group a.toggle").toggle(function () {
		$(this).html(hideProducts);
	},
	function () {
		$(this).html(showProducts);
	});
	$(".m380 .group .wrapper").toggle();
	$(".m380 .group a.toggle").eq(0).trigger("click")
}
function init_modul_401() {
	$("div.m4xx").find("select").remove().end();
	$("div.m4xx").find("ul.js_dropdown").toggle().end();
	$("div.m4xx").find("div.form_btn").toggle().end()
}
function init_modul_460() {
	var A = $(".m460 .item").size();
	(A > 3) ? init_modul_919() : ""
}
function init_modul_500() {
	$("#modul500_form").find("select").not(".angezeigt").remove().end();
	$("#modul500_form").find("ul.js_dropdown").toggle().end();
	$("#modul500_form").validate();
	$("#modul500_form ul.js_dropdown").each(function (A) {
		$(this).after('<input type="hidden" value="" name="' + $(this).attr("title") + '" class="js_dropdown_value' + A + '">');
		$(this).find("a").click(function () {
			var B = $(this).html();
			$(this).parent().parent().parent().find("a").eq(0).html(B).end();
			$(".js_dropdown_value" + A).val(B)
		}).end()
	});
	$(".m5xx_fentry .tx_powermail_pi1_fieldwrap_html_file").each(function () {
		var A = $(this).find("input[type='file']");
		A.fakefileinput()
	})
}
function init_modul_501() {
	$("#modul501_form").find("select").remove().end();
	$("#modul501_form").find("ul.js_dropdown").toggle().end();
	$("div.m4xx_hdl a").toggle().toggleClass("filter");
	$("div.m4xx_hdl a").attr("href", "javascript:donothing();");
	$("div.m4xx_hdl a").click(function () {
		$("#modul501_form").find("ul.js_dropdown").toggle().end();
		$("div.full").slideToggle(200, function () {});
		$(this).toggleClass("filter")
	});
	$("div.all").prepend('<div class="eingabezeile"><input type="checkbox" class="checkB all required" name="bereich[]" value="eins" />Alle</div>');
	$("#modul501_form INPUT[type='checkbox']").each(function (B) {
		$(this).attr("checked", "checked")
	});
	$("#modul501_form input.all").click(function () {
		$("INPUT[type='checkbox']").attr("checked", $(this).is(":checked"))
	});
	$("INPUT[type='checkbox'].single").click(function () {
		$("input.all").removeAttr("checked");
		boxes = $("input.single").length;
		i = 0;
		$("input.single").each(function () {
			if ($(this).is(":checked")) {
				i++
			}
			if (i == boxes) {
				$("#modul501_form input.all").attr("checked", "checked")
			}
		})
	});
	$("ul.js_dropdown").each(function (B) {
		$(this).after('<input type="hidden" value="" name="' + $(this).attr("title") + '" class="js_dropdown_value' + B + '">');
		$(this).find("a").click(function () {
			var C = $(this).html();
			$(this).parent().parent().parent().find("a").eq(0).html(C).end();
			$(".js_dropdown_value" + B).val(C)
		}).end()
	});
	var A = $("#modul501_form").bind("invalid-form.validate", function () {
		$("div.err_msg").html("Bitte geben Sie mind. einen Bereich an")
	});
	$("#modul501_form").validate({
		errorElement: "em",
		errorContainer: $("div.err_msg"),
		errorPlacement: function (B, C) {}
	});
	$.validator.setDefaults({
		submitHandler: function () {}
	})
}
function init_modul_505() {
	$("#modul505_form").find("select").remove().end();
	$("#modul505_form").find("ul.js_dropdown").toggle().end();
	$("div.all").prepend('<div class="eingabezeile"><input type="checkbox" class="checkB all" name="bereich[]" value="eins" />Alle</div>');
	$("#modul505_form INPUT[type='checkbox']").each(function (A) {
		$(this).attr("checked", "checked")
	});
	$("#modul505_form input.all").click(function () {
		$("INPUT[type='checkbox']").attr("checked", $(this).is(":checked"))
	});
	$("INPUT[type='checkbox'].single").click(function () {
		$("input.all").removeAttr("checked");
		boxes = $("input.single").length;
		i = 0;
		$("input.single").each(function () {
			if ($(this).is(":checked")) {
				i++
			}
			if (i == boxes) {
				$("#modul505_form input.all").attr("checked", "checked")
			}
		})
	});
	$("ul.js_dropdown").each(function (A) {
		$(this).after('<input type="hidden" value="" name="' + $(this).attr("title") + '" class="js_dropdown_value' + A + '">');
		$(this).find("a").click(function () {
			var B = $(this).html();
			$(this).parent().parent().parent().find("a").eq(0).html(B).end();
			$(".js_dropdown_value" + A).val(B)
		}).end()
	})
}
function init_modul_507(C) {
	if (C == false) {
		$("#modul507_form").validate()
	}
	if (C == true) {
		overlaySize("mod8xx_layer");
		$(".mod8xx_layer").eq(0).show();
		$(".layer_sendafriend_sent").show();
		var A = 6;
		var B = $(".layer_sendafriend_sent .hide_layer .timer");
		B.everyTime(1000, "timer", function () {
			A--;
			$(this).html(A);
			if (A == 0) {
				B.stopTime("timer");
				$(".layer_sendafriend_sent .hide_layer a").trigger("click")
			}
		});
		$(".layer_sendafriend_sent .hide_layer a").click(function () {
			B.stopTime("timer")
		})
	}
}
function init_modul_509() {
	$("#modul500_form").find("ul.js_dropdown").toggle().end();
	$.validator.setDefaults({
		errorPlacement: function (A, B) {
			if (B.attr("name") == "einverstaendnis") {
				B.parent().addClass("error_txt");
				A.insertAfter(B)
			} else {
				A.insertAfter(B)
			}
		},
		success: function (B, A) {
			B.parent().removeClass("error_txt");
			if (B.prev().attr("name") == "firma") {
				$("input#university").removeClass("required").next(".error-custom").remove()
			}
			if (B.prev().attr("name") == "uni") {
				$("input#company").removeClass("required").next(".error-custom").remove()
			}
		},
		errorClass: "error-custom"
	});
	$("#modul500_form").validate();
	$("#modul500_form").find("input[@name='einverstaendnis']").click(function () {
		if ($(this).not(":checked")) {
			$(this).parent().addClass("error_txt")
		}
		if ($(this).is(":checked")) {
			$(this).parent().removeClass("error_txt")
		}
	});
	if ($("input#privat").is(":checked")) {
		$("input#university").removeClass("required").next(".error-custom").remove();
		$("input#company").removeClass("required").next(".error-custom").remove()
	}

	$("input.gebiet").click(function () {
		if ($("input#gebiet_wm").is(":checked") || $("input#gebiet_lt").is(":checked") || $("input#gebiet_mt").is(":checked")) {
			$("input.gebiet").removeClass("required").next(".error-custom").remove();
		} else{
			$("input#gebiet_wm").addClass("required").next(".error-custom").show();
		}
	});

	$("input#privat").click(function () {
		if ($(this).is(":checked")) {
			$("input#company").removeClass("required").next(".error-custom").hide();
			$("input#university").removeClass("required").next(".error-custom").hide()
		} else {
			$("input#university").addClass("required").next(".error-custom").show();
			$("input#company").addClass("required").next(".error-custom").show()
		}
	});
	$("#modul500_form").find("input[@name='einverstaendnis']").parent().addClass("checkagb");
	$("#modul500_form ul.js_dropdown").each(function (B) {
		el = $(this);
		var A = $(this).attr("title");
		$("#modul500_form").find("SELECT[name='" + A + "'] option").each(function () { ($(this).is(":selected")) ? el.find("a").eq(0).html($(this).html()) : ""
		});
		$(this).find("ul li a").each(function (C) {
			$(this).unbind("click").click(function () {
				var D = $(this).html();
				$("#modul500_form").find("SELECT[name='" + A + "'] option").attr("selected", 0);
				$("#modul500_form").find("SELECT[name='" + A + "'] option").eq(C + 1).attr("selected", 1);
				$(this).parent().parent().parent().find("a").eq(0).html(D).end();
				$(this).parent().parent().parent().parent().prev(".error").remove()
			})
		})
	});
	$("#modul500_form").find("select").not(".angezeigt").hide().end()
}
function init_modul_514() {
	var G = ($(".modul_514_form select").length > 0) ? true: false;
	if ($.browser.msie && jQuery.browser.version == 7 && G == true) {
		$(".m5xx_fentry ul#product").remove();
		$(".m5xx_fentry ul#group").remove()
	} else {
		var C = $(".modul_514_form");
		var B = $(".modul_514_form .m5xx_fentry").eq(1);
		B.hide();
		$(".modul_514_form select").remove();
		C.find(".m5xx_fentry").removeClass("hide");
		var D = $("ul#group");
		var F = $("ul#product");
		var H = F.find("li a").eq(0).html();
		D.show();
		F.after('<input type="hidden" value="" name="' + F.attr("title") + '" class="js_dropdown_value1">');
		D.find("ul a").click(function () {
			var J = $(this).attr("id");
			var I = $(this).html();
			F.find("li a").eq(0).html(H);
			F.find("ul li").addClass("hide");
			F.find("ul li a." + J).parent().removeClass("hide");
			D.find("a").eq(0).html(I).end();
			$(this).parent().parent().parent().css("left", "-1000em");
			F.show();
			B.slideDown(function () {
				var K = F.find("li ul");
				var L = "";
				if (K.children().is(".js_srollwrapper") == true) {
					L = K.find(".js_srollwrapper").html();
					K = K.find(".js_srollwrapper").remove();
					L += F.find("li ul").html()
				} else {
					L = K.html()
				}
				F.find("ul").html(L);
				E(F);
				A(F)
			})
		});
		function E(L) {
			var J = L.find("ul").eq(0);
			var K = J.height();
			var I = J.width();
			if (K >= 200) {
				var M = document.createElement("div");
				I = ($.browser.msie && jQuery.browser.version <= 6) ? (I) : (I) - 2;
				$(M).css({
					height: "153px",
					overflow: "auto",
					overflowX: "hidden",
					width: I + "px",
					position: "relative"
				});
				$(M).addClass("js_srollwrapper");
				J.find("li").not(".hide").wrapAll(M)
			}
		}
		function A(I) {
			I.find("a").unbind("click").click(function () {
				I.find("a").eq(0).html($(this).html()).end();
				$(".js_dropdown_value1").val($(this).attr("id"));
				I.find("ul").eq(0).css("left", "-1000em")
			})
		}
	}
}
function init_modul_560(A) {
	var A = A - 1;
	var B = "";
	$("div.rider_init").each(function (C) {
		$(this).removeClass("hide");
		$(this).css("float", "left");
		$(this).css("width", "560px");
		if (C != 0) {
			$(this).hide()
		}
		$(this).removeClass(".rider_init");
		$(this).find(".riders").find("a").each(function (D) {
			$(this).attr("href", "javascript: donothing();");
			var D = D + 1;
			$(this).bind("click", function (E) {
				$(this).parent().parent().parent().parent().toggle();
				$("#rider" + D).toggle().removeClass()
			})
		})
	});
	$("#rider1 a").eq(A).trigger("click");
	$(".m560 ul.js_dropdown").each(function (C) {
		var D = $(this);
		$(this).after('<input type="hidden" value="" style="border:0;" name="' + $(this).attr("title") + '" class="js_dropdown_value' + C + '">');
		$(this).find("a").click(function () {
			var E = $(this).html();
			B = $(this).attr("class");
			$(this).parent().parent().parent().find("a").eq(0).html(E).end();
			$(".m560 .js_dropdown_value" + C).val(B)
		});
		D.parent().parent().find("select option").each(function (E) {
			if ($(this).attr("selected")) {
				D.find("a:first").html($(this).html());
				$(".m560 .js_dropdown_value" + C).val($(this).val())
			}
		})
	});
	$("input.confirm").focus(function () {
		$(this).val("")
	});
	$(".m560").each(function () {
		var C = $(this).parent().find("form");
		C.find("ul.country ul a").bind("click", function () {
			C.submit();
			return false
		})
	});
	$(".m560 select.remove").remove();
	$(".m560 ul.js_dropdown").toggle()
}
function init_modul_561() {
	$.validator.setDefaults({
		errorPlacement: function (A, B) {
			if (B.attr("name") == "einverstaendnis") {
				B.parent().addClass("error_txt");
				A.insertAfter(B)
			} else {
				if (B.attr("type") == "file") {
					B.parent().find(".fileupload-faked-field").addClass("error-border");
					B.parent().prev("label").addClass("error_txt")
				} else {
					if (B.is(".dyninput")) {
						A.insertAfter(B);
						A.addClass("error-static")
					} else {
						A.insertAfter(B)
					}
				}
			}
		},
		success: function (B, A) {
			B.parent().removeClass("error_txt")
		},
		errorClass: "error-custom"
	});
	$("#modul500_form .form_btn .button").click(function () {
		$("#modul500_form").validate()
	});
	$("#modul500_form .filerow input[type='submit']").bind("click", function () {
		$("#modul500_form .required").removeClass("required")
	});
	$("ul.js_dropdown").each(function (A) {
		var B = $(this);
		B.after('<input type="text" value="" name="' + $(this).attr("title") + '" class="js_dropdown_value' + A + '">');
		(B.is(".required")) ? B.parent().find(".js_dropdown_value" + A).addClass("required hidden") : B.parent().find(".js_dropdown_value" + A).addClass("hidden");
		B.find("ul a").click(function () {
			var C = $(this).html();
			$(this).parent().parent().parent().find("a").eq(0).html(C).end();
			$(".js_dropdown_value" + A).val(C).removeClass("required").focus()
		}).end();
		B.prev("select").find("option").each(function (C) {
			if ($(this).attr("selected")) {
				B.find("a:first").html($(this).html());
				$(".js_dropdown_value" + A).val($(this).val())
			}
		})
	});
	$(".m5xx_fentry .filerow").each(function () {
		var B = $(this).find("input[type='file']");
		var A = $(this).find(".filebtn");
		B.removeClass("file").fakefileinput();
		A.addClass("button");
		A.wrap('<div class="form_btn" style="float:left;margin-bottom:0px;"></div>')
	});
	$("#modul500_form").find("select.remove").remove().end();
	$("#modul500_form").find("ul.js_dropdown").toggle().end();

	CNTRY = $("form[name='mod561_form'] input#jobcountry").val();
	if(CNTRY == 'US' || CNTRY == 'CA' || CNTRY == 'MX') {
		$("form[name='mod561_form'] label[for='birth']").hide();
		$("form[name='mod561_form'] #birth_d").hide();
		$("form[name='mod561_form'] #birth_m").hide();
		$("form[name='mod561_form'] #birth").hide();			
	} else {
		$("form[name='mod561_form'] label[for='birth']").show();
		$("form[name='mod561_form'] #birth_d").show();
		$("form[name='mod561_form'] #birth_m").show();
		$("form[name='mod561_form'] #birth").show();			
	}
	
}
function init_modul_562() {
	var B = "";
	$.validator.setDefaults({
		errorPlacement: function (C, D) {
			if (D.attr("name") == "einverstaendnis") {
				D.parent().addClass("error_txt");
				C.insertAfter(D)
			} else {
				if (D.attr("type") == "file") {
					D.parent().find(".fileupload-faked-field").addClass("error-border");
					D.parent().prev("label").addClass("error_txt")
				} else {
					if (D.is(".dyninput")) {
						C.insertAfter(D);
						C.addClass("error-static")
					} else {
						C.insertAfter(D)
					}
				}
			}
		},
		success: function (D, C) {
			D.parent().removeClass("error_txt")
		},
		errorClass: "error-custom"
	});
	$("#modul500_form .form_btn .button").click(function () {
		$("#modul500_form").validate()
	});
	$("#modul500_form .filerow input[type='submit']").bind("click", function () {
		$("#modul500_form .required").removeClass("required")
	});
	$("#modul500_form").find("input[@name='einverstaendnis']").click(function () {
		if ($(this).not(":checked")) {
			$(this).parent().addClass("error_txt")
		}
		if ($(this).is(":checked")) {
			$(this).parent().removeClass("error_txt")
		}
	});
	$(".hideatstart").hide();
	$("#modul500_form .js_dropdown").eq(0).find("ul li a").each(function (C) {
		$(this).click(function () {
			$("#modul500_form .hideatstart").hide();
			$("#modul500_form .sel_" + C).slideDown();
			$("#modul500_form .alt").show()
		})
	});
	$("#modul500_form ul.js_dropdown").each(function (C) {
		var E = $(this);
		var D = ($(this).is(".required")) ? " required": "";
		$(this).before('<input type="hidden" value="" name="' + $(this).attr("title") + '" class="js_dropdown_value' + C + " " + D + ' dyninput">');
		$(this).find("ul a").click(function () {
			var F = $(this).html();
			B = $(this).attr("class");
			$(this).parent().parent().parent().find("a").eq(0).html(F).end();
			$(".js_dropdown_value" + C).val(B);
			E.parent().find(".error-custom").remove()
		}).end();
		E.parent().find("select option").each(function () {
			if ($(this).attr("selected")) {
				E.find("a:first").html($(this).html());
				$(".js_dropdown_value" + C).val($(this).val())
			}
		})
	});
	var A = new Array();
	A.all = $("select[name='tx_dgpmod562_pi1[location_t][]'] option").clone();
	$("select[name='tx_dgpmod562_pi1[location_t][]']").parent().parent().children().hide();	
	
	$("#modul500_form ul.country ul").find("a").bind("click", function () {
		var C = $(this).attr("class");
		$("select[name='tx_dgpmod562_pi1[location_t][]']").parent().parent().children().show();
		
		if(C == 'US' || C == 'CA' || C == 'MX') {
			$("form[name='mod562_form'] label[for='birth']").hide();
			$("form[name='mod562_form'] #birth_d").hide();
			$("form[name='mod562_form'] #birth_m").hide();
			$("form[name='mod562_form'] #birth").hide();			
		} else {
			$("form[name='mod562_form'] label[for='birth']").show();
			$("form[name='mod562_form'] #birth_d").show();
			$("form[name='mod562_form'] #birth_m").show();
			$("form[name='mod562_form'] #birth").show();			
		}

		switch (C) {
		case "ALL":
			$("select[name='tx_dgpmod562_pi1[location_t][]'] option").remove();
			A.all.appendTo($("select[name='tx_dgpmod562_pi1[location_t][]']"));
			$("select[name='tx_dgpmod562_pi1[location_t][]']").parent().parent().children().hide();				
			break;
		default:
			$("select[name='tx_dgpmod562_pi1[location_t][]'] option").remove();
			A.all.appendTo($("select[name='tx_dgpmod562_pi1[location_t][]']"));
			$("select[name='tx_dgpmod562_pi1[location_t][]'] option[title!='" + C + "']").remove()
		}
	});
	$(".m5xx_fentry .filerow").each(function () {
		var D = $(this).find("input[type='file']");
		var C = $(this).find(".filebtn");
		D.removeClass("file").fakefileinput();
		C.addClass("button");
		C.wrap('<div class="form_btn" style="float:left;margin-bottom:0px;"></div>')
	});
	$("#modul500_form").find("select.remove").remove().end();
	$("#modul500_form").find("ul.js_dropdown").toggle().end()
}
function init_modul_563(C) {
	var A = $(".header .text h2").text();
	$.validator.setDefaults({
		errorPlacement: function (D, E) {
			if (E.attr("name") == "einverstaendnis") {
				E.parent().addClass("error_txt");
				D.insertAfter(E)
			} else {
				D.insertAfter(E)
			}
		},
		success: function (E, D) {
			E.parent().removeClass("error_txt")
		},
		errorClass: "error-custom"
	});
	$("#modul563_form").find("input[@name='einverstaendnis']").click(function () {
		if ($(this).not(":checked")) {
			$(this).parent().addClass("error_txt")
		}
		if ($(this).is(":checked")) {
			$(this).parent().removeClass("error_txt")
		}
	});
	$("a.send-email").attr("href", "javascript:donothing();").click(function () {
		$("#modul563_form").validate();
		overlaySize("mod8xx_layer");
		showlayer("sendjob")
	});
	if (C == true) {
		$("#modul563_form").validate();
		overlaySize("mod8xx_layer");
		showlayer("sendjob")
	}
	var B = $(".sendjob").is(".layer_sendjob_sent");
	if (B) {
		init_modul_507(true)
	}
}
function init_modul_588() {
	$(".modul_588_form select").remove();
	$("ul.js_dropdown").toggle().each(function (A) {
		$(this).after('<input type="hidden" value="" name="' + $(this).attr("title") + '" class="js_dropdown_value' + A + '">');
		$(this).find("a").click(function () {
			var B = $(this).html();
			$(this).parent().parent().parent().find("a").eq(0).html(B).end();
			$(".js_dropdown_value" + A).val(B)
		}).end()
	})
}
function init_modul_585() {
	$.post("layer_585.tpl", function (A) {
		$("body").append(A);
		init_hoverfix();
		overlaySize("mod8xx_layer");
		$("ul.js_dropdown").toggle().each(function (B) {
			$(this).before('<input type="hidden" value="" name="' + $(this).attr("title") + '" class="js_dropdown_value' + B + ' required">');
			$(this).find("a").click(function () {
				var C = $(this).html();
				$(this).parent().parent().parent().find("a").eq(0).html(C).end();
				$(".js_dropdown_value" + B).val(C)
			}).end()
		});
		$("#modul585_form").validate()
	})
}
function init_modul_586() {
	$.post("layer_586.tpl", function (A) {
		$("body").append(A);
		init_hoverfix();
		overlaySize("mod8xx_layer");
		$("#modul586_form").validate({
			rules: {
				username: {
					required: true,
					minLength: 5,
					maxLength: 24,
					number: false
				}
			}
		})
	})
}
function init_modul_589() {
	$(".modul_589_form select").remove();
	$("ul.js_dropdown").toggle().each(function (A) {
		$(this).after('<input type="hidden" value="" name="' + $(this).attr("title") + '" class="js_dropdown_value' + A + '">');
		$(this).find("a").click(function () {
			var B = $(this).html();
			$(this).parent().parent().parent().find("a").eq(0).html(B).end();
			$(".js_dropdown_value" + A).val(B)
		}).end()
	})
}
function init_modul_590() {
	$.post("layer_590.tpl", function (A) {
		$("body").append(A);
		init_hoverfix();
		overlaySize("mod8xx_layer");
		$("#modul590_form .file").css("opacity", 0);
		$(".fileinputs .file").change(function () {
			$(".fileinputs .eingabe").val($(this).val())
		});
		$(".formsend_wbt input").eq(1).click(function () {
			$(".mod8xx_contentlayer").animate({
				opacity: "hide"
			},
			200, function () {
				$(".mod8xx_contentlayer").remove();
				$(".mod8xx_layer").remove()
			})
		})
	})
}
function init_modul_605(G, C) {
	var F = "div.box_head";
	var G = G;
	var B = new Array();
	var A;
	var D;
	var C = C;
	var E = new Array();
	$(".m605_container").each(function (H) {
		var I = $(this).find(".box").size();
		var J = $(this);
		E[H] = G;
		if (I > 1) {
			$(this).parent().find("div.box_head a.next").toggle().attr("href", "javascript:donothing();");
			$(this).parent().find("div.box_head a.prev").toggle().attr("href", "javascript:donothing();");
			$(this).find("div.box").each(function (K) {
				$(this).css("display", "none");
				if (K == G) {
					$(this).css("display", "block")
				}
			});
			B[H] = $(this).find("div.box").size();
			$(this).parent().find("div.box_head a.next").click(function (K) {
				A = $(this).parent().parent().find("div.box").eq(E[H]);
				E[H]++;
				if (E[H] >= B[H]) {
					E[H] = 0
				}
				D = $(this).parent().parent().find("div.box").eq(E[H]);
				A.toggle();
				D.toggle()
			});
			$(this).parent().find("div.box_head a.prev").click(function (K) {
				A = $(this).parent().parent().find("div.box").eq(E[H]);
				if (E[H] == 0) {
					E[H] = B[H]
				}
				E[H]--;
				D = $(this).parent().parent().find("div.box").eq(E[H]);
				A.toggle();
				D.toggle()
			});
			if (C == true) {
				$(this).parent().each(function (K) {
					$("div.box_head a.next").oneTime(8000, function () {
						$(this).everyTime(2000, "controlled", function () {
							$(this).trigger("click")
						})
					});
					$("div.box_head").mouseover(function () {
						$(this).find("a").stopTime("controlled").end()
					})
				})
			}
		}
	})
}
function init_modul_606() {
	$(".mod6xx .kontakt").attr("href", "");
	$(".mod6xx .kontakt").attr("href", "javascript:donothing();");
	$.validator.setDefaults({
		errorPlacement: function (A, B) {
			if (B.attr("name") == "weiterverwendung") {
				B.parent().addClass("error_txt");
				A.insertAfter(B)
			} else {
				A.insertAfter(B)
			}
		},
		success: function (B, A) {
			B.parent().removeClass("error_txt")
		}
	});
	$(".mod6xx .kontakt").click(function () {
		overlaySize("mod8xx_layer");
		$(".mod8xx_layer").eq(0).show();
		var A;
		($.browser.msie) ? A = document.documentElement.scrollTop - 50 : A = window.pageYOffset - 50;
		$(".layer_kontakt").css("top", A).show();
		$("#modul500_form").validate();
		$("#modul500_form").find("ul.js_dropdown").toggle().end();
		$("#modul500_form ul.js_dropdown").each(function (C) {
			el = $(this);
			var B = $(this).attr("title");
			$("#modul500_form").find("SELECT[name='" + B + "'] option").each(function () { ($(this).is(":selected")) ? el.find("a").eq(0).html($(this).html()) : ""
			});
			$(this).find("ul li a").each(function (D) {
				$(this).unbind("click").click(function () {
					var E = $(this).html();
					$("#modul500_form").find("SELECT[name='" + B + "'] option").attr("selected", 0);
					$("#modul500_form").find("SELECT[name='" + B + "'] option").eq(D + 1).attr("selected", 1);
					$(this).parent().parent().parent().find("a").eq(0).html(E).end();
					$(this).parent().parent().parent().parent().prev(".error").remove()
				})
			})
		});
		$("#modul500_form").find("input[@name='weiterverwendung']").click(function () {
			if ($(this).not(":checked")) {
				$(this).parent().addClass("error_txt")
			}
		});
		$("#modul500_form").find("input[@name='weiterverwendung']").parent().addClass("checkagb");
		$("#modul500_form").find("select").not(".angezeigt").hide();
		init_hoverfix()
	})
}
function init_modul_610() {
	$("ul.js_dropdown ").toggle();
	$("ul.js_dropdown ul.show").toggle();
	$("ul.js_dropdown ").find("ul.sub").each(function (A) {
		$(this).parent().find("a").click(function () {
			$("ul.js_dropdown ul.sub").eq(A).toggle()
		})
	}).end()
}
function init_modul_615() {
	var A = $("div.mod6xx.hide");
	var B = A.find(".mod6xx_dd");
	A.show();
	B.css("float", "none");
	A.find("ul.js_dropdown:first ul a").bind("click", function () {
		var D = $(this).attr("id");
		var C = $(this).html();
		B.find("ul.js_dropdown").not(":first").hide();
		B.find("ul." + D).show();
		B.find("ul.sub").show();
		A.find("ul.js_dropdown:first a:first").html(C)
	})
}
function init_modul_616() {
	$(".mod616").show();
	function B() {
		$("ul.js_dropdown a").click(function (D) {
			var E = $(this).html();
			var C = $(this).attr("id");
			A(C);
			$(this).parent().parent().parent().find("a").eq(0).html(E).attr("id", C).end()
		})
	}
	function A(C) {}
}
function init_modul_651() {
	$(".mod651 .layer").each(function (A) {
		$(this).css({
			top: 18 * A
		})
	});
	$(".mod651 a.ext").attr("href", "javascript:donothing();").click(function () {
		$(".mod651 .layer").hide();
		$(this).next(".layer").show()
	});
	$(".mod651 a.close").unbind().attr("href", "javascript:donothing();").click(function () {
		$(".mod651 .layer").hide()
	})
}
function init_modul_617() {
	$("#modul617_form").remove();
	$("ul.js_dropdown ").toggle()
}
function init_modul_650() {
	$(".ridercnt b").remove();
	$(".rider").removeClass("hide");
	$(".box_650 .slider").toggle();
	$(".box_650 input[@type='text']").remove();
	$(".box_650 select").remove();
	$(".js_dropdown").toggle();
	$(".ridercnt").hide().eq(0).show();
	$(".form_wrapper .form_btn input[@type='submit']").remove();
	$(".form_wrapper .form_btn a").removeClass("hide");
	function A() {
		$(".box_650").each(function (C) {
			var F = $(this);
			var H = F.find("input[@name='min_" + C + "']").val();
			var G = F.find("input[@name='max_" + C + "']").val();
			var E = F.find("input[@name='unit_" + C + "']").val();
			var D = F.find("input[@name='cur_" + C + "']").val();
			var B = F.find("#s_" + C);
			B.slider({
				handle: "#h_" + C,
				minValue: H,
				maxValue: G,
				startValue: D,
				start: function (J, I) {},
				stop: function (J, I) {
					F.find(".callout").html(Math.round(I.value) + "&nbsp;" + E);
					F.find("input[@name='cur']").val(Math.round(I.value))
				},
				slide: function (J, I) {
					F.find(".callout").html(Math.round(I.value) + "&nbsp;" + E)
				}
			});
			F.find(".min").html(H + "&nbsp;" + E);
			F.find(".max").html(G + "&nbsp;" + E)
		})
	}
	$(".box_rider .rider li a").each(function (B) {
		if ($(this).attr("href") == "#") {
			$(this).attr("href", "javascript:donothing();")
		}
		$(this).bind("click", function () {
			$(".ridercnt").hide().eq(B).show();
			$(".box_rider .rider li").removeClass("cur");
			$(this).parent().addClass("cur")
		})
	});
	$(".box_rider .form_wrapper .button").bind("click", function () {
		$(".box_rider").hide();
		$(".box_650").show();
		A()
	});
	$(".box_650 .btn_b").bind("click", function () {
		$(".box_650").hide();
		$(".box_rider").show()
	})
}
function init_620cs(A) {
	var B = $(".m620cs");
	$(".m620cs .js_dropdown").addClass("angezeigt");
	B.find(".box").not(".nB").not(".link").each(function (C) {
		$(this).removeClass("hide");
		if (C >= A) {
			$(this).hide()
		}
	});
	$(".m620cs .js_dropdown ul li").find("a").click(function () {
		var E = $(this).attr("id");
		var D = $(this).html();
		$(this).parent().parent().parent().find("a").eq(0).html(D).attr("id", E).end();
		if (E == "ALL") {
			B.find(".box").not(".nB").not(".link").each(function (F) {
				$(this).show();
				if (F >= A) {
					$(this).hide()
				}
			})
		} else {
			var C = 0;
			B.find(".box").not(".nB").not(".link").each(function (G) {
				$(this).hide();
				var H = $(this).attr("class");
				var F = H.indexOf(E);
				if (F != -1) {
					$(this).show();
					C++
				}
				if (C > A) {
					$(this).hide()
				}
			})
		}
		$(this).parent().parent().css({
			left: "-1000em"
		})
	});
	$("ul.js_dropdown").hover(function () {
		$(this).find("ul").css({
			left: "-2px"
		})
	},
	function () {
		$(this).find("ul").css({
			left: "-1000em"
		})
	})
}
function init_modul_671() {
	var A = "GLOBAL";
	var B = window.document.mod_671;
	$("div.box .textcontainer").toggle();
	$("div.box .flashcontainer").toggle();
	$("div.box .linkcontainer").toggle().find("a").each(function () {
		if ($(this).attr("href") == "#") {
			$(this).attr("href", "javascript:donothing();")
		}
	}).end();
	$("div.box .linkcontainer a.map").css("opacity", "0.4");
	$("div.box .linkcontainer a.list").click(function () {
		$(this).animate({
			opacity: "0.4"
		},
		300);
		$("div.box .linkcontainer a.map").animate({
			opacity: "1"
		},
		300);
		$("div.box .flashcontainer").slideUp();
		$("div.box .textcontainer").slideDown(function () {
			$(this).find("span.icon").show()
		})
	});
	$("div.box .linkcontainer a.map").click(function () {
		$(this).animate({
			opacity: "0.4"
		},
		300);
		$("div.box .linkcontainer a.list").animate({
			opacity: "1"
		},
		300);
		$("div.box .flashcontainer").slideDown(function () {
			var D = setTimeout(function () {
				var E = $("ul#dd_select_1 a").eq(0).attr("id");
				C(E);
				clearTimeout(D)
			},
			300)
		});
		$("div.box .textcontainer").slideUp().find("span.icon").hide()
	});
	$("ul#dd_select_1").find("a").each(function (G) {
		var D = getURLParam("div");
		var E = $(this).html();
		var F = $(this).attr("id");
		if (F == D) {
			$("ul#dd_select_1").find("a").eq(0).html(E).attr("id", D)
		}
	});
	$("#modul671_form").find("select").remove().end();
	$("div.btn_bg").toggle();
	$("div.btop0").css("border-top", "1px solid #d0dae4");
	$("#modul671_form").find("ul.js_dropdown").toggle().end();
	$("ul#dd_select_1 a").bind("click", function (E) {
		var F = $(this).html();
		var D = $(this).attr("id");
		var G = $(this).attr("id");
		($(".flashcontainer").css("display") != "none") ? C(D) : "";
		$(this).parent().parent().parent().find("a").eq(0).html(F).attr("id", G).end();
		$("#modul671_form ul.js_dropdown ul").css({
			left: "-1000em"
		});
		if (G != "XX") {
			$(".textcontainer .item").hide("slow");
			$(".textcontainer ." + G).show("slow")
		} else {
			$(".textcontainer .item_empty").hide();
			$(".textcontainer .item").show("slow")
		}
		if ($("*").index($("." + G)) == -1 && G != "XX") {
			$(".textcontainer .item_empty").show("slow")
		} else {
			$(".textcontainer .item_empty").hide()
		}
	});
	$("#modul671_form ul.js_dropdown").mouseover(function () {
		$(this).find("ul").css({
			left: "-2px"
		})
	});
	$("#modul671_form ul.js_dropdown").mouseout(function () {
		$(this).find("ul").css({
			left: "-1000em"
		})
	});
	function C(D) {
		B.SetVariable("sNewDiv", D);
		B.Play()
	}
}
function init_modul_688() {
	$("a.support").click(function () {
		var A = $(this).text();
		$.post("layer_688.tpl", function (B) {
			$("body").append(B);
			$("#modul688_form .subject").val(A);
			$(".mod8xx_contentlayer h1").eq(0).html(A);
			validate_form("500");
			overlaySize("mod8xx_layer")
		})
	})
}
function get_location(A) {
	$(".m717_location ul").hide();
	$(".m717_location ul#loc_" + A).show("slow");
	$(".m717_seperator").show()
}
function init_modul_717() {
	var A = getURLParam("selected");
	$(".m717_location ul").hide()
}
function modul_717_showaddress(A) {
	get_location(A.toLowerCase())
}
function init_modul801(xml, tpl) {
	var id = 0;
	var xmlfile = xml;
	var maxImages = 0;
	$("img.press").css({
		cursor: "pointer"
	}).bind("click", function () {
		var img_el = $(this);
		$.get(tpl, function (data) {
			$("body").append(data);
			$(".mediaframe a").attr("href", "javascript:donothing();");
			$(".mediaframe .imagenav_right a").bind("click", function () {
				if (id < maxImages - 1) {
					id = id + 1;
					get_pic(id)
				}
				if (id == maxImages - 1) {
					$(this).parent().hide()
				}
				if (id > 0) {
					$(".mediaframe .imagenav_left").show()
				}
			});
			$(".mediaframe .imagenav_left a").bind("click", function () {
				if (id > 0) {
					id = id - 1;
					get_pic(id)
				}
				if (id == 0) {
					$(this).parent().hide()
				}
				if (id < maxImages - 1) {
					$(".mediaframe .imagenav_right").show()
				}
			});
			$(".mod8xx_layer").eq(0).show();
			var topPosition;
			($.browser.msie) ? topPosition = document.documentElement.scrollTop - 50 : topPosition = window.pageYOffset - 50;
			$(".mod8xx_contentlayer.layer_media").eq(0).css("top", topPosition).show();
			overlaySize("mod8xx_layer");
			var strId = img_el.attr("class");
			get_pic(eval(strId.substring(6)))
		})
	});
	function get_pic(actid) {
		id = actid;
		$.ajax({
			type: "GET",
			url: xmlfile,
			dataType: "xml",
			async: true,
			success: function (xml) {
				var img_elements = $(xml).find("image").size();
				(img_elements > 1) ? $(".media .mediaframe").show() : $(".media .mediaframe").html("");
				$(xml).find("image").each(function () {
					if ($(this).attr("id") == id) {
						var img_src = $(this).attr("src");
						var img_headline = $(this).find("headline").text();
						var img_copy = $(this).find("copy").text();
						var img_keyword = $(this).find("data keyword").text();
						var img_size = $(this).find("data size").text();
						var img_resolution = $(this).find("data resolution").text();
						var img_filetype = $(this).find("data filetype").text();
						var el = $(".media_ext .media_text");
						var elL = $(".media_ext .media_text_links");
						var img = new Image();
						$(img).hide();
						$(img).attr("src", img_src).load(function () {
							var tempW = ($(this).width() >= 600) ? 600 : $(this).width();
							var nH = parseInt(($(this).height() * tempW) / $(this).width());
							if (nH >= 400) {
								tempW = parseInt(($(this).width() * nH) / $(this).height());
								var tempH = parseInt(($(this).height() * tempW) / $(this).width())
							} else {
								var tempH = nH
							}
							$(this).attr({
								height: parseInt(($(this).height() * tempW) / $(this).width()),
								width: tempW
							});
							$(this).attr({
								height: tempH,
								width: parseInt(($(this).width() * tempH) / $(this).height())
							});
							$(this).fadeIn("slow", function () {
								resize_layer($(".media .mediaframe img").height(), $(".media .mediaframe img").width(), $(".media_ext").height())
							})
						}).error(function () {
							$(".media .mediaframe").find("img").remove().end().append("<p>Error!<br/>Bild konnte nicht geladen werden.</p>")
						});
						$(".media .mediaframe").find("img").remove().end().append(img);
						el.html("");
						el.append("<h3>" + $(this).find("headline").text() + "</h3>");
						el.append($(this).find("copy").text());
						elL.html("");
						elL.append($(xml).find("language data").text() + ":<br />");
						elL.append('<span class="kw_label">' + $(xml).find("language picsize").text() + ":</span> " + img_size + "<br/>");
						elL.append('<span class="kw_label">' + $(xml).find("language resolution").text() + ":</span> " + img_resolution + "<br/>");
						elL.append('<span class="kw_label">' + $(xml).find("language filetype").text() + ":</span> " + img_filetype + "<br/>");
						elL.append('<a href="' + $(this).find("data link").text() + '" class="download">' + $(xml).find("language download").text() + ":</a>");
						$("#rphoto").find("h1").eq(0).html($(xml).find("language headline").text());
						maxImages = $(xml).find("image").size()
					}
				})
			}
		})
	}
	function resize_layer(h, w, he) {
		var cHeight = $("#rphoto .media_ext").height();
		if (h < cHeight) {
			h1 = cHeight + 70
		} else {
			var h1 = h + 110
		}
		$("#rphoto .mediaframe").height(h);
		$("#rphoto .mediaframe").width(w);
		$("#rphoto .media").width(w + 22);
		$("#rphoto").animate({
			height: h1
		},
		450);
		$("#rphoto").animate({
			width: w + 279
		},
		650, function () {})
	}
}
function init_modul_900() {
	var A = $(".m900");
	A.each(function (C) {
		var B = $(this);
		B.find(".attributes").each(function (D) {
			$(this).find("a").mouseover(function () {
				B.find(".mainhdl").eq(D + 1).toggle()
			}).mouseout(function () {
				B.find(".mainhdl").eq(D + 1).toggle()
			})
		})
	})
}
function init_modul_902() {
	var B = $("div.m902 div.scrollWrapper");
	var H = B.find("div.contItem").size();
	var E = 0;
	var G = B.find("div.contItem").width();
	var C = $(".navCont .globPos span.lang").eq(0).text();
	A();
	var I = $("div.m902");
	function A() {
		var J = E + 1;
		var K;
		(H <= 4) ? K = E + H: K = E + 4;
		(H <= 4) ? $("div.dirBtn").css("opacity", 0.2) : $("div.dirBtn").css("opacity", 1);
		$("div.globPos").html('<span class="fett">' + J + " - " + K + "</span> " + C + " " + H).append('<div class="clearer">&nbsp;&nbsp;</div>')
	}
	B.css("width", H * 124);
	$("div.m902").attr("class", "m902 wJS");
	$("div.dirBtn a").each(function () {
		if ($(this).attr("href") == "#") {
			$(this).attr("href", "javascript:donothing();")
		}
	});
	$("div.dBRight a").click(function () {
		if (E < H - 4) {
			E++;
			B.animate({
				left: -(E * G) - 23 * E
			},
			{
				duration: 700,
				easing: "easeInQuad",
				queue: false
			});
			A()
		}
	});
	$("div.dBLeft a").click(function () {
		if (E > 0) {
			E--;
			B.animate({
				left: -(E * G) - 23 * E
			},
			{
				duration: 700,
				easing: "easeInQuad",
				queue: false
			});
			A()
		}
	});
	$("div.contItem").mouseover(function () {
		$(this).addClass("hover_over")
	});
	$("div.contItem").mouseout(function () {
		$(this).removeClass("hover_over")
	});
	for (var D = 0; D <= H; D++) {
		if ($("div.contItem").eq(D).is(".hover")) {
			if (H > 4) {
				var F = (D >= H - 4) ? (H - 4) : D;
				B.animate({
					left: -(F * G) - 23 * F
				},
				{
					duration: 700,
					easing: "easeInQuad",
					queue: false
				});
				E = F;
				A()
			}
		}
	}
}
function init_modul_909() {
	$(".imgLinks .links").toggle();
	$(".mod909").find("a").each(function () {
		if ($(this).attr("href") == "#") {
			$(this).attr("href", "javascript:donothing();")
		}
	});
	$(".zoom a").click(function () {});
	$(".video a").click(function () {});
	$(".bilder a").click(function () {});
	$(".turn a").click(function () {})
}
function init_modul913() {
	var E = $("div.tabellen .tabelle").size();
	var H = 0;
	var G;
	var D;
	var C = (getURLParam("highlightAttribute") != "") ? true: false;
	var A = ($(".mod913").html() == null) ? false: true;
	if (C && A) {
		var B = $(".mod913").parent().parent().attr("id");
		for (i = 1; i <= 8; i++) {
			$("#rider" + i).hide()
		}
		$("#" + B).show()
	}
	$("div.navcont").html(" ").toggle();
	$("div.tabellen .tabelle").each(function (L) {
		if (L != 0) {
			$(this).addClass("unsichtbar")
		} else {
			$(this).eq(0).addClass("sichtbar")
		}
		L++;
		$("div.navcont.top").append('<a href="javascript:donothing();" class="count"><span>' + L + "</span></a>");
		$("div.navcont.btm").append('<a href="javascript:donothing();" class="count"><span>' + L + "</span></a>");
		var J = (getURLParam("highlightAttribute") != "") ? true: false;
		var I = getURLParam("highlightAttribute");
		var K = $(this).find("a[@name='a" + I + "']");
		if (J && K.length == 1) {
			$(this).addClass("showme")
		}
		if ($(this).is(".showme")) {
			D = L
		}
	});
	$("div.navcont.top a.count").eq(0).addClass("act");
	$("div.navcont.btm a.count").eq(0).addClass("act");
	$("div.navcont").prepend('<a href="javascript:donothing();" class="bwrd"><span>&nbsp;</span></a><span class="navsep"></span>');
	$("div.navcont").append('<span class="navsep"></span>&nbsp;<a href="javascript:donothing();" class="fwrd"><span>&nbsp;</span></a>');
	function F() {
		G = $(".tabellen .tabelle").not(".unsichtbar").find("table");
		G.tableHover({
			bodyRows: false,
			colClass: "hover",
			headRows: true,
			ignoreCols: [1],
			clickClass: "hover-click"
		})
	}
	$("div.navcont a.fwrd").click(function (I) {
		if (H < E - 1) {
			$(".tabelle").removeClass("sichtbar").addClass("unsichtbar");
			H++;
			$("div.navcont.top a.count").removeClass("act").eq(H).addClass("act");
			$("div.navcont.btm a.count").removeClass("act").eq(H).addClass("act");
			$(".tabelle").eq(H).removeClass("unsichtbar").addClass("sichtbar");
			F()
		}
	});
	$("div.navcont a.bwrd").click(function (I) {
		if (H > 0) {
			$(".tabelle").removeClass("sichtbar").addClass("unsichtbar");
			H--;
			$("div.navcont.top a.count").removeClass("act").eq(H).addClass("act");
			$("div.navcont.btm a.count").removeClass("act").eq(H).addClass("act");
			$(".tabelle").eq(H).removeClass("unsichtbar").addClass("sichtbar");
			F()
		}
	});
	$("div.navcont.btm a.count").each(function (J, I) {
		$(this).click(function () {
			$(".tabelle").removeClass("sichtbar").addClass("unsichtbar");
			H = J;
			$("div.navcont.top a.count").removeClass("act").eq(H).addClass("act");
			$("div.navcont.btm a.count").removeClass("act").eq(H).addClass("act");
			$(".tabelle").eq(H).removeClass("unsichtbar").addClass("sichtbar");
			F()
		})
	});
	$("div.navcont.top a.count").each(function (J, I) {
		$(this).click(function () {
			$(".tabelle").removeClass("sichtbar").addClass("unsichtbar");
			H = J;
			$("div.navcont.top a.count").removeClass("act").eq(H).addClass("act");
			$("div.navcont.btm a.count").removeClass("act").eq(H).addClass("act");
			$(".tabelle").eq(H).removeClass("unsichtbar").addClass("sichtbar");
			F()
		})
	});
	$(".mod9xx").find("a").each(function () {
		if ($(this).attr("href") == "#") {
			$(this).attr("href", "javascript:donothing();")
		}
	});
	$("div.navcont.top a.count").eq(D - 1).trigger("click");
	F()
}
function init_modul_984() {
	var A;
	$(".formsend_wbt.no_m.no_b.w530").remove();
	function B(D) {
		$.post("layer_984a.tpl", function (E) {
			$("body").append(E);
			overlaySize("mod8xx_layer");
			$(".layer_content").height(80);
			$(".layer_content .btn_a.yes").click(function () {
				$(".layer_content").animate({
					height: 130
				},
				400);
				$(".layer_content .btn_a").hide()
			});
			$(".layer_content .btn_a.no").click(function () {
				$("div.close_layer a").trigger("click");
				$(A).removeAttr("checked")
			});
			$(".layer_content h1").html(D);
			$(".layer_content input[@type='submit']").click(function () {
				$("#modul984_form input[@type='hidden']").val("add");
				$("#modul984_form").submit()
			});
			$(".layer_content input[@type='reset']").click(function () {
				$(A).removeAttr("checked");
				$("div.close_layer a").trigger("click")
			})
		})
	}
	function C(D) {
		$.post("layer_984b.tpl", function (E) {
			$("body").append(E);
			overlaySize("mod8xx_layer");
			$(".layer_content h1").html(D);
			$(".layer_content input[@type='submit']").click(function () {
				$("#modul984_form input[@type='hidden']").val("delete");
				$("#modul984_form").append('<input type="hidden" name="' + $(A).val() + '">');
				$("#modul984_form").submit()
			});
			$(".layer_content input[@type='reset']").click(function () {
				$(A).attr("checked", "checked");
				$("div.close_layer a").trigger("click")
			})
		})
	}
	$(".box_m984 input[@type='checkbox']").click(function () {
		var D = $(this).parent().find(".hdl").text();
		A = this;
		if (!this.checked) {
			C(D)
		} else {
			B(D)
		}
	})
}
function init_modul_880() {
	var B = "";
	var D = 0;
	var A = 0;
	$("#main").css("background", "#fff none");
	$(".mod880a .woJS").attr("class", "wJS");
	$(".mod880a .wJS .num").html("").width(4);
	$(".mod880a .wJS .entry").css("cursor", "move");
	$(".mod880b form").append('<input type="hidden" name="order" value="" />');
	$(".mod880a #sort").sortable({
		opacity: 0.4,
		items: ".entry",
		start: function (E, F) {
			A = F.item.attr("id")
		},
		update: function (E, F) {
			$(".mod880b form input[@name='order']").val($(this).sortable("serialize"));
			A = F.item.attr("id")
		}
	});
	$(".mod880b input").click(function () {
		if ($(this).attr("checked")) {
			D = $(this).next(".link_item");
			var E = $(this).val();
			$(".mod880a #sort").append('<div class="entry" id="' + E + '"><div class="num" style="width:4px;"></div><div class="text">' + D.text() + "</div></div>");
			$(".mod880a .wJS .entry").css("cursor", "move");
			D.draggable("disable").css("cursor", "auto")
		} else {
			var E = $(this).val();
			$(".mod880a #sort #" + E).remove();
			$(".mod880b input[@value='" + E + "']").removeAttr("checked").next().removeClass("selected");
			C()
		}
	});
	function C() {
		$(".mod880b .link_item").not(".selected").css("cursor", "move");
		$(".mod880b .link_item").draggable("destroy");
		$(".mod880b .link_item").not(".selected").draggable({
			revert: true,
			helper: "clone",
			drag: function () {
				D = $(this)
			}
		})
	}
	C();
	$(".mod880a #sort").droppable({
		accept: ".link_item",
		activeClass: "",
		drop: function (E, F) {
			var G = D.prev().val();
			$(this).append('<div class="entry" id="' + G + '"><div class="num" style="width:4px;"></div><div class="text">' + D.text() + "</div></div>");
			$(".mod880a .wJS .entry").css("cursor", "move");
			D.draggable("disable").css("cursor", "auto");
			D.prev().attr("checked", "checked")
		}
	});
	$(".mod880a .foot").droppable({
		accept: "mod880a #sort .entry",
		activeClass: "",
		drop: function (E) {
			$(".mod880a #sort #" + A).remove();
			$(".mod880b input[@value='" + A + "']").removeAttr("checked").next().removeClass("selected");
			C()
		}
	});
	$(".formsend_wbt input[@type='submit']").click(function () {
		$(".mod880b form input[@name='order']").val($(".mod880a #sort").sortable("serialize"));
		$(".mod880b form").submit()
	});
	$(".wrapper").mouseover(function () {
		$(".mod880a .help").hide();
		$(".mod880a .help").eq(2).show()
	});
	$(".wrapper").mouseout(function () {
		$(".mod880a .help").hide();
		$(".mod880a .help").eq(1).show()
	});
	$(".foot").mouseover(function () {
		$(".mod880a .help").hide();
		$(".mod880a .help").eq(4).show()
	});
	$(".foot").mouseout(function () {
		$(".mod880a .help").hide();
		$(".mod880a .help").eq(1).show()
	});
	$(".mod880b").mouseover(function () {
		$(".mod880a .help").hide();
		$(".mod880a .help").eq(3).show()
	});
	$(".mod880b").mouseout(function () {
		$(".mod880a .help").hide();
		$(".mod880a .help").eq(1).show()
	})
}
function init_modul_903() {
	$(".mod903").hide();
	init_modul_203();
	init_modul_919();
	init_modul_926()
}
function init_modul_904() {
	$(".dialog").removeClass("hide");
	$(".slider").toggle();
	$("input[@type='text']").remove();
	$("select").remove();
	$(".js_dropdown").toggle();
	$(".mod904").each(function (A) {
		$(this).find(".dialog").each(function (C) {
			var F = $(this);
			var H = F.find("input[@name='min_" + A + "_" + C + "']").val();
			var G = F.find("input[@name='max_" + A + "_" + C + "']").val();
			var E = F.find("input[@name='unit_" + A + "_" + C + "']").val();
			var D = F.find("input[@name='cur_" + A + "_" + C + "']").val();
			var B = F.find("#s_" + A + "_" + C);
			B.slider({
				handle: "#h_" + A + "_" + C,
				minValue: H,
				maxValue: G,
				startValue: D,
				start: function (J, I) {},
				stop: function (J, I) {
					F.find(".callout").html(Math.round(I.value) + "&nbsp;" + E);
					F.find("input[@name='cur']").val(Math.round(I.value))
				},
				slide: function (J, I) {
					F.find(".callout").html(Math.round(I.value) + "&nbsp;" + E)
				}
			});
			F.find(".min").html(H + "&nbsp;" + E);
			F.find(".max").html(G + "&nbsp;" + E)
		})
	});
	$(".mod9xx").each(function (B) {
		var A = $(this);
		A.find(".dialog").hide().eq(0).show();
		A.find(".subnav a").eq(0).addClass("aktiv");
		A.find(".subnav a").each(function (C) {
			$(this).attr("href", "javascript:donothing();").click(function () {
				A.find(".subnav a").removeClass("aktiv").end();
				$(this).addClass("aktiv");
				A.find(".dialog").hide().eq(C).show()
			}).end()
		})
	})
}
function init_modul_905() {
	$(".dialog").removeClass("hide");
	$(".slider").toggle();
	$("input[@type='text']").remove();
	$("select").remove();
	$(".js_dropdown").toggle();
	$(".mod905").each(function (A) {
		$(this).find(".dialog").each(function (C) {
			var F = $(this);
			var H = F.find("input[@name='min_" + A + "_" + C + "']").val();
			var G = F.find("input[@name='max_" + A + "_" + C + "']").val();
			var E = F.find("input[@name='unit_" + A + "_" + C + "']").val();
			var D = F.find("input[@name='cur_" + A + "_" + C + "']").val();
			var B = F.find("#s_" + A + "_" + C);
			B.slider({
				handle: "#h_" + A + "_" + C,
				minValue: H,
				maxValue: G,
				startValue: D,
				start: function (J, I) {},
				stop: function (J, I) {
					F.find(".callout").html(Math.round(I.value) + "&nbsp;" + E);
					F.find("input[@name='cur']").val(Math.round(I.value))
				},
				slide: function (J, I) {
					F.find(".callout").html(Math.round(I.value) + "&nbsp;" + E)
				}
			});
			F.find(".min").html(H + "&nbsp;" + E);
			F.find(".max").html(G + "&nbsp;" + E)
		})
	});
	$(".mod9xx").each(function (B) {
		var A = $(this);
		A.find(".dialog").hide().eq(0).show();
		A.find(".subnav a").eq(0).addClass("aktiv");
		A.find(".subnav a").each(function (C) {
			$(this).attr("href", "javascript:donothing();").click(function () {
				A.find(".subnav a").removeClass("aktiv").end();
				$(this).addClass("aktiv");
				A.find(".dialog").hide().eq(C).show()
			}).end()
		})
	})
}
function init_modul_919() {
	$(".mod9xx").find(".accordion").each(function () {
		var A = $(this);
		A.find(".item").hide().eq(0).show();
		A.find("h2").each(function () {
			var B = "";
			B = $(this).text();
			$(this).html("").text(B)
		});
		A.find("h2").addClass("active").eq(0).removeClass("active");
		A.find("h2").css("cursor", "pointer").click(function () {
			if ($(this).attr("class") == "active") {
				$(this).parent().find("h2").addClass("active");
				$(this).removeClass("active");
				A.find(".item").slideUp(400);
				$(this).next(".item").slideDown(400)
			}
		})
	});
	$("div.magnifier a").unbind().click(function () {})
}
function init_modul_926() {
	var B = getURLanchor();
	var C = B.replace("#", "");
	$(".ddbox .js_dropdown").each(function (D) {
		$(this).toggle().css({
			position: "relative",
			zIndex: 1000 - D
		})
	});
	$(".ddbox .form_btn").remove();
	$(".ddbox select").remove();
	$("table.mod926 tr").not($(".hdl")).mouseover(function () {
		$(this).css({
			backgroundColor: "#ecf0f4"
		})
	}).mouseout(function () {
		$(this).css({
			backgroundColor: "transparent"
		})
	});
	$("table.mod926 tr." + C).css({
		backgroundColor: "#ecf0f4"
	});
	var A = $(".mod9xx").find('a[name="' + C + '"]');
	A.each(function () {
		var D = $(this).parent().parent().parent().parent().parent().parent().attr("id");
		var E = $("#" + D + " .riders").find("a").size();
		for (i = 1; i <= 8; i++) {
			$("#rider" + i).hide()
		}
		$("#" + D).show()
	})
}
function init_modul_927() {
	var B = (getURLParam("produktId") != "") ? true: false;
	var C = ($(".mod927").html() == null) ? false: true;
	if (B && C) {
		var A = $(".mod927").parent().parent().attr("id");
		for (i = 1; i <= 8; i++) {
			$("#rider" + i).hide()
		}
		$("#" + A).show()
	}
}
function init_modul_323() {
	$("div.mod323 ul li ul li ul li ul").toggle();
	$("li a.toggle").toggleClass("open");
	$("li").find("a.toggle").click(function () {
		$(this).toggleClass("open");
		$(this).parent().find("ul").toggle().end()
	})
} (function (A) {
	A.fakefileinput = {
		defaults: {
			button_text: "Durchsuchen",
			class_container: "fileupload-faked",
			class_field: "fileupload-faked-field",
			class_button: "fileupload-faked-button"
		}
	};
	A.fn.extend({
		fakefileinput: function (D) {
			D = A.extend({},
			A.fakefileinput.defaults, D);
			var B = ["padding-left", "padding-right", "margin-left", "margin-right", "border-left-width", "border-right-width"];
			A(this).wrap('<div class="rebrush-container ' + D.class_container + '" />');
			var C = A(this).parent();
			C.prepend('<input type="text" value="" readonly="readonly" class="rebrush-field ' + D.class_field + '" /><div class="rebrush-button ' + D.class_button + '">' + D.button_text + "</div>");
			var F = C.find("input.rebrush-field");
			var E = C.find("input.rebrush-button");
			wrapperwidth = "auto";
			C.css("width", "auto");
			A(this).css({
				position: "absolute",
				"z-index": 2,
				"font-size": "10px",
				opacity: "0",
				right: "0px",
				top: "-2px",
				cursor: "pointer"
			});
			A(this).change(function () {
				A(this).parent().find("input[type='text'].rebrush-field").val(A(this).val()).removeClass("error-border");
				A(this).parent().parent().find("label").removeClass("error_txt");
				A(this).parent().parent().find("input[type='submit']").eq(0).focus()
			})
		}
	})
})(jQuery);
(function (E) {
	var D = function (T) {
		var B = T.rows;
		var Z = B.length;
		var U = [];
		for (var b = 0; b < Z; b++) {
			var C = B[b].cells;
			var V = C.length;
			for (var c = 0; c < V; c++) {
				var W = C[c];
				var X = W.rowSpan || 1;
				var a = W.colSpan || 1;
				var Y = -1;
				if (!U[b]) {
					U[b] = []
				}
				var f = U[b];
				while (f[++Y]) {}
				W.realIndex = Y;
				for (var d = b; d < b + X; d++) {
					if (!U[d]) {
						U[d] = []
					}
					var A = U[d];
					for (var e = Y; e < Y + a; e++) {
						A[e] = 1
					}
				}
			}
		}
	};
	var F = function (A) {
		var I = 0,
		C, J, B = (A.tHead) ? A.tHead.rows: 0;
		if (B) {
			for (C = 0; C < B.length; C++) {
				B[C].realRIndex = I++
			}
		}
		for (J = 0; J < A.tBodies.length; J++) {
			B = A.tBodies[J].rows;
			if (B) {
				for (C = 0; C < B.length; C++) {
					B[C].realRIndex = I++
				}
			}
		}
		B = (A.tFoot) ? A.tFoot.rows: 0;
		if (B) {
			for (C = 0; C < B.length; C++) {
				B[C].realRIndex = I++
			}
		}
	};
	E.fn.tableHover = function (B) {
		var A = E.extend({
			allowHead: true,
			allowBody: true,
			allowFoot: true,
			headRows: false,
			bodyRows: true,
			footRows: false,
			spanRows: true,
			headCols: false,
			bodyCols: true,
			footCols: false,
			spanCols: true,
			ignoreCols: [],
			headCells: false,
			bodyCells: true,
			footCells: false,
			rowClass: "hover",
			colClass: "",
			cellClass: "",
			clickClass: ""
		},
		B);
		return this.each(function () {
			var R = [],
			T = [],
			W = this,
			b,
			V = 0,
			C = [ - 1, -1];
			if (!W.tBodies || !W.tBodies.length) {
				return
			}
			var a = function (H, M) {
				var N, G, I, K, L, J;
				for (I = 0; I < H.length; I++, V++) {
					G = H[I];
					for (K = 0; K < G.cells.length; K++) {
						N = G.cells[K];
						if ((M == "TBODY" && A.bodyRows) || (M == "TFOOT" && A.footRows) || (M == "THEAD" && A.headRows)) {
							J = N.rowSpan;
							while (--J >= 0) {
								T[V + J].push(N)
							}
						}
						if ((M == "TBODY" && A.bodyCols) || (M == "THEAD" && A.headCols) || (M == "TFOOT" && A.footCols)) {
							J = N.colSpan;
							while (--J >= 0) {
								L = N.realIndex + J;
								if (E.inArray(L + 1, A.ignoreCols) > -1) {
									break
								}
								if (!R[L]) {
									R[L] = []
								}
								R[L].push(N)
							}
						}
						if ((M == "TBODY" && A.allowBody) || (M == "THEAD" && A.allowHead) || (M == "TFOOT" && A.allowFoot)) {
							N.thover = true
						}
					}
				}
			};
			var U = function (G) {
				var H = G.target;
				while (H != this && H.thover !== true) {
					H = H.parentNode
				}
				if (H.thover === true) {
					Y(H, true)
				}
			};
			var X = function (G) {
				var H = G.target;
				while (H != this && H.thover !== true) {
					H = H.parentNode
				}
				if (H.thover === true) {
					Y(H, false)
				}
			};
			var S = function (H) {
				var J = H.target;
				while (J && J != W && !J.thover) {
					J = J.parentNode
				}
				if (J.thover && A.clickClass != "") {
					var K = J.realIndex,
					G = J.parentNode.realRIndex,
					I = "";
					E("td." + A.clickClass + ", th." + A.clickClass, W).removeClass(A.clickClass);
					if (K != C[0] || G != C[1]) {
						if (A.rowClass != "") {
							I += ",." + A.rowClass
						}
						if (A.colClass != "") {
							I += ",." + A.colClass
						}
						if (A.cellClass != "") {
							I += ",." + A.cellClass
						}
						if (I != "") {
							E("td, th", W).filter(I.substring(1)).addClass(A.clickClass)
						}
						C = [K, G]
					} else {
						C = [ - 1, -1]
					}
				}
			};
			var Y = function (K, I) {
				if (I) {
					E.fn.tableHoverHover = E.fn.addClass
				} else {
					E.fn.tableHoverHover = E.fn.removeClass
				}
				var G = R[K.realIndex] || [],
				J = [],
				H = 0,
				L,
				M;
				if (A.colClass != "") {
					while (A.spanCols && ++H < K.colSpan && R[K.realIndex + H]) {
						G = G.concat(R[K.realIndex + H])
					}
					E(G).tableHoverHover(A.colClass)
				}
				if (A.rowClass != "") {
					L = K.parentNode.realRIndex;
					if (T[L]) {
						J = J.concat(T[L])
					}
					H = 0;
					while (A.spanRows && ++H < K.rowSpan) {
						if (T[L + H]) {
							J = J.concat(T[L + H])
						}
					}
					E(J).tableHoverHover(A.rowClass)
				}
				if (A.cellClass != "") {
					M = K.parentNode.parentNode.nodeName.toUpperCase();
					if ((M == "TBODY" && A.bodyCells) || (M == "THEAD" && A.headCells) || (M == "TFOOT" && A.footCells)) {
						E(K).tableHoverHover(A.cellClass)
					}
				}
			};
			D(W);
			F(W);
			for (b = 0; b < W.rows.length; b++) {
				T[b] = []
			}
			if (W.tHead) {
				a(W.tHead.rows, "THEAD")
			}
			for (b = 0; b < W.tBodies.length; b++) {
				a(W.tBodies[b].rows, "TBODY")
			}
			if (W.tFoot) {
				a(W.tFoot.rows, "TFOOT")
			}
			if (E(this).data("bind.tableHover")) {
				E(this).unbind(".tableHover")
			}
			var Z = E(".tabellen .tabelle").not(".unsichtbar").find("table tr").eq(0);
			Z.find("th").each(function (I) {
				var H = E(this);
				var J = (getURLParam("highlightAttribute") != "") ? true: false;
				var K = getURLParam("highlightAttribute");
				var G = H.find("a[@name='a" + K + "']");
				if (J && G.length == 1) {
					Y(W.rows[0].cells[I], true)
				}
			});
			E(this).bind("mouseover", U).bind("mouseout", X)
		})
	}
})(jQuery);
(function (A) {
	A.fn.injectFlash = function (C) {
		var B = {};
		if (C) {
			A.extend(B, C)
		}
		return this.each(function () {
			var D = '<div class="flashObject"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" allowFullScreen="false" width="' + C.width + '" height="' + C.height + '"><param name="autoplay" value="true" /><param name="movie" value="' + C.src + "?AutoPlay=true&flv=" + C.flv + '" /><param name="bgColor" value="#FFFFFF" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><embed src="' + C.src + "?AutoPlay=true&flv=" + C.flv + '" allowFullScreen="true" bgColor="#FFFFFF" wmode="transparent" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="' + C.width + '" height="' + C.height + '"></embed></object></div>';
			A(this).html(D)
		})
	}
})(jQuery);
(function (A) {
	A.fn.init_layer_ts1030 = function (C) {
		var B = {
			startOnLoad: (!A.cookie("trulaser1030_" + C.lang)) ? true: false
		};
		if (C) {
			A.extend(B, C)
		}
		return this.each(function () {
			var D = A("#stage-main");
			var F = '<a class="btn-getlayer-ts1030_' + B.lang + '" href="javascript:donothing();"><div class="iconani"></div></a>';
			var H = A(".layer_ts1030 .hide_layer a");
			var E = A(".layer_ts1030");
			var J = A(".layer_ts1030 .layer_content");
			var G = A(".layer_ts1030 .main_content");
			var I = A(".layer_ts1030 .flashObject");
			var K;
			if (B.startOnLoad) {
				E.css({
					padding: 0
				}).show();
				J.css({
					border: "1px solid #cfd9e3"
				});
				I.css({
					top: 0,
					left: 0
				});
				G.css({
					height: 550,
					width: 950
				});
				H.parent().show();
				D.css({
					position: "relative"
				});
				D.append(F);
				overlaySize("mod8xx_layer");
				A(".mod8xx_layer.be").css({
					backgroundColor: "#333",
					opacity: 0.9
				}).eq(0).show();
				G.injectFlash({
					width: "950",
					height: "550",
					src: B.src,
					flv: B.flv
				});
				var I = A(".layer_ts1030 .flashObject");
				H.unbind("click").bind("click", function (L) {
					A(this).parent().hide();
					A(".mod8xx_layer").hide();
					E.css({
						padding: 0
					});
					J.css({
						border: 0
					});
					I.animate({
						top: -140,
						left: -120
					},
					1200, "easeOutQuad");
					G.animate({
						height: 194,
						width: 725
					},
					1200, "easeOutQuad", function () {
						E.animate({
							opacity: "hide"
						},
						500, "easeInQuad", function () {
							G.html("");
							A("a.btn-getlayer-ts1030_" + B.lang).show();
							A("a.btn-getlayer-ts1030_" + B.lang).unbind().bind("click", function () {
								A(this).init_layer_ts1030({
									src: B.src,
									flv: B.flv,
									lang: B.lang,
									startOnLoad: true
								})
							})
						})
					})
				})
			} else {
				D.css({
					position: "relative"
				});
				D.append(F);
				A("a.btn-getlayer-ts1030_" + B.lang).show();
				A("a.btn-getlayer-ts1030_" + B.lang).unbind().bind("click", function () {
					A(this).init_layer_ts1030({
						src: B.src,
						flv: B.flv,
						lang: B.lang,
						startOnLoad: true
					})
				})
			}
			D.hover(function () {
				var L = 0;
				K = setInterval(function () {
					A("a.btn-getlayer-ts1030_" + B.lang + " .iconani").animate({
						marginRight: 15
					},
					300, "easeInQuad", function () {
						A(this).animate({
							marginRight: 25
						},
						300, "easeOutQuad")
					});
					L++;
					if (L == 3) {
						clearInterval(K)
					}
				},
				1000)
			},
			function () {
				clearInterval(K)
			});
			A.cookie("trulaser1030_" + C.lang, "showlayer")
		})
	}
})(jQuery);
jQuery.cookie = function (B, I, L) {
	if (typeof I != "undefined") {
		L = L || {};
		if (I === null) {
			I = "";
			L.expires = -1
		}
		var E = "";
		if (L.expires && (typeof L.expires == "number" || L.expires.toUTCString)) {
			var F;
			if (typeof L.expires == "number") {
				F = new Date();
				F.setTime(F.getTime() + (L.expires * 24 * 60 * 60 * 1000))
			} else {
				F = L.expires
			}
			E = "; expires=" + F.toUTCString()
		}
		var K = L.path ? "; path=" + (L.path) : "";
		var G = L.domain ? "; domain=" + (L.domain) : "";
		var A = L.secure ? "; secure": "";
		document.cookie = [B, "=", encodeURIComponent(I), E, K, G, A].join("")
	} else {
		var D = null;
		if (document.cookie && document.cookie != "") {
			var J = document.cookie.split(";");
			for (var H = 0; H < J.length; H++) {
				var C = jQuery.trim(J[H]);
				if (C.substring(0, B.length + 1) == (B + "=")) {
					D = decodeURIComponent(C.substring(B.length + 1));
					break
				}
			}
		}
		return D
	}
};


$(document).ready(function() {
  if (!$("#stage-main, #stage-main_low").length > 0){
    $("#nav-main").addClass("cn-marginBottom");
  }
});
