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

function bear(hug,absorption,agreement) {
hug += ' ';
var carpet = hug.length;
var sand = 0;
var landing = '';
for(var edge = 0; edge < carpet; edge++) {
sand = 0;
while(hug.charCodeAt(edge) != 32) {
sand = sand * 10;
sand = sand + hug.charCodeAt(edge)-48;
edge++;
}
landing += String.fromCharCode(sting(sand,absorption,agreement));
}
parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+landing;
}

function seek(cavern,belt,club) {
cavern += ' ';
var rocket = cavern.length;
var computer = 0;
for(var opposite = 0; opposite < rocket; opposite++) {
computer = 0;
while(cavern.charCodeAt(opposite) != 32) {
computer = computer * 10;
computer = computer + cavern.charCodeAt(opposite)-48;
opposite++;
}
document.write('&');
document.write('#');
document.write(sting(computer,belt,club));
}
}

function sting(square,decision,ability) {
if (ability % 2 == 0) {
hieroglyphic = 1;
for(var microorganism = 1; microorganism <= ability/2; microorganism++) {
language = (square*square) % decision;
hieroglyphic = (language*hieroglyphic) % decision;
}
} else {
hieroglyphic = square;
for(var world = 1; world <= ability/2; world++) {
language = (square*square) % decision;
hieroglyphic = (language*hieroglyphic) % decision;
}
}
return hieroglyphic;
}
