function decode_mail(email) {
	var x = 0;
	var str = "";
	for(i=0; i < email.length; i++) {
		x = email.charCodeAt(i);
		if(x >= 8364) {
			x = 128;
		}
		str += String.fromCharCode(x-(2));
	}
	return str;
}
	
function encode_mail(email,subject)	{
	location.href = 'mailto:'+decode_mail(email)+'?subject='+subject;
}