//              *****  Rideout Home Page Scripts  *****

//  When mouse is over the hyperlinks in the tabs at the top of the page,
//  the text is italicized and a popup presents more detail.
function over(el, ev)
{
    el.style.fontStyle = "italic";
    chd = el.parentNode.getElementsByTagName("div");
    if (chd.length > 0)
        {
        det = chd.item(0);
        det.style.top = ev.clientY + 20;
        det.style.left = Math.floor((ev.clientX - 10) / 100.0) * 100 + 8;
        det.style.visibility = "visible";
        }

}

function notover(el, ev)
{

    el.style.fontStyle = "normal";
    chd = el.parentNode.getElementsByTagName("div");
    if (chd.length > 0)
        {
        det = chd.item(0);
        det.style.visibility = "hidden";
        }
}


//  Hypelinks that target a new window call this to ensure
//  the target window receives the focus
function RaiseNewWindow(el)
{

    wn = window.open("", el.target);
    wn.focus();
    return true;
}

