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/s-home-on.gif";
             s2on = new Image();
             s2on.src = "images/s-rooms-on.gif";
             s3on = new Image();
             s3on.src = "images/s-services-on.gif";
             s4on = new Image();
             s4on.src = "images/s-room-rates-on.gif";             
             s5on = new Image();
             s5on.src = "images/s-reservations-on.gif";
             s6on = new Image();
             s6on.src = "images/s-location-on.gif";
             s7on = new Image();
             s7on.src = "images/s-contact-on.gif";       
                                
             
             s1off = new Image();
             s1off.src = "images/s-home-off.gif";
             s2off = new Image();
             s2off.src = "images/s-rooms-off.gif";
             s3off = new Image();
             s3off.src = "images/s-services-off.gif";
             s4off = new Image();
             s4off.src = "images/s-room-rates-off.gif";             
             s5off = new Image();
             s5off.src = "images/s-reservations-off.gif";
             s6off = new Image();
             s6off.src = "images/s-location-off.gif";
             s7off = new Image();
             s7off.src = "images/s-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;
             }
     }