Event.observe(window,'load',
  function() {
    $$('span.email').each(
      function(elm) {
	    elm_content = elm.firstChild.nodeValue;
	    elm_content = elm_content.sub(/\s*\[at\]\s*/, "@");
	    elm_content = elm_content.gsub(/\s*\[dot\]\s*/, ".");
        elm.update("<a href=\"mailto:" + elm_content + "\">" + elm_content +
          "</a>");
      },
    false);
  })

