function init() {
	minBreite = 1000;
	checkSize();
}
function Fensterbreite() {
	if (window.innerWidth) return window.innerWidth;
	else if (document.body && document.body.offsetWidth) return document.getElementsByTagName('html')[0].offsetWidth;
}

function checkSize() { 
	if ( Fensterbreite() < minBreite ) {
		document.getElementsByTagName("html")[0].style.overflowX = "auto";
		document.getElementById("wrapper").style.left = "-40px";
		document.getElementById("wrapper").style.marginLeft = "0px";
		document.body.style.backgroundPosition = bgLeftPos + " 0px";
	} else {
		document.getElementsByTagName("html")[0].style.overflowX = "hidden";
		document.getElementById("wrapper").style.left = "50%";
		document.getElementById("wrapper").style.marginLeft = "-548px";
		document.body.style.backgroundPosition = "top center";
	}
}

function UnCryptMailto( s )
{
	var n = 0;
	var r = "";
	for( var i = 0; i < s.length; i++)
	{
		n = s.charCodeAt( i );
		if( n >= 8364 )
		{
			n = 128;
		}
		r += String.fromCharCode( n - 1 );
	}
	return r;
}

function linkTo_UnCryptMailto( s )
{
	location.href=UnCryptMailto( s );
}


