//if (top != self) top.location.href = location.href;
var starbarDelay = 100;
var starbarTimerOuvrir = null;
var starbarTimerFermer = null;
function starbarOuvrirMenu(_v)
{
    if (_v)
    {
        starbarTimerOuvrir = setTimeout('starbarMontrerMenu()', starbarDelay);
    }
    else
    {
        if (starbarTimerOuvrir)
        {
            clearTimeout(starbarTimerOuvrir);
            starbarTimerOuvrir=null;
        }
    }
}
function starbarFermerMenu(_v)
{
    if (_v)
    {
        starbarTimerFermer = setTimeout('starbarCacherMenu()', starbarDelay);
    }
    else
    {
        if (starbarTimerFermer)
        {
            clearTimeout(starbarTimerFermer);
            starbarTimerFermer=null;
        }
    }
}
function starbarMontrerMenu()
{
    if (document.getElementById)
    {
        var style2 = document.getElementById('starbarNavigation').style;
        style2.display = 'block';
        var tdStyle = document.getElementById('starbarMenuTd').style;
        tdStyle.backgroundPosition = 'right bottom';
    }
}
function starbarCacherMenu()
{
    if (document.getElementById)
    {
        var style2 = document.getElementById('starbarNavigation').style;
        style2.display = 'none';
        var tdStyle = document.getElementById('starbarMenuTd').style;
        tdStyle.backgroundPosition = 'right top';
    }
}
function starbarToogleButton(o)
{
    var style = o.style;
    style.backgroundPosition = (style.backgroundPosition == 'right top') ? 'right bottom' : 'right top';
}

