/*function Test() { 
	
}*/


function MM_openBrWindow(theURL,winName,features) {
	window.open(theURL,winName,features);
}
function ZweiFrames(URI1,F1,URI2,F2) {
  Frame1=eval("parent."+F1);
  Frame2=eval("parent."+F2);
  Frame1.location.href = URI1;
  Frame2.location.href = URI2;
}

function mailto (s)	
{
	document.location.href =  "mailto:" + unCryptMail(s);
}

function unCryptMail (r)
{
	r = unescape (r);
	var l = r.length;
	var o = "";
	for (i = 0; i < l; i++)
	{
		o += String.fromCharCode (r.charCodeAt (i) - 1);
	}
	return o;
}

function cryptMail (r)
{
	var l = r.length;
	var o = "";
	for (i = 0; i < l; i++)
	{
		o += String.fromCharCode (r.charCodeAt (i) + 1);
	}
	return escape (o);
}

function cryptInput ()
{
	var c = cryptMail (document.forms.cryptform.input.value);
	document.forms.cryptform.output.value = c;
	
	// generate simple code example
	document.forms.cryptform.simple.value = "<a href=\"javascript:mailto('" + c + "')\" title=\"Javascript needed!\">linktext</a>";
}





