/*
    Based on this article:      
    http://www.html-advisor.com/javascript/hide-email-with-javascript-jquery/

    Example markup:
    ---------------
    
    <span class="mailme" title="Send me a letter!">me at mydomain dot com</span>

    Example code:
	-------------
	
	// Replaces all the matching elements with a <a href="mailto:..> tag.
		
	$('span.mailme').mailme();
    
*/
    

$(document).ready(function()
{
var at = / at /;
var dot = / dot /g;
$('a[rel=mailme]').each(function () {
var addr = $(this).attr('title').replace(at,'@').replace(dot,'.');
$(this).after('<a href="mailto:'+ addr +'" title="Send an email">'+  $(this).text() +'</a>');
$(this).remove();
});
}
);
