/*
 * Scriptsammlung 
 */
timeSlap=20 // sekunden
reloading=function()
{
	setTimeout("reloading()",1000);

	status=timeSlap+" sekunden bis zum reload";
	if(timeSlap>0) timeSlap--;
	else location.reload();
}
 
function NewWin(datei,breite,hoehe) 
{ 
var mypage=window.open(datei,"mypage","width="+breite+", height="+hoehe+",toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=no,status=no"); 
} 

function disabletext(e){ 
	return false 
} 
//Für IE4+ 
document.onselectstart=new Function ("return false") 
//Für Netscape 6+ und Firefox 
if (window.sidebar){ 
	document.onmousedown=disabletext 
} 


function UnCryptMailto(s, shift) {
	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, shift)	{
	location.href=UnCryptMailto(s, shift);
}
