	m0 = location.search;
	if (m0 != "") {
		m0 = m0.substring(1);
		if (m0.charAt(m0.length-1) == "/") {
			m0 = m0.substring(0,m0.length-1);
		}
		var splitArray = m0.split('&',-1);
		for (var i = 0; i < splitArray.length; i++) {
			var splitArray_ = splitArray[i].split('=');
			splitArray_[0] = splitArray_[0].toLowerCase();
			if (splitArray_[0] == "language") {language = unescape(splitArray_[1]);}
		}
	}

//*****************************************************************************

	function f_mousedown(e) {
		if (!info_over_flag) {
			f_info_out();
		}
	}

	function f_over(num) {
		$('img_'+num).style.visibility = "visible";
	}

	function f_out(num) {
		$('img_'+num).style.visibility = "hidden";
	}
	
	var info_over_flag = false;
	function f_i_over() {
		info_over_flag = true;
	}
	function f_i_out() {
		info_over_flag = false;
	}

	function f_info(num) {
		var id = "div_info";

		var W  = '';
		W += '<table id="'+id+'_table" class="info_table" style="" border="0" cellspacing="0" cellpadding="0">';
		
		W += '<tr><td colspan="3" class="info_opacity"><img src="images_'+language+'/leer.gif" style="width: 5px; height: 10px; border: 0px" /></td></tr>';

		W += '<tr>';
		W += '<td class="info_opacity" style="width: 10px;"><img src="images/leer.gif" style="width: 5px; height: 0px; border: 0px" /></td>';

		W += '<td class="info_table_td">';
		W += '<div id="'+id+'_div_scroll" class="info_div_scroll">';
		W += '<table id="info_text" class="info_text" border="0" cellspacing="0" cellpadding="0">';
		W += '<tr><td>';
		W += $('info_'+num).innerHTML;
		W += '</td></tr>';
		W += '</table>';
		W += '</div>';
		W += '</td>';

		W += '<td class="info_opacity" style="width: 10px;"><img src="images/leer.gif" style="width: 5px; height: 0px; border: 0px" /></td>';
		W += '</tr>';

		W += '<tr><td colspan="3" class="info_opacity"><img src="images_'+language+'/leer.gif" style="width: 5px; height: 10px; border: 0px" /></td></tr>';

		W += '</table>';
		$(id).innerHTML = W;

		var div_info_left = getOffsetLeft("div_info_pos");
		var div_info_top = getOffsetTop("div_info_pos")-$(id).getHeight()-30;
		document.getElementById(id).style.left = ""+div_info_left+"px";
		document.getElementById(id).style.top = ""+div_info_top+"px";

		document.getElementById('info_text').style.width = ""+(720)+"px";

		$(id).style.visibility = "visible";
	}	

	function f_info_out() {
		var id = "div_info";
		$(id).style.visibility = "hidden";
	}

	
//*****************************************************************************

	var iWidth = -1;
	var iHeight = -1;
	function f_onresize() {
		if (iWidth != getInnerWidth() || iHeight != getInnerHeight()) {
			iWidth = getInnerWidth();
			iHeight = getInnerHeight();

			cWidth = $('content').getWidth();
			cHeight = $('content').getHeight();

			if (navigator.appName == "Opera" || navigator.userAgent.indexOf("Firefox/2") != -1) {
				newLeft = parseInt((iWidth-0-cWidth)/2,10);
				newTop = parseInt((iHeight+2-cHeight)/2,10);
				if (newLeft < 0)
					newLeft = 0;
				if (newTop < 0)
					newTop = 1;
			}
			else {
				newLeft = parseInt((iWidth-1-cWidth)/2,10);
				newTop = parseInt((iHeight+1-cHeight)/2,10);
				if (newLeft < 0)
					newLeft = -1;
				if (newTop < 0)
					newTop = 0;
			}
				
			newWidth = iWidth;
			newHeight = iHeight;
			if (newWidth < cWidth)
				newWidth = cWidth;
			if (newHeight < cHeight)
				newHeight = cHeight;

//			$('div_size').innerHTML = iWidth+"x"+iHeight+"-"+cWidth+"x"+cHeight+"-"+newLeft+"x"+newTop;

			document.getElementById("div_background").style.width = ""+(newWidth)+"px";
			document.getElementById("div_background").style.height = ""+(newHeight)+"px";

			document.getElementById("div_background").style.left = "-4px";
			document.getElementById("div_background").style.top = "-80px";

			document.getElementById("div_content").style.left = ""+newLeft+"px";
			document.getElementById("div_content").style.top = ""+newTop+"px";

			impressumTop = iHeight;
			if (impressumTop < cHeight)
				impressumTop = cHeight;
			impressumTop -= 20;
			document.getElementById("div_impressum").style.top = ""+impressumTop+"px";
		}
		window.setTimeout("f_onresize()", 200);
	}

	//*****************************************************************************

	function getOffsetLeft(element) {
		e = $(element);
		xx = e.offsetLeft;
		while((e = e.offsetParent) != null) {xx += e.offsetLeft;}
		return xx;
	}
	function getOffsetTop(element) {
		e = $(element);
		yy = e.offsetTop;
		while((e = e.offsetParent) != null) {yy += e.offsetTop;}
		return yy;
	}
	
	function getInnerWidth() {
		x = -1;
		if (self.innerHeight) // all except Explorer
			x = self.innerWidth;
		else if (document.documentElement && document.documentElement.clientHeight) // Explorer 6 Strict Mode
			x = document.documentElement.clientWidth;
		else if (document.body)  // other Explorers
			x = document.body.clientWidth;
		return x;
	}
	function getInnerHeight() {
		y = -1;
		if (self.innerHeight) // all except Explorer
			y = self.innerHeight;
		else if (document.documentElement && document.documentElement.clientHeight) // Explorer 6 Strict Mode
			y = document.documentElement.clientHeight;
		else if (document.body) // other Explorers
			y = document.body.clientHeight;
		return y;
	}
	
//*****************************************************************************

	function f_init() {
//		viewLanguage();
		f_onresize();
		$("div_impressum").style.visibility = "visible";
		document.onmousedown = f_mousedown;
	}
