
var oldcolor

function setColor(curElement)
{
    if(curElement.rowIndex > 0 && curElement.rowIndex != sTable.rows.length - 1)
    {
        curElement.style.backgroundColor = "#FBF4A9";
        curElement.style.color = "#000088";
    }
}

function resetColor(curElement)
{
    if(curElement.rowIndex > 0 && curElement.rowIndex != sTable.rows.length - 1)
    {
        if(curElement.rowIndex % 2 == 0)
        {
            curElement.style.backgroundColor = "#F3F9FF";
        }
        else
        {
            curElement.style.backgroundColor = "#FFFFFF";
        }
    }
    
    curElement.style.color = "";
}

document.writeln('<div id="onmouse" style="display:none" onmouseover="setColor(this)" onmouseout="resetColor(this)"></div>');
var sTable = document.getElementById("tbList");

if (sTable)
    for (var i = 0; i < sTable.rows.length; i++)
    {
        if(i > 0 && i != sTable.rows.length - 1)
        {
            if(i % 2 == 0)
            {
                sTable.rows[i].style.backgroundColor = "#F3F9FF";
            }
            else
            {
                sTable.rows[i].style.backgroundColor = "#FFFFFF";
            }
        }
        
        sTable.rows[i].onmouseover = document.all.onmouse.onmouseover;
        sTable.rows[i].onmouseout = document.all.onmouse.onmouseout;
    }
