function changeFontSize(inc) {
    var p = document.getElementsByTagName('p');
    var li = document.getElementsByTagName('li');
    var td = document.getElementsByTagName('td');


    for (n = 0; n < p.length; n++) {
        if (p[n].style.fontSize) {
            var size = parseInt(p[n].style.fontSize.replace("px", ""));
        } else {
            var size = 12;
        }
        p[n].style.fontSize = size + inc + 'px';
    }
    for (n = 0; n < li.length; n++) {
        if (li[n].style.fontSize) {
            var size = parseInt(li[n].style.fontSize.replace("px", ""));
        } else {
            var size = 12;
        }
        li[n].style.fontSize = size + inc + 'px';
    }

    for (n = 0; n < td.length; n++) {
        if (td[n].style.fontSize) {
            var size = parseInt(td[n].style.fontSize.replace("px", ""));
        } else {
            var size = 12;
        }
        td[n].style.fontSize = size + inc + 'px';
    }
}

sfHover = function() {
    var sfEls = document.getElementById("MainNav").getElementsByTagName("li");
    for (var i = 0; i < sfEls.length; i++) {
        sfEls[i].onmouseover = function() {
            this.className += " iehover";
        }
        sfEls[i].onmouseout = function() {
            this.className = this.className.replace(new RegExp(" iehover\\b"), "");
        }
    }
}

if (window.attachEvent) window.attachEvent("onload", sfHover);

