<!--
//tweakmenubar.js
//hover: updates the background position on the left neighbor so the interlock bit is lt blue
//active: ditto except interlock bit is yellow

function tweakneighbor(me,action) {
        //alert(neighborid);
        //the second position from the top is the hover

    neighborid=me.getAttribute("neighbor");
        if (action == 'hover') {
            document.getElementById(neighborid).style.backgroundPosition = "0 -114px";
        } else if (action == 'active') {
            document.getElementById(neighborid).style.backgroundPosition  = "0 -152px";
        } else { //normal
            document.getElementById(neighborid).style.backgroundPosition = "0 0px";
    }

}

function tweakme(me,action,isact)  {

        if (action == 'hover') {
            me.style.backgroundPosition = "0 -38px";
            me.getElementsByTagName('SPAN')[0].style.color="#fe8646";
        } else if (action == 'active') {
            me.style.backgroundPosition  = "0 -76px";
            me.getElementsByTagName('SPAN')[0].style.color="#002e7b";
        } else { //normal
            me.style.backgroundPosition = "0 0px"; 
            if (isact == 1) {
                me.getElementsByTagName('SPAN')[0].style.color="#002e7b";
            } else {
                me.getElementsByTagName('SPAN')[0].style.color="#fdd534";
            }
    }

}



//-->
