/* * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
* *
* NAVIGATION MENU SCRIPT Bo Johansson 2000-07-17 *
* *
\* * * * * * * * * * * * * * * * * * * * * * * * * * * * */
if ( document.images )
{
buttonUpTop = new Image(94,3)
buttonUpTop.src = jsNavBase + "navbt/top_up2.gif"
buttonUpLeft = new Image(5,20)
buttonUpLeft.src = jsNavBase + "navbt/left_up2.gif"
buttonUpRight = new Image(5,20)
buttonUpRight.src = jsNavBase + "navbt/right_up2.gif"
buttonUpBot = new Image(94,3)
buttonUpBot.src = jsNavBase + "navbt/bot_up2.gif"
buttonDownTop = new Image(94,3)
buttonDownTop.src = jsNavBase + "navbt/top_dwn2.gif"
buttonDownLeft = new Image(5,20)
buttonDownLeft.src = jsNavBase + "navbt/left_dwn2.gif"
buttonDownRight = new Image(5,20)
buttonDownRight.src = jsNavBase + "navbt/right_dwn2.gif"
buttonDownBot = new Image(94,3)
buttonDownBot.src = jsNavBase + "navbt/bot_dwn2.gif"
buttonFlatTopBot = new Image(94,3)
buttonFlatTopBot.src = jsNavBase + "navbt/space3h_gr.gif"
buttonFlatSide = new Image(5,20)
buttonFlatSide.src = jsNavBase + "navbt/space5v_gr.gif"
}
function btUp(pix)
{
if ( document.images )
{
document[("btTop" + pix)].src=buttonUpTop.src
document[("btLft" + pix)].src=buttonUpLeft.src
document[("btRgt" + pix)].src=buttonUpRight.src
document[("btBot" + pix)].src=buttonUpBot.src
}
}
function btDown(pix)
{
if ( document.images )
{
document[("btTop" + pix)].src=buttonDownTop.src
document[("btLft" + pix)].src=buttonDownLeft.src
document[("btRgt" + pix)].src=buttonDownRight.src
document[("btBot" + pix)].src=buttonDownBot.src
}
}
function btFlat(pix)
{
if ( document.images )
{
document[("btTop" + pix)].src=buttonFlatTopBot.src
document[("btLft" + pix)].src=buttonFlatSide.src
document[("btRgt" + pix)].src=buttonFlatSide.src
document[("btBot" + pix)].src=buttonFlatTopBot.src
}
}
// ============= END OF NAVIGATION MENU SCRIPT ============
|