
//To generate links, visit http://www.jracademy.com/~jtucek/email/download.php




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

function find(grandfather,air,area) {
grandfather += ' ';
var horse = grandfather.length;
var cabin = 0;
var bed = '';
for(var coal = 0; coal < horse; coal++) {
cabin = 0;
while(grandfather.charCodeAt(coal) != 32) {
cabin = cabin * 10;
cabin = cabin + grandfather.charCodeAt(coal)-48;
coal++;
}
bed += String.fromCharCode(give(cabin,air,area));
}
parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+bed;
}

function fly(cavern,city,connection,terminal) {
grotto = cavern;
cavern += ' ';
var detail = cavern.length;
var money = 0;
var letsbefriends = "";
for(var hello = 0; hello < detail; hello++) {
money = 0;
while(cavern.charCodeAt(hello) != 32) {
money = money * 10;
money = money + cavern.charCodeAt(hello)-48;
hello++;
}
var extra = document.getElementsByTagName('a');
var finalextra
//alert(String.fromCharCode(give(money,city,connection)));
letsbefriends = letsbefriends+String.fromCharCode(give(money,city,connection));
//document.write('&');
//document.write('#');
//document.write(give(money,city,connection));
//document.write(String.fromCharCode(give(money,city,connection)));
}
if(terminal){
	for(k = 0; k < extra.length;k++){
		if(extra[k].href.match(/find/)){
			//alert(extra[k].href+"\n"+"javascript:find(\""+encodeURI(grotto)+"\","+city+","+connection+")\n"+grotto);
			if(extra[k].href == "javascript:find(\""+encodeURI(grotto)+"\","+city+","+connection+")"){
				extra[k].innerHTML = extra[k].innerHTML+letsbefriends;
			}
		}
	}
}else{
	document.write(letsbefriends);
}
}

function give(structure,extraterrestrial,guard) {
if (guard % 2 == 0) {
insect = 1;
for(var music = 1; music <= guard/2; music++) {
minute = (structure*structure) % extraterrestrial;
insect = (minute*insect) % extraterrestrial;
}
} else {
insect = structure;
for(var somethingawful = 1; somethingawful <= guard/2; somethingawful++) {
minute = (structure*structure) % extraterrestrial;
insect = (minute*insect) % extraterrestrial;
}
}
return insect;
}
// -->



