function mangle() {
    if (!document.getElementsByTagName && !document.createElement && !document.createTextNode) return;
    var nodes = document.getElementsByTagName("span");
    for(var i=nodes.length-1;i>=0;i--) {
        if (nodes[i].className=="change") {
            var at = / at /;
            var dot = / dot /g;
            var node = document.createElement("a");
            var address = nodes[i].firstChild.nodeValue;

            address = address.replace(at, "@");
            address = address.replace(dot, ".");

            address = address.replace(at, "@");
            address = address.replace(dot, ".");
            node.setAttribute("href", "mailto:"+address);
            node.appendChild(document.createTextNode(address));

            var prnt = nodes[i].parentNode;
            for(var j=0;j < prnt.childNodes.length;j++)
                if (prnt.childNodes[j] == nodes[i]) {
                    if (!prnt.replaceChild) return;
                    prnt.replaceChild(node, prnt.childNodes[j]);
                    break;
                }
        }
    }
}
<!-- Active players info -->
var xmlhttp;
function loadXMLDoc() {
    xmlhttp=null
    // code for Mozilla, etc.
    if (window.XMLHttpRequest) {
        xmlhttp=new XMLHttpRequest()
    }
    // code for IE
    else if (window.ActiveXObject) {
        xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
    if (xmlhttp!=null) {
        xmlhttp.onreadystatechange=onResponse;
        xmlhttp.open("GET","/networkinfo.xml",true);
        xmlhttp.send(null);
    }
    else {
        alert("Your browser does not support XMLHTTP.")
    }
}
function checkReadyState(obj) {
        if(obj.readyState == 4) {
            if(obj.status == 200) {
                return true;
            }
        return false;
    }
    return false;
}
function onResponse() {
    if(checkReadyState(xmlhttp)) {
        //check for DOM compliance
        if (!document.getElementsByTagName || !document.createElement || !document.createTextNode || !document.getElementById) return false;
        //get xml
        var response = xmlhttp.responseXML.documentElement;
        //assign text values of relevant tags to relevant variables
        x1=response.getElementsByTagName("onlineplayers");
        txt1 = x1[0].firstChild.data;
        x2=response.getElementsByTagName("totalactivetables");
        txt2 = x2[0].firstChild.data;
        //create elements structure to display xml data
        var players = document.getElementById('players');
        var tables = document.getElementById('tables');
        //appending stuff
        players.childNodes[0].nodeValue=txt1;
        tables.childNodes[0].nodeValue=txt2;
    }
}
<!-- // Active players info -->
hoverlist = function() {
    if (document.all&&document.getElementById) {
        navRoot = document.getElementById("mainmenu");
        for (i=0; i<navRoot.childNodes.length; i++) {
            node = navRoot.childNodes[i];
            if (node.nodeName=="LI") {
                node.onmouseover=function() {
                    this.className+=" hover";
            	}
                node.onmouseout=function() {
                    this.className=this.className.replace(" hover", "");
                }
            }
        }
    }
}