$(document).ready(function() {
	processEmails('span.decrypt_email');
});

function processEmails(marker) {
	var emails = $(marker);

	emails.each(function(i) {
		$this = $(this);
		var email = $this.text();
		email = email.replace(/\(at\)/i, '@');
		$this.text(email).removeClass('decrypt_email').wrap('<a href="mailto:' + email + '"></a>')
	});
}