function mail(username, hostname)
{
   if(username != "" && hostname != "")
   {
      var text = username + "@" + hostname;
      document.write("<a href=" + "mail" + "to" + ":" + username + "@" + hostname + ">" + text + "</a>");
   }
}
