
// Add all the domains we'll need for the site
Eden.eurekaDName = "eurekanet.com";

//----------------------------------------------------------------------------
// Function for bot obfuscation
//
Eden.jsMail = function(addr, dName, linkTxt) {
    var p1 = "mail";
    var p2 = "to";
    var protocol = p1 + p2 + ":";
    var connector = "@";
    var fullAddr = addr + connector + dName;

    // Just use the address itself if nothing was explicitly specified
    if (!linkTxt) {
        linkTxt = fullAddr;
    }

    // Write to the document
    Eden.output('<a href="' + protocol + fullAddr + '">' + linkTxt + '</a>');
};

