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") {

             m1on = new Image();
             m1on.src = "/images/m1_on.gif";
             m2on = new Image();
             m2on.src = "/images/m2_on.gif";
             m3on = new Image();
             m3on.src = "/images/m3_on.gif";
             m4on = new Image();
             m4on.src = "/images/m4_on.gif";
             m5on = new Image();
             m5on.src = "/images/m5_on.gif";

             m1off = new Image();
             m1off.src = "/images/m1.gif";
             m2off = new Image();
             m2off.src = "/images/m2.gif";
             m3off = new Image();
             m3off.src = "/images/m3.gif";
             m4off = new Image();
             m4off.src = "/images/m4.gif";
	     m5off = new Image();
             m5off.src = "/images/m5.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 popup(contentsURL, winName, winProps, width, height) {
     if (!winName) var winName = "_blank"
     if (!winProps) var winProps = "menubar=1,toolbar=0,resizable=0,location=0,status=0,scrollbars=1"
     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
     window.open(contentsURL, winName, args)
    }


