ns4 = (document.layers)? true:false ; ie4 = (document.all)? true:false ; // Show Hide functions for non-pointer layer/objects function show(id) { if (ns4) document.layers[id].visibility = "show" else if (ie4) document.all[id].style.visibility = "visible" } function hide(id) { if (ns4) document.layers[id].visibility = "hide" else if (ie4) document.all[id].style.visibility = "hidden" } if (document.images) { img1on = new Image(); img1on.src = "../images/onlk1.gif"; img2on = new Image(); img2on.src = "../images/onlk2.gif"; img3on = new Image(); img3on.src = "../images/onlk3.gif"; img4on = new Image(); img4on.src = "../images/onlk4.gif"; img5on = new Image(); img5on.src = "../images/onlk5.gif"; img6on = new Image(); img6on.src = "../images/offlk6.gif"; img7on = new Image(); img7on.src = "../images/onlk7.gif"; img8on = new Image(); img8on.src = "../images/onlk8.gif"; img9on = new Image(); img9on.src = "../images/onlk9.gif"; img10on = new Image(); img10on.src = "../images/onlk10.gif"; img11on = new Image(); img11on.src = "../images/onlk11.gif"; img12on = new Image(); img12on.src = "../images/offlk12.gif"; img13on = new Image(); img13on.src = "../images/white.gif"; img1off = new Image(); img1off.src = "../images/offlk1.gif"; img2off = new Image(); img2off.src = "../images/offlk2.gif"; img3off = new Image(); img3off.src = "../images/onlk3.gif"; img4off = new Image(); img4off.src = "../images/offlk4.gif"; img5off = new Image(); img5off.src = "../images/offlk5.gif"; img6off = new Image(); img6off.src = "../images/offlk6.gif"; img7off = new Image(); img7off.src = "../images/offlk7.gif"; img8off = new Image(); img8off.src = "../images/offlk8.gif"; img9off = new Image(); img9off.src = "../images/offlk9.gif"; img10off = new Image(); img10off.src = "../images/offlk10.gif"; img11off = new Image(); img11off.src = "../images/offlk11.gif"; img12off = new Image(); img12off.src = "../images/offlk12.gif"; img13off = new Image(); img13off.src = "../images/white.gif"; } function allinAct() { if (document.images) { for(i=1; i<14; i++) { document["img" + i].src = eval("img" + i + "off.src"); } for(i=1; i<14; i++) { document["img" + i].src = eval("img" + i + "off.src"); } } } function allhide() { allinAct(); hide('L1'); hide('L2'); hide('L3'); hide('L4'); hide('L5'); hide('L6'); hide('L7'); hide('L8'); hide('L9'); hide('L10'); hide('L11'); hide('L12'); hide('L13'); } function imgAct(imgName) { if (imgName>0) allhide(); allinAct(); if (document.images) { document["img" + imgName].src = eval("img" + imgName + "on.src"); if (imgName>0) { if (ns4) document.layers["L" + imgName].visibility = "show" else if (ie4) document.all["L" + imgName].style.visibility = "visible"; } } } // function imgInact(imgName) { // if (document.images) { // document["img" + imgName].src = eval("img" + imgName + "off.src"); // } //}