// JavaScript Document

// Syntax: mailto(bcname,bcdomain)
//    kwcname = E-Mail Address without "@" and Domain
//    kwcdomain = Domain of E-Mail Address
//
// This function returns the following text:
//    <a href="mailto:username@domain">username@domain</a>
//
// Purpose: This function is to protect the harvesting of e-mail addresses
// by web crawlers.  Mostly, it is used to prevent e-mail addresses from
// being collected for "spam" purposes.
  
function mailto(kwcname,kwcdomain)
{
c = '<a href=\"mailto:' + kwcname + '@' + kwcdomain + '\">' + kwcname + '@' + kwcdomain + '</a>';
return c
}

