function obfuscate(domain, name) {
    window.location.href=('mailto:' + name + '@' + domain.replace(/%%%/g,".")); // write out email address
}
