
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_mailTo(s, shift)	{
	location.href=UnCryptMailto(s, shift);
}


function ShowCryptWin()  {
  KB = window.open('cryptemail.html','Crypt','width=750,height=200,left=200,top=100,resizable=yes,scrollbars=yes');
  KB.focus();
}