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 = "/image/m1v_on.gif";
             m2on = new Image();
             m2on.src = "/image/m2v_on.gif";
             m3on = new Image();
             m3on.src = "/image/m3v_on.gif";
             m4on = new Image();
             m4on.src = "/image/m4v_on.gif";
             m5on = new Image();
             m5on.src = "/image/m5v_on.gif";
             m6on = new Image();
             m6on.src = "/image/m6v_on.gif";
             m6von = new Image();
             m6von.src = "/image/m6v_on.gif";
             m1off = new Image();
             m1off.src = "/image/m1v_off.gif";
             m2off = new Image();
             m2off.src = "/image/m2v_off.gif";
             m3off = new Image();
             m3off.src = "/image/m3v_off.gif";
             m4off = new Image();
             m4off.src = "/image/m4v_off.gif";
			 m5off = new Image();
             m5off.src = "/image/m5v_off.gif";
			 m6off = new Image();
             m6off.src = "/image/m6v_off.gif";
			 m6voff = new Image();
             m6voff.src = "/image/m6v_off.gif";
             o1on = new Image();
             o1on.src = "/image/o1on.gif";
             o2on = new Image();
             o2on.src = "/image/o2on.gif";
             o3on = new Image();
             o3on.src = "/image/o3on.gif";
             o4on = new Image();
             o4on.src = "/image/o4on.gif";
             o5on = new Image();
             o5on.src = "/image/o5on.gif";
             o1off = new Image();
             o1off.src = "/image/o1.gif";
             o2off = new Image();
             o2off.src = "/image/o2.gif";
             o3off = new Image();
             o3off.src = "/image/o3.gif";
             o4off = new Image();
             o4off.src = "/image/o4.gif";
			 o5off = new Image();
             o5off.src = "/image/o5.gif";
			 offernum1on = new Image();
             offernum1on.src = "/image/offer1.jpg";
             offernum2on = new Image();
             offernum2on.src = "/image/offer2.jpg";
             }

     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 = 0; y = 0
     var args = "width=" + w + ",height=" + h
      + "," + winProps
      + ",screenx=" + x + ",screeny=" + y
      + ",left=" + x + ",top=" + y
     window.open(contentsURL, winName, args)
    }

