

function init_email_spam_catch(){
	
	$('.no-email-spam').each(function(){
		
		
		
			var rel = $(this).attr('rel');
			var parts = rel.split(',');
		
			if(parts.length == 3){
				
				var addy = parts[0] + '@' + parts[1] + '.' + parts[2];
				$(this).attr('href','mailto:'+addy);
				
				//only set the link html if it was empty anyway
				if($(this).html() == ''){
					$(this).html(addy);
				}
			
		}
		
	});
	
}
