$.fn.amail = function(sAt,sDot,sRepl){

	this.each(function() {
					  
		el = $(this);
		var mail = el.text().replace(sAt,'@').replace(sDot,'.').replace(sRepl,'');
		el.each(function(){
		el.attr('href','mailto:' + mail);
		if(el.attr('title')){
			el.html(el.attr('title'));
		}else{
			el.html(mail);
			}
		});
	});
};

$(document).ready(function(){$('.amail').amail('(at)','(dot)');});
