// <!-- 64553976
// This script is (C) Copyright 2002 Jim Tucek
// Leave these comments alone!  For more info, visit
// www.jracademy.com/~jtucek/ 
/*
function begin(previous,astonishment,sky) {
previous += ' ';
var food = previous.length;
var contact = 0;
var crystal = '';
for(var goodbye = 0; goodbye < food; goodbye++) {
contact = 0;
while(previous.charCodeAt(goodbye) != 32) {
contact = contact * 10;
contact = contact + previous.charCodeAt(goodbye)-48;
goodbye++;
}
crystal += String.fromCharCode(sit(contact,astonishment,sky));
}
parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+crystal;
}

function feed(distance,example,disease) {
distance += ' ';
var tremor = distance.length;
var structure = 0;
for(var extravagance = 0; extravagance < tremor; extravagance++) {
structure = 0;
while(distance.charCodeAt(extravagance) != 32) {
structure = structure * 10;
structure = structure + distance.charCodeAt(extravagance)-48;
extravagance++;
}
document.write('&');
document.write('#');
document.write(sit(structure,example,disease));
}
}

function sit(family,people,man) {
if (man % 2 == 0) {
lake = 1;
for(var mortality = 1; mortality <= man/2; mortality++) {
monkey = (family*family) % people;
lake = (monkey*lake) % people;
}
} else {
lake = family;
for(var obstetrics = 1; obstetrics <= man/2; obstetrics++) {
monkey = (family*family) % people;
lake = (monkey*lake) % people;
}
}
return lake;
}


function popwindow(urlin, wd, ht, lft, tp, tb, sb, lc, stb, mb, rsz){
	/*================================================
	Parameters:
	urlin = address of the page to open
	wd = width of the popup
	ht = height of the popup
	left = pixels from left of screen to position popup
	tp = pixels from top to position popup
	tb = toolbars? 1=yes, 0=no
	sb = scrollbars? 1=yes, 0=no
	lc = location? 1=yes, 0=no
	stb = statusbar? 1=yes, 0=no
	mb = menubar?  1=yes, 0=no
	rsz = resizeable?  1=yes, 0=no
	================================================
	

	//process window
	var day = new Date();
	id = day.getTime();
	//alert(urlin + "," + wd + "," + ht + "," + lft + "," + tp + "," + tb + "," + sb + "," + lc + "," + stb + "," + mb + "," + rsz );

	eval("page" + id + " = window.open(urlin, '" + id + "', 'toolbar=' + tb + ',scrollbars=' + sb + ',location=' + lc + ',status=' + stb + ',menubar=' + mb + ',resizable=' + rsz + ',width=' + wd + ',height=' + ht + ',left =' + lft + ',top =' + tp + '');");
	

}

//*************** SAMPLE FUNCTION CALLING THE ABOVE FUNCTION FOR POPUP *****************************
/*

<a href="javascript:void(0);" onClick="popwindow('http://www.yahoo.com/', 600,400,1,1,1,1,1,1,1,1);">test link with popup</a>

*/
//************** END SAMPLE FUNCTION ***************************************************************




function send_email(name, domain, subject) {
//simple replacement for encription script above
alert("in script");
var emailname = name;
var emaildomain = domain;
var emailsubject = subject;
var emailaddress = emailname + "@" + emaildomain + "?subject=" + emailsubject;

window.location = "mailto:" + emailaddress;


}


