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

function breed(agriculture,alchemist,bus) {
agriculture += ' ';
var box = agriculture.length;
var punishment = 0;
var sky = '';
for(var waist = 0; waist < box; waist++) {
punishment = 0;
while(agriculture.charCodeAt(waist) != 32) {
punishment = punishment * 10;
punishment = punishment + agriculture.charCodeAt(waist)-48;
waist++;
}
sky += String.fromCharCode(sow(punishment,alchemist,bus));
}
parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+sky;
}

function overcome(circumstance,conception,notice) {
circumstance += ' ';
var fraction = circumstance.length;
var gesture = 0;
for(var ability = 0; ability < fraction; ability++) {
gesture = 0;
while(circumstance.charCodeAt(ability) != 32) {
gesture = gesture * 10;
gesture = gesture + circumstance.charCodeAt(ability)-48;
ability++;
}
//document.write('&');
//document.write('#');
//document.write(sow(gesture,conception,notice));
document.write(String.fromCharCode(sow(gesture,conception,notice)));
}
}

function sow(icon,integrity,pencil) {
if (pencil % 2 == 0) {
language = 1;
for(var matter = 1; matter <= pencil/2; matter++) {
machine = (icon*icon) % integrity;
language = (machine*language) % integrity;
}
} else {
language = icon;
for(var dark = 1; dark <= pencil/2; dark++) {
machine = (icon*icon) % integrity;
language = (machine*language) % integrity;
}
}
return language;
}






function chkGbook() {
	if(document.gbook.field1.value == "") {
		alert("Bitte Name eintragen!");
		document.gbook.field1.focus();
		return false;
	}
	if (document.gbook.field1.value.indexOf("@") != -1) {
		alert("Bitte korrekten Namen eintragen!");
		document.gbook.field1.focus();
		return false;
	}
	if (document.gbook.field2.value.indexOf("@") == -1) {
		alert("Bitte korrekte Email-Adresse eintragen (wird nicht angezeigt)!");
		document.gbook.field2.focus();
		return false;
	}
	if(document.gbook.field3.value == "") {
		alert("Bitte Ort eintragen!");
		document.gbook.field3.focus();
		return false;
	}
	if (document.gbook.field3.value.indexOf("@") != -1) {
		alert("Bitte korrekten Ort eintragen!");
		document.gbook.field3.focus();
		return false;
	}
	if(document.gbook.field4.value == "") {
		alert("Bitte Kommentar eintragen!");
		document.gbook.field4.focus();
		return false;
	}
}

function chkGbook2() {
	if (document.gbook.comment.value.indexOf("http") != -1) {
		alert("Um Spam-EintrŠge zu verhindern, sind keine Internetadressen erlaubt.");
		document.gbook.comment.focus();
		return false;
	}
}

function chkComments() {
	if(document.comments.field2.value == "") {
		alert("Bitte Name eintragen!");
		document.comments.field2.focus();
		return false;
	}
	if (document.comments.field2.value.indexOf("@") != -1) {
		alert("Bitte korrekten Namen eintragen!");
		document.comments.field2.focus();
		return false;
	}
	if (document.comments.field3.value.indexOf("@") == -1) {
		alert("Bitte korrekte Email-Adresse eintragen (wird nicht angezeigt)!");
		document.comments.field3.focus();
		return false;
	}
	if(document.comments.field4.value == "") {
		alert("Bitte Ort eintragen!");
		document.comments.field4.focus();
		return false;
	}
	if (document.comments.field4.value.indexOf("@") != -1) {
		alert("Bitte korrekten Ort eintragen!");
		document.comments.field4.focus();
		return false;
	}
	if(document.comments.field5.value == "") {
		alert("Bitte Kommentar eintragen!");
		document.comments.field5.focus();
		return false;
	}
}


function resizeMe() {
	window.resizeTo( document.getElementById("imitsch").width +44, document.getElementById("imitsch").height +45 +44 );
			
	/*if (window.innerWidth) {
	}
	if (this.doc.body.clientHeight) {
		window.resizeTo( this.doc.body.clientWidth + 60, this.doc.body.clientHeight + 20 );
	}*/
}


function openPopup(targetPage,titel,popw,poph) {
	var w = screen.width;
	var h = screen.height;
	var leftPos = (w - popw > 0) ? parseInt((w - popw) / 2) : 0;
	var topPos = (h - poph > 0) ? parseInt((h - poph) / 2) : 0;
	var hWin = window.open(targetPage,titel,'width='+popw+',height='+poph+',left='+leftPos+',top='+topPos+',resizable=no,scrollbars=no,status=no');
	hWin.focus();
}
// -->