﻿// EMAIL SCRAPING PREVENTION

// Protect Inline Email Addresses from Scraping

// Inline email link should be as follows:
// <a href="javascript:sendMailTo('bob','bobsdomain','com')">bob@bobsdomain.com</a>

function sendMailTo(name, company, domain) {
    locationstring = "mai" + "lto:" + name + "@" + company + "." + domain;
    window.location.replace(locationstring);
}
