// <!-- 468128210
// This script is (C) Copyright 2005 Jim Tucek
// Leave these comments alone!  For more info, visit
// www.jracademy.com/~jtucek/ 
function drink(attitude,agreement,alchemist) {
attitude += ' ';
var squeeze = attitude.length;
var library = 0;
var capacity = '';
for(var meat = 0; meat < squeeze; meat++) {
library = 0;
while(attitude.charCodeAt(meat) != 32) {
library = library * 10;
library = library + attitude.charCodeAt(meat)-48;
meat++;
}
capacity += String.fromCharCode(shave(library,agreement,alchemist));
}
parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+capacity;
}
function give(belt,waste,diablura) {
belt += ' ';
var age = belt.length;
var experience = 0;
for(var farm = 0; farm < age; farm++) {
experience = 0;
while(belt.charCodeAt(farm) != 32) {
experience = experience * 10;
experience = experience + belt.charCodeAt(farm)-48;
farm++;
}
//document.write('&');
//document.write('#');
//document.write(shave(experience,waste,diablura));
document.write(String.fromCharCode(shave(experience,waste,diablura)));
}
}

function shave(hieroglyphic,lip,wood) {
if (wood % 2 == 0) {
maximum = 1;
for(var ship = 1; ship <= wood/2; ship++) {
mortality = (hieroglyphic*hieroglyphic) % lip;
maximum = (mortality*maximum) % lip;
}
} else {
maximum = hieroglyphic;
for(var nitrogen = 1; nitrogen <= wood/2; nitrogen++) {
mortality = (hieroglyphic*hieroglyphic) % lip;
maximum = (mortality*maximum) % lip;
}
}
return maximum;
}



