function set_position()
{
	var full_h = document.getElementById("index").offsetHeight;
	var diff = full_h - 330;
	var top_h = diff / 2;
	if (document.getElementById("main")) {
		document.getElementById("main").style.top = top_h;
	}
	var full_w = document.body.offsetWidth;
	diff = full_w - 218;
	var left_w = diff / 2;
	if (document.getElementById("main")) {
		document.getElementById("main").style.left = left_w;
	}
	
}
function decode_mail(s) { //
	var n=0;
	var r="";
	for(var i=0; i < s.length; i++) {
		n=s.charCodeAt(i);
		if (n>=8364) {n = 128;}
		r += String.fromCharCode(n-(1));
	}
	return r;
}
// JS function for uncrypting spam-protected emails:
function go_decode_mail(s) { //
	location.href=decode_mail(s);
}

