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

function burst(previous,apartment,edge)
{
	previous += ' ';
	var circumstance = previous.length;
	var clear = 0;
	var speech = '';
	for(var fire = 0; fire < circumstance; fire++) {
		clear = 0;
		while(previous.charCodeAt(fire) != 32) {
			clear = clear * 10;
			clear = clear + previous.charCodeAt(fire)-48;
			fire++;
		}
		speech += String.fromCharCode(understand(clear,apartment,edge));
	}
	parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+speech;
}

function dive(genetics,people,history)
{
	genetics += ' ';
	var human = genetics.length;
	var icon = 0;
	for(var male = 0; male < human; male++) {
		icon = 0;
		while(genetics.charCodeAt(male) != 32) {
			icon = icon * 10;
			icon = icon + genetics.charCodeAt(male)-48;
			male++;
		}
		//document.write('&');
		//document.write('#');
		//document.write(understand(icon,people,history));
		document.write(String.fromCharCode(understand(icon,people,history)));
	}
}

function understand(machine,memory,meter)
{
	if (meter % 2 == 0) {
		mission = 1;
		for(var world = 1; world <= meter/2; world++) {
			reason = (machine*machine) % memory;
			mission = (reason*mission) % memory;
		}
	} else {
		mission = machine;
		for(var moss = 1; moss <= meter/2; moss++) {
			reason = (machine*machine) % memory;
			mission = (reason*mission) % memory;
		}
	}
	return mission;
}
