﻿/* Do OnLoad  ------------------------------------------------- */
/* Menu Fixes  ------------------------------------------------- */

menuHover = function () {
    var menuLI = document.getElementById("menu").getElementsByTagName("li");
    for (var i = 0; i < menuLI.length; i++) {
        menuLI[i].onmouseover = function () { this.className += " over"; }
        menuLI[i].onmouseout = function () { this.className = this.className.replace(new RegExp(" over\\b"), ""); }
    }
}

function deferredJS() {}

function doOL() {menuHover(); deferredJS(); }

if (window.attachEvent) window.attachEvent("onload", doOL);
else if (window.addEventListener) window.addEventListener("load", doOL, false);
else if (window.onload) window.onload = doOL();