// Simple javascript function to write an email link function emailLink(address) { address = address.replace(/s+dots+/g, "."); address = address.replace(/s+ats+/g, "@"); document.write("" + address + ""); }