if (typeof document.attachEvent != 'undefined')
    window.attachEvent('onload', init);
else
    window.addEventListener('load', init, false);

function init()
{
    setMenuRollOvers();
}

function setMenuRollOvers()
{
    if (menuTblObj = document.getElementById('tblMenu'))
    {
        var rows = menuTblObj.rows;
        var cols;

        for (var i=0; i<rows.length; i++) {
            cols = menuTblObj.rows[i].cells;
            for (var t=1; t<cols.length; t++) {
                if (cols[t].innerHTML != "")
                {
                    cols[t].ID = "navItem" + t;
                    cols[t].style.cursor = "hand";
                    cols[t].style.cursor = "pointer";
                    if (t != (menuPos+1))
                    {
                        cols[t].onmouseover = function() { this.bgColor = "#CC9900"; }
                        cols[t].onmouseout = function() { this.bgColor = "black"; }
                    }
                    else
                        cols[t].bgColor = "#CC9900";
                }
            }
        }
    }
}