// This file contains javascript that is global to the entire Garden application
jQuery(document).ready(function($) {
   // Format email addresses
   $('span.Email').each(function() {
      var html = $(this).html();
      var email = this;
      $(email).find('em').replaceWith('.');
      $(email).find('strong').replaceWith('@');
      email = $(email).text();
      $(this).html('<a href="mailto:' + email + '">' + email + '</a>');
   });
});
