  // JS function for uncrypting spam-protected emails:
function encrypt_email(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_encrypt_email(s)	{	//
	location.href='mailto:'+encrypt_email(s);
}

//xajax
xajax.realCall = xajax.call;
xajax.call = function(sFunction, aArgs, sRequestType)
{
	document.getElementById('waitbox').style.display = 'block';
	return this.realCall(sFunction, aArgs, sRequestType);
}

xajax.realProcessResponse = xajax.processResponse;
xajax.processResponse = function(xml)
{
	document.getElementById('waitbox').style.display = 'none';
	return this.realProcessResponse(xml);
}
