browserName = navigator.appName;
     browserVer = parseInt(navigator.appVersion);
             if (browserName == "Netscape", "Microsoft Internet Explorer" && browserVer >= 3) version = "n3";
             else version = "n2";
             
             if (version == "n3") {
             s1on = new Image();
             s1on.src = "../images/m-home-on.gif";
             s2on = new Image();
             s2on.src = "../images/m-history-on.gif";
             s3on = new Image();
             s3on.src = "../images/m-news-on.gif";
             s4on = new Image();
             s4on.src = "../images/m-menu-on.gif";
             s5on = new Image();
             s5on.src = "../images/m-branches-on.gif"; 
             s6on = new Image();
             s6on.src = "../images/m-franchise-on.gif";
			 s7on = new Image();
             s7on.src = "../images/m-catering-on.gif"; 
			 s8on = new Image();
             s8on.src = "../images/m-join-on.gif"; 
			 s9on = new Image();
             s9on.src = "../images/m-contact-on.gif"; 
		 
		     s1off = new Image();
             s1off.src = "../images/m-home-off.gif";
             s2off = new Image();
             s2off.src = "../images/m-history-off.gif";
             s3off = new Image();
             s3off.src = "../images/m-news-off.gif";
             s4off = new Image();
             s4off.src = "../images/m-menu-off.gif";
             s5off = new Image();
             s5off.src = "../images/m-branches-off.gif"; 
             s6off = new Image();
             s6off.src = "../images/m-franchise-off.gif";
			 s7off = new Image();
             s7off.src = "../images/m-catering-off.gif"; 
			 s8off = new Image();
             s8off.src = "../images/m-join-off.gif"; 
			 s9off = new Image();
             s9off.src = "../images/m-contact-off.gif";  
                   
             }

     function img_act(imgName) {
             if (version == "n3") {
             imgOn = eval(imgName + "on.src");
             document [imgName].src = imgOn;
             }
     }

     function img_inact(imgName) {
             if (version == "n3") {
             imgOff = eval(imgName + "off.src");
             document [imgName].src = imgOff;
             }
     }