    app = navigator.appName;
    ver = navigator.appVersion;
    mac = ver.indexOf("Macintosh") > 0;
    win = ver.indexOf("Win") > 0;
    vnum = parseFloat(ver);

    canSupport = (((app == "Netscape") && (vnum >= 3 )) ||
        ((mac) && (app == "Microsoft Internet Explorer") && (vnum >= 3.01 )) ||
        ((win) && (app == "Microsoft Internet Explorer") && (vnum >= 4 ))) 

    if (canSupport) {
      window.defaultStatus="";
  

        toc1on = new Image();
    toc1on.src = "y.gif";
        toc2on = new Image();
    toc2on.src = "y.gif";
        toc3on = new Image();
    toc3on.src = "y.gif";
        toc4on = new Image();
    toc4on.src = "y.gif";
        toc5on = new Image();
    toc5on.src = "y.gif";    
        toc6on = new Image();
    toc6on.src = "y.gif";
        toc7on = new Image();
    toc7on.src = "y.gif";
        toc8on = new Image();
    toc8on.src = "y.gif";
        toc9on = new Image();
    toc9on.src = "y.gif";
        toc10on = new Image();
    toc10on.src = "y.gif";

        toc1off = new Image();
    toc1off.src = "x.gif";
        toc2off = new Image();
    toc2off.src = "x.gif";
        toc3off = new Image();
    toc3off.src = "x.gif";
        toc4off = new Image();
    toc4off.src = "x.gif";
        toc5off = new Image();
    toc5off.src = "x.gif";
        toc6off = new Image();
    toc6off.src = "x.gif";
        toc7off = new Image();
    toc7off.src = "x.gif";
        toc8off = new Image();
    toc8off.src = "x.gif";
        toc9off = new Image();
    toc9off.src = "x.gif";
        toc10off = new Image();
    toc10off.src = "x.gif";

   }


   function img_act(imgName) {
      if (canSupport) {
         imgOn = eval(imgName + "on.src");
         document[imgName].src = imgOn;
      }
   }


   function img_inact(imgName) {
      if (canSupport) {
         imgOff = eval(imgName + "off.src");
         document[imgName].src = imgOff;
      }
   }