     bName = navigator.appName;
     bVer = parseInt(navigator.appVersion); 

             if  ((bName == "Netscape" && bVer >= 3) || (bName == "Microsoft Internet Explorer" && bVer >= 4)) ver = "good";
             else ver = "bad"; 
      

             if (ver == "good") {
             b1on = new Image();
             b1on.src = "/b1on.gif";
             b2on = new Image();
             b2on.src = "/b2on.gif";
             b3on = new Image();
             b3on.src = "/b3on.gif";
             b4on = new Image();
             b4on.src = "/b4on.gif";
             b5on = new Image();
             b5on.src = "/b5on.gif";
             
             b1off = new Image();
             b1off.src = "/b1off.gif";
             b2off = new Image();
             b2off.src = "/b2off.gif";
             b3off = new Image();
             b3off.src = "/b3off.gif";
             b4off = new Image();
             b4off.src = "/b4off.gif";
             b5off = new Image();
             b5off.src = "/b5off.gif";

           
             }

      function img_act(imgName) {

             if (ver == "good") {
             imgOn = eval(imgName + "on.src");
             document[imgName].src = imgOn;
            

             }
      }


      function img_inact(imgName) {

             if (ver == "good") {
             imgOff = eval(imgName + "off.src");
             document[imgName].src = imgOff;
            
             }
    }

      function img_act1(imgName) {

             if (ver == "good") {
             imgOn = eval(imgName + "on.src");
             document[imgName].src = imgOn;


             }
      }


      function img_inact1(imgName) {

             if (ver == "good") {
             imgOff = eval(imgName + "off.src");
             document[imgName].src = imgOff;

             }
    }



   function popup(id, contentsURL, winName, winProps, width, height) {
     if (!winName) var winName = "_blank"
     if (!winProps) var winProps = "menubar=0,toolbar=0,resizable=0,location=0,status=0,scrollbars=1"
     if (!width) var w = 600
     else w = screen.width * width;
     if (!height) var h = 400
     else h = screen.height * height;

     var x = 40; y = 80
     var args = "width=" + w + ",height=" + h
      + "," + winProps
      + ",screenx=" + x + ",screeny=" + y
      + ",left=" + x + ",top=" + y
    var go_to = contentsURL + id;
    window.open(go_to, winName, args)
    }
    
   

    function popup_d(id, contentsURL, winName, winProps, width, height) {
     if (!winName) var winName = "_blank"
     if (!winProps) var winProps = "menubar=0,toolbar=0,resizable=0,location=0,status=0,scrollbars=0"
     if (!width) var w = 600
     else w = width;      
     if (!height) var h = 400
     else h = height  

     var x = 40; y = 80
     var args = "width=" + w + ",height=" + h
      + "," + winProps
      + ",screenx=" + x + ",screeny=" + y
      + ",left=" + x + ",top=" + y
    var go_to = contentsURL + id;
    window.open(go_to, winName, args)
    }
    




   