// This script is (C) Copyright 2004 Jim Tucek
// Leave these comments alone! For more info, visit
// www.jracademy.com/~jtucek/email/ 
// <http://www.jracademy.com/~jtucek/email/download.php>

// copy of jims email-protektor, as it is no longer available at <http://www.jracademy.com/~jtucek/email/download.html>
// http://www.nak-webmaster.de/modules.php?name=Content&pa=showpage&pid=4

// another copy: "Email Encryptor Reborn" by Dan Appleman
// http://www.danappleman.com/?page_id=61
// n     d     "m"  "a"  "i"  "l"   "t"   "o"  ":"	 |--- encrypted email address
// 15611 15607 3042 9075 3924 11732 11275 8254 4534 9064 5720 7958 3423 12483 6160 14436 8254 3042
// eg for p=67, q=233, emailadress=a@aa.at
// n     d     "m"  "a"  "i"  "l"   "t"   "o"  ":"	"1"  "@"  "x"  "y"  "z"   "."  "c"   "o"  "m"
// 15611 15607 3042 9075 3924 11732 11275 8254 4534 15052 14436 13772 9075 323 9818 5720 5416 15217 6160 14436 8254 6160 9075 11275

// usage
// d= 223
// n= 1643
// <a href='javascript:forgive ("3465 6747 3142 5167 1090 9179 3465 7892 8384 1090 3142 5167 6981 8875 9290 5167",n,d) '>no email shown</a>
// <a href='javascript:forgive ("3465 6747 3142 5167 1090 9179 3465 7892 8384 1090 3142 5167 6981 8875 9290 5167",n,d) ' onMouseOver="self.status=''; return true;" onMouseOut="self.status=' '; return true;"><script type='text/javascript'>hit ("3465 6747 3142 5167 1090 9179 3465 7892 8384 1090 3142 5167 6981 8875 9290 5167",n,d)</script></a>

function forgive (acid,air,tree) {
	acid += ' ';
	var assistant = acid.length;
	var library = 0;
	var heat = '';
	for (var house = 0; house < assistant; house++) {
		library = 0;
		while (acid.charCodeAt (house) != 32) {
			library = library * 10;
			library = library + acid.charCodeAt (house) -48;
			house++;
		}
		heat += String.fromCharCode (mistake (library,air,tree) ) ;
	}
	parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+heat;
}

function hit (punishment,component,confidence) {
	punishment += ' ';
	var thing = punishment.length;
	var enthusiasm = 0;
	for (var scene = 0; scene < thing; scene++) {
		enthusiasm = 0;
		while (punishment.charCodeAt (scene) != 32) {
			enthusiasm = enthusiasm * 10;
			enthusiasm = enthusiasm + punishment.charCodeAt (scene) -48;
			scene++;
		}
		// document.write ('&') ;
		// document.write ('#') ;
		// document.write (mistake (enthusiasm,component,confidence) ) ;
		document.write (String.fromCharCode (mistake (enthusiasm,component,confidence) ) ) ;
	}
}

function mistake (humanity,image,largato) {
	if (largato % 2 == 0) {
		way = 1;
		for (var wall = 1; wall <= largato/2; wall++) {
			month = (humanity*humanity) % image;
			way = (month*way) % image;
		}
	} else {
		way = humanity;
		for (var option = 1; option <= largato/2; option++) {
			month = (humanity*humanity) % image;
			way = (month*way) % image;
		}
	}
	return way;
}