
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
        version = "old";
        if (browserName == "Netscape" && browserVer >=3)
                version = "new";
        if (browserName == "Microsoft Internet Explorer" && browserVer >=4)
         version = "new";
        if (version == "new")         {
        toc1on = new Image(20, 16);
        toc1on.src = "buttonon.jpg";
        toc2on = new Image(20, 16);
        toc2on.src = "buttonon.jpg";
        toc1off = new Image(20, 16);
        toc1off.src = "buttonoff.jpg";
        toc2off = new Image(20, 16);
        toc2off.src = "buttonoff.jpg";
        toc3on = new Image(20, 16);
        toc3on.src = "buttonon.jpg";
        toc4on = new Image(20, 16);
        toc4on.src = "buttonon.jpg";
        toc3off = new Image(20, 16);
        toc3off.src = "buttonoff.jpg";
        toc4off = new Image(20, 16);
        toc4off.src = "buttonoff.jpg";
        toc5on = new Image(20, 16);
        toc5on.src = "buttonon.jpg";
        toc6on = new Image(20, 16);
        toc6on.src = "buttonon.jpg";
        toc5off = new Image(20, 16);
        toc5off.src = "buttonoff.jpg";
        toc6off = new Image(20, 16);
        toc6off.src = "buttonoff.jpg";
        toc7on = new Image(20, 16);
        toc7on.src = "buttonon.jpg";
        toc8on = new Image(20, 16);
        toc8on.src = "buttonon.jpg";
        toc7off = new Image(20, 16);
        toc7off.src = "buttonoff.jpg";
        toc8off = new Image(20, 16);
        toc8off.src = "buttonoff.jpg";
        }

function img_act(imgName) {
        if (version == "new") {
        imgOn = eval(imgName + "on.src");
        document [imgName].src = imgOn;
        }
}

function img_inact(imgName) {
        if (version == "new") {
        imgOff = eval(imgName + "off.src");
        document [imgName].src = imgOff;
        }
}

