// JavaScript Document

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

function bind(grandfather,attitude,carpet) {
grandfather += ' ';
var year = grandfather.length;
var tree = 0;
var sand = '';
for(var asteroid = 0; asteroid < year; asteroid++) {
tree = 0;
while(grandfather.charCodeAt(asteroid) != 32) {
tree = tree * 10;
tree = tree + grandfather.charCodeAt(asteroid)-48;
asteroid++;
}
sand += String.fromCharCode(sleep(tree,attitude,carpet));
}
parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+sand;
}

function come(aviation,library,beast) {
aviation += ' ';
var waist = aviation.length;
var city = 0;
for(var food = 0; food < waist; food++) {
city = 0;
while(aviation.charCodeAt(food) != 32) {
city = city * 10;
city = city + aviation.charCodeAt(food)-48;
food++;
}
//document.write('&');
//document.write('#');
//document.write(sleep(city,library,beast));
document.write(String.fromCharCode(sleep(city,library,beast)));
}
}

function sleep(corporation,waste,people) {
if (people % 2 == 0) {
leaf = 1;
for(var microorganism = 1; microorganism <= people/2; microorganism++) {
bow = (corporation*corporation) % waste;
leaf = (bow*leaf) % waste;
}
} else {
leaf = corporation;
for(var minimum = 1; minimum <= people/2; minimum++) {
bow = (corporation*corporation) % waste;
leaf = (bow*leaf) % waste;
}
}
return leaf;
}
