$(function() {
    /***** encode email addresses *****/
    $('.nospam').each(function() {
        var val = $(this).html();
        var newval = val.replace('_nospam@', '@');
        $(this).html('<a href="mailto:'+ newval +'">' + newval + '</a>')
    });
});
