/******************************************************************

  The "WriteMailLink" function is © 2004-2006 G. Stewart,
  gstewart at spamcop dot net, and released under the terms of
  the GNU General Public License Version 2, the terms of which
  are viewable at http://www.gnu.org/licenses/gpl.html

******************************************************************/

  function WriteMailLink(user,domain,subject,display) {
    document.write('<a href="mai');
    document.write('lto:'+user+'&#64;');
    document.write(domain);
    if ( subject.length > 0 )  document.write("?subject="+subject);
    document.write('" class="txt">');
    if ( display.length > 0 )
      document.write(display);
     else
      document.write(user+'&#64;'+domain);
    document.write('<'+'/a>');
  }

