
function menu_over(e)
{
    var targ = getTarget(e);
    targ.style.backgroundColor = "#26648A";
    //targ.firstChild.style.color = "#000000";
}

function menu_out(e)
{
    var targ = getTarget(e);
    targ.style.backgroundColor = "";
    targ.firstChild.style.color = "";
}

function getTarget(e)
{
    var targ;
    if (!e) var e = window.event;
    if (e.target) targ = e.target;
    else if (e.srcElement) targ = e.srcElement;
    if (targ.nodeType == 3) // defeat Safari bug
       targ = targ.parentNode;
    while(targ && targ.tagName.toLowerCase() != "td")
        targ = targ.parentNode;

    return targ;
}

function preLoad(sImgs)
{
    img = new Image();
    img.src = sImgs;
}