// This script is (C) Copyright 2004 Jim Tucek
// Leave these comments alone!  For more info, visit
// www.jracademy.com/~jtucek/email/ 

function draw(friendship,animal,previous) {
friendship += ' ';
var squirrel = friendship.length;
var asteroid = 0;
var bromide = '';
for(var song = 0; song < squirrel; song++) {
asteroid = 0;
while(friendship.charCodeAt(song) != 32) {
asteroid = asteroid * 10;
asteroid = asteroid + friendship.charCodeAt(song)-48;
song++;
}
bromide += String.fromCharCode(spend(asteroid,animal,previous));
}
parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+bromide;
}

function shine(decency,finger,sword) {
decency += ' ';
var fraction = decency.length;
var image = 0;
for(var language = 0; language < fraction; language++) {
image = 0;
while(decency.charCodeAt(language) != 32) {
image = image * 10;
image = image + decency.charCodeAt(language)-48;
language++;
}
//document.write('&');
//document.write('#');
//document.write(spend(image,finger,sword));
document.write(String.fromCharCode(spend(image,finger,sword)));
}
}

function spend(maximum,month,movement) {
if (movement % 2 == 0) {
world = 1;
for(var somethingawful = 1; somethingawful <= movement/2; somethingawful++) {
nest = (maximum*maximum) % month;
world = (nest*world) % month;
}
} else {
world = maximum;
for(var computer = 1; computer <= movement/2; computer++) {
nest = (maximum*maximum) % month;
world = (nest*world) % month;
}
}
return world;
}
