
browser = navigator.appName;
version = parseInt(navigator.appVersion);

if (browser == "Netscape"  && version >= 3)
         {      var comp = "yes";       }
else
         {  var comp = "yes";   }

if (comp == "yes") {

pic1on = new Image();              
pic2on = new Image();
pic3on = new Image();
pic4on = new Image();
pic5on = new Image();
pic6on = new Image();
pic7on = new Image();
pic8on = new Image();

pic1off = new Image();                             
pic2off = new Image();                 
pic3off = new Image();                             
pic4off = new Image();                 
pic5off = new Image();
pic6off = new Image();
pic7off = new Image();
pic8off = new Image();
            
pic1on.src = "images/menu_01_on.gif";
pic2on.src = "images/menu_02_on.gif";
pic3on.src = "images/menu_03_on.gif";
pic4on.src = "images/menu_04TW_on.gif";
pic5on.src = "images/menu_04_on.gif";
pic6on.src = "images/menu_05_on.gif";
pic7on.src = "images/menu_06_on.gif";
pic8on.src = "images/menu_07_on.gif";

pic1off.src = "images/menu_01_of.gif";
pic2off.src = "images/menu_02_of.gif";
pic3off.src = "images/menu_03_of.gif";
pic4off.src = "images/menu_04TW_of.gif";
pic5off.src = "images/menu_04_of.gif";
pic6off.src = "images/menu_05_of.gif";
pic7off.src = "images/menu_06_of.gif";
pic8off.src = "images/menu_07_of.gif";


}
function on(imgName) {
        if (comp == "yes") {
                imgOn = eval(imgName + "on.src");
                document [imgName].src = imgOn;
        }
}

function off(imgName) {
        if (comp == "yes") {
        imgOff = eval(imgName + "off.src");
        document [imgName].src = imgOff;
        }
}