function mailTo(codelist, description, atagattr) {
	 var thiscode, thischar;
	 var CodeString = new String(codelist);
	 var CodedArray = CodeString.split('|');
	 var L = CodedArray.length;
	 var AddrDecoded = "";
	 for (var x=0; x < L; x++) {
		thiscode = CodedArray[x];
		thischar = String.fromCharCode( thiscode - L );
		AddrDecoded += thischar;
	 }
	 atagattr = atagattr ? ' ' + atagattr : '';
	 if (!description) description = AddrDecoded; // if no description supplied, display email address
	 var strOutput = '<a href="mailto:'+AddrDecoded+'"' + atagattr+'>' + description + '</a>';
	 document.write(strOutput);
}
