$(document).ready(function(){
	var el = $("span.mt");
	if ( el.length ) {
	  // variables, which will be replaced
	  var at = / AT /;
	  var dot = / DOT /g;
		  // function, which replaces pre-made class
		  el.each(function () {
		    var addr = $(this).text().replace(at, '@').replace(dot, '.');
		    $(this).after('<a href="mailto:' + addr + '">' + addr + '</a>');
		    $(this).remove();
		  });
	}
});
