
//From URL: (http://www.derwok.de/service/email_stopspam/)
function UnCryptMailto(s) {
	s = unescape(s); // Url Decode
	var shift = 2; //Has to be the same as in the method CryptMailto (->find in tools).
	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-(shift)); 
	}
	return r;
}

function linkTo_UnCryptMailto(s) {
	location.href=UnCryptMailto(s);
}

function PopupPic(ID) {

	var scrollPos;
	if (typeof window.pageYOffset != 'undefined') {
	   scrollPos = window.pageYOffset;
	}
	else if (typeof document.compatMode != 'undefined' &&
     		document.compatMode != 'BackCompat') {
	   scrollPos = document.documentElement.scrollTop;
	}
	else if (typeof document.body != 'undefined') {
	   scrollPos = document.body.scrollTop;
	}

	scrollPos = scrollPos + 100;
	document.getElementById(ID).style.top =  scrollPos + 'px';
	document.getElementById(ID).style.left =  15 + 'px';
	document.getElementById(ID).style.visibility = 'visible';	
}

function HidePic(ID) {
	document.getElementById(ID).style.visibility = 'hidden';
}



