﻿// Email obfuscation gleaned from http://blog.macromates.com/2006/obfuscating-email-addresses/
function noSpamMailto(a, b, c, d) {
    // Hide the no js warning
    if (document.getElementById) {
        var obj = document.getElementById(a + "NoJsWarning");
        if (obj) obj.style.display = "none";
    }
    // Write the email address
    var e = a + "@" + b + "." + c;
    document.write("<a href='mailto:" + e + "'>");

    if (e.length > d)
        document.write("Email");
    else
        document.write(e);
    document.write("</a>");
}
