// eMail Reconstructor Script 1.0 by Tim Williams - freeware
// get the host and path names from the current URL
    var host = "arrl.net"
    var path = location.pathname
// if host begins with www. remove the www.
    var domain = host.replace(/www./i,"");
// find the ~ and you find the username
    var username = "kb2egi"
    document.write ("<a href='mail" + "to:" + username + "@" + domain + "'>" + username + "@" + domain+ "</a>");
  