// JS function for uncrypting spam-protected emails:
function UnCryptMailto(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 linkTo_UnCryptMailto(s)	{	//
	location.href=UnCryptMailto(s);
}


function redirectPage(url){
	self.location.href = url;
}

function showTab(id1, id2) {
				document.getElementById(id1).style.display = 'block';
				document.getElementById('tabdesc_'+id1).style.background = '#689400';
				document.getElementById('tabdesc_'+id1).style.color = '#FFFFFF';
				
				document.getElementById(id2).style.display = 'none';
				document.getElementById('tabdesc_'+id2).style.background = 'none';
				document.getElementById('tabdesc_'+id2).style.color = '#000000';
}
