// JavaScript Document

// eMail Reconstructor Script 1.0 by Tim Williams - freeware
// get the host and path names from the current URL
    var host = location.hostname
    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 = path.substring(path.indexOf("~")+1,path.indexOf("/",path.indexOf("~")));
    document.write ("<a href='mailto:" + username + "@" + domain + "' class="email_hack>" + username + "@" + domain+ "</a>");
