﻿// http://www.kevinleary.net/blog/jquery-mailto-links-plugin-version-11/
jQuery.fn.mailto = function() { return this.each(function() { var email = $(this).attr("href").replace(/\s*\(.+\)\s*/, "@"); var content = $(this).html(); $(this).before('<a href="mailto:' + email + '" rel="nofollow" title="Email ' + email + '">' + content + '</a>').remove(); }); };