<!--
var bLeft = new Array();
var bRight = new Array();

function doInit() {
	doIE6Sizer();
	
	if (document.all) var a = document.all.tags("a");
	else if (document.getElementById) var a = document.getElementsByTagName("a");

	for (i=0; i<a.length; i++) {
		a[i].onfocus = function() { if (this.blur) this.blur(); }
		if (a[i].name != "") doMail(a[i], a[i].name);
	}
	
	if (cross("ctl00_start")) {
		if (document.all) var div = document.all.tags("div");
		else if (document.getElementById) var div = document.getElementsByTagName("div");
		
		var lidx = 0;
		var ridx = 0;
		
		for (i=0; i<div.length; i++) {
			if (div[i].lang == "bLeft") {
				bLeft[lidx] = div[i];
				lidx++;
			}
			if (div[i].lang == "bRight") {
				bRight[ridx] = div[i];
				ridx++;
			}
		}

		if (bLeft.length > 0) bLeft[0].style.display = "";
		if (bLeft.length > 1) tLeft = window.setTimeout("doRotateLeft(1)", showTime * 1000);
		
		if (bRight.length > 0) bRight[0].style.display = "";
		if (bRight.length > 1) tRight = window.setTimeout("doRotateRight(1)", showTime * 1000);
	}
}

function doRotateLeft(showIdx) {
	if (showIdx >= bLeft.length) showIdx = 0;
	hideIdx = (((showIdx - 1) < 0) ? bLeft.length : showIdx) - 1;
	FadeLeft(bLeft[hideIdx].id, 100, showIdx);
	tLeft = window.setTimeout("doRotateLeft(" + (showIdx + 1) + ")", showTime * 1000);	
}

function doRotateRight(showIdx) {
	if (showIdx >= bRight.length) showIdx = 0;
	hideIdx = (((showIdx - 1) < 0) ? bRight.length : showIdx) - 1;
	FadeRight(bRight[hideIdx].id, 100);
	tRight = window.setTimeout("doRotateRight(" + (showIdx + 1) + ")", showTime * 1000);	
}

var showTime = 8; // Sekunden

function FadeLeft(el, opac, showIdx) {
	var obj = cross(el);
	var newOpac = opac - 10;

	if (newOpac > 0) {
		changeOpac(obj, newOpac);
		changeOpac(cross("ctl00_leftCell"), newOpac);
		newsTimer = window.setTimeout("FadeLeft('"+ el + "', " + newOpac + ", " + showIdx + ")", 25);
	}
	else {
		if (window.newsTimer) clearTimeout(newsTimer);
		obj.style.display = "none";
		clearOpac(obj);
		clearOpac(bLeft[showIdx]);
		clearOpac(cross("ctl00_leftCell"));
		bLeft[showIdx].style.display = "";
	}
}

function FadeRight(el, opac, showIdx) {
	var obj = cross(el);
	var newOpac = opac - 10;

	if (newOpac > 0) {
		changeOpac(obj, newOpac);
		changeOpac(cross("ctl00_rightCell"), newOpac);
		newsTimer = window.setTimeout("FadeRight('"+ el + "', " + newOpac + ", " + showIdx + ")", 25);
	}
	else {
		if (window.newsTimer) clearTimeout(newsTimer);
		obj.style.display = "none";
		clearOpac(obj);
		clearOpac(bRight[showIdx]);
		clearOpac(cross("ctl00_rightCell"));
		bRight[showIdx].style.display = "";
	}
}

function doIE6Sizer() {
	if (/MSIE (5\.5|6\.)/.test(navigator.userAgent) && !cross("ctl00_start")) {
		offset = document.body.clientHeight;

		//if (cross("ctl00_leftpane")) cross("ctl00_leftpane").style.height = offset - 150 + "px";
		//if (cross("ctl00_info")) cross("ctl00_info").style.height = offset - 302 + "px";
		if (cross("ctl00_contentpane")) cross("ctl00_contentpane").style.height = offset - 250 + "px";
	}
}

function doMail(obj, strg) {
	var strg = decodeEmail(strg);

	obj.innerHTML = strg;
    
	strg = "mailto:" + strg;
    
	obj.href = strg;
	obj.onmouseover = function () { window.status = strg; }
	obj.onmouseout = function () { window.status = ""; }
}

function decodeEmail(encodedEmail) {
	var mailStrg = "";

	for (j=0; j<encodedEmail.length; j+=2) {
		var l = encodedEmail.charAt(j) + encodedEmail.charAt(j + 1);
		mailStrg += String.fromCharCode(parseInt(l, 16));
	}

	return mailStrg;
}

function getRealLeft(obj) {
	xPos = obj.offsetLeft;
	temp = obj.offsetParent;
	
	while (temp != null) {
		xPos += temp.offsetLeft;
		temp = temp.offsetParent;
	}
	
	return xPos;
} 

function getRealTop(obj) {
	yPos = obj.offsetTop;
	temp = obj.offsetParent;
	
	while (temp != null) {
		yPos += temp.offsetTop;
		temp = temp.offsetParent;
	}
	
	return yPos;
}

function clearOpac(obj) {
	obj.style.filter = "";
	obj.style.opacity = "";
	obj.style.MozOpacity = "";
	obj.style.KhtmlOpacity = "";
}

function changeOpac(obj, opacity) {
    obj.style.filter = "alpha(opacity=" + opacity + ")";
	obj.style.opacity = (opacity / 100);
	obj.style.MozOpacity = (opacity / 100);
	obj.style.KhtmlOpacity = (opacity / 100);
} 

var combined = false;
var lastobj = false;

function FadeIn(el, opac) {
	var obj = cross(el);
	var newOpac = opac + 10;

	if (newOpac < 100) {
		changeOpac(obj, newOpac);
		if (opac == 0) obj.style.display = "block";
		inTimer = window.setTimeout("FadeIn('" + el + "', " + newOpac + ")", 10);
	}
	else {
		if (window.inTimer) clearTimeout(inTimer);
		changeOpac(obj, 100);
		cross("button").style.display = "none";

		if (el == "login" && cross("menu"))
			combined = true;
		else {
			combined = false;
			outTimer = window.setTimeout("FadeOut('" + el + "', 100)", 2150);
		}
	}
}

function FadeOut(el, opac) {
	var obj = cross(el);
	var newOpac = opac - 5;

	if (newOpac > 0) {
		changeOpac(obj, newOpac);
		outTimer = window.setTimeout("FadeOut('" + el + "', " + newOpac + ")", 15);
	}
	else { 
		if (window.outTimer) clearTimeout(outTimer);
		cross("button").style.display = "block";
		obj.style.display = "none";
		clearOpac(obj);
		
		if (el == "login" && combined) {
			outTimer = window.setTimeout("FadeOut('menu', 100)", 0);
			combined = false;
		}
	}

	if (lastobj) {
		lastobj.style.fontWeight = "normal";
		lastobj = false;
	}
}

function Clear(el) {
	if (window.outTimer && cross("button").style.display == "none") {
		clearTimeout(outTimer);
		clearOpac(cross(el))
	}
}

function SelThat(that) {
	if (lastobj) lastobj.style.fontWeight = "normal";

	lastobj = that;
	that.style.fontWeight = "bold";

	if (sweetTitles) sweetTitles.tip.style.visibility = 'hidden';
}

function AutoHide(el) {
	if (combined && el == "menu") el = "login";
	if (window.outTimer) clearTimeout(outTimer);
	outTimer = window.setTimeout("FadeOut('" + el + "', 100)", 350);
}

function cross(objectID) {
	return document.getElementById ? document.getElementById(objectID) : document.all[objectID];
}

function trc(val) {
	cross("helper").innerHTML = val;
}
-->