startList = function() {
    if (document.all&&document.getElementById) {
        navRoot = document.getElementById("navigation-menu");
        for (i=0; i<navRoot.childNodes.length; i++) {
            node = navRoot.childNodes[i];
            if (node.nodeName=="LI") {
                node.onmouseover=function() {
                    this.className+=" over";
                }
                node.onmouseout=function() {
                    this.className=this.className.replace(" over", "");
                }
            }
        }
    }
}
window.onload=startList;

function rand ( n ) {
    return ( Math.floor ( Math.random ( ) * n + 1 ) );
}
/*
choose from these:
- hosting-partners-pair
- hosting-partners-livingdot
- hosting-partners-nexcess
which one is getting highlighted
*/
var host_list = new Array();
host_list[0] = "hosting-partners-pair";
host_list[1] = "hosting-partners-livingdot";
host_list[2] = "hosting-partners-nexcess";

/* var highlight = "hosting-partners-nexcess"; */
var highlight = host_list[rand(host_list.length)-1];

function hosts() {
    if (document.getElementById('hosting-partners')) {
        var hosts = document.getElementById('hosting-partners');
        var host_on = document.getElementById(highlight);
        hosts.insertBefore(host_on, hosts.childNodes[0])
        host_on.className = host_on.className + ' on';
    }
}
