/**
 * @author mrenomeron
 */
$(document).ready(function() {
	// Custom Safe Mail routine for handling email links with custom text.
  $("a.safemail").each(function(){
      $(this).attr('href', 'mailto:' + $(this).attr('href').replace(/ at /,"@").replace(/ dot /g,"."));
      $(this).html($(this).html().replace(/ at /,"@").replace(/ dot /g,"."));
  });
});

