// obfuscate an email address
// author unknown (kudos whoever you are!)

/*
To obfuscate an email address, it should be coded like this in the html:

	<a href="javascript:Obfuscate('e|m|a|i|l<acht>d|o|m|a|i|n|.|c|o|m'?Subject=subject;Body=body)">Email Address</a>

The script removes the |'s and replaces the <acht> with @, then calls a regular
HTML mailto: URL.
*/

<!--
 function Obfuscate(email) {

  var emailaddress
  emailaddress = email.replace('<acht>', '@')
  emailaddress = emailaddress.replace(/[|]+/g,'')
  window.location.href='mailto:' + emailaddress
 }
-->
