function m2(strFriendly, strName, strHost)
{
   return m2custom(strFriendly, strName, strHost, '')
}  // m2
function m2custom(strFriendly, strName, strHost, strCustom)
{
   if (strFriendly == '')
      strFriendly = strName + String.fromCharCode(64) + strHost

   strFriendly = strFriendly.replace(/#/g, '@')

   return '<a href="mai' + 'lto' + ':' + strName + 
      String.fromCharCode(64) + strHost + '" ' +
      strCustom + '>' + strFriendly + '</a>'
}  // m2custom