function mailto(input1,input2,input3) {
input1 += ' ';
var num = input1.length;
var count = 0;
var difference = '';
for(var i = 0; i < num; i++) {
count = 0;
while(input1.charCodeAt(i) != 32) {
count = count * 10;
count = count + input1.charCodeAt(i)-48;
i++;
}
difference += String.fromCharCode(shake(count,input2,input3));
}
parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+difference;
}

function show(input1,input2,input3) {
input1 += ' ';
var num = input1.length;
var insect = 0;
for(var i = 0; i < num; i++) {
count = 0;
while(input1.charCodeAt(i) != 32) {
count = count * 10;
count = count + input1.charCodeAt(i)-48;
i++;
}
document.write('&');
document.write('#');
document.write(shake(count,input2,input3));
}
}

function shake(input1,input2,input3) {
if (input3 % 2 == 0) {
count1 = 1;
for(var movement = 1; movement <= input3/2; movement++) {
count2 = (input1*input1) % input2;
count1 = (count2*count1) % input2;
}
} else {
count1 = input1;
for(var option = 1; option <= input3/2; option++) {
count2 = (input1*input1) % input2;
count1 = (count2*count1) % input2;
}
}
return count1;
}

startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("navit");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace
	(" over", "");
   }
   }
  }
 }
}
window.onload=startList;
// -->
