$(document).ready(function() {
	// Rewrite e-mail addresses (replace '[at-char]' with '@')
	$("a[href^='mailto:']").each(function() {
		$this = $(this);
		var href = $this.attr('href');
		var title = $this.html();
		var pattern = /\[replace\-with\-at\-char\]/;
		$this.attr('href', href.replace(pattern, '@'));
		$this.html(title.replace(pattern, '@'));		
	});
});