// JavaScript Document

// Syntax: mailto(bcname,bcdomain)
//    bcname = E-Mail Address without "@" and Domain
//    bcdomain = 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(bcname,bcdomain)
{
c = '<a href=\"mailto:' + bcname + '@' + bcdomain + '\">' + bcname + '@' + bcdomain + '</a>';
return c
}
