
browserName = navigator.appName;
           browserVer = parseInt(navigator.appVersion);
               if ((browserName == "Netscape" && browserVer >= 3)
                  || (browserName == "Microsoft Internet Explorer" && browserVer >= 4) )
              var version = "n3";
               else version="n2";
               
editoriale_off= new Image;
editoriale_off.src="images/editoriale_off.gif";
editoriale_on= new Image;
editoriale_on.src="images/editoriale_on.gif";
programma_off= new Image;
programma_off.src="images/programma_off.gif";
programma_on= new Image;
programma_on.src="images/programma_on.gif";
biglietti_off= new Image;
biglietti_off.src="images/biglietti_off.gif";
biglietti_on= new Image;
biglietti_on.src="images/biglietti_on.gif";
dove_off= new Image;
dove_off.src="images/dove_off.gif";
dove_on= new Image;
dove_on.src="images/dove_on.gif";
stands_off= new Image;
stands_off.src="images/stands_off.gif";
stands_on= new Image;
stands_on.src="images/stands_on.gif";
team_off= new Image;
team_off.src="images/team_off.gif";
team_on= new Image;
team_on.src="images/team_on.gif";
fiere_off= new Image;
fiere_off.src="images/fiere_off.gif";
fiere_on= new Image;
fiere_on.src="images/fiere_on.gif";
aziende_off= new Image;
aziende_off.src="images/aziende_off.gif";
aziende_on= new Image;
aziende_on.src="images/aziende_on.gif";
testimonial_off= new Image;
testimonial_off.src="images/testimonial_off.gif";
testimonial_on= new Image;
testimonial_on.src="images/testimonial_on.gif";
shopping_off= new Image;
shopping_off.src="images/shopping_off.gif";
shopping_on= new Image;
shopping_on.src="images/shopping_on.gif";
touring_off= new Image;
touring_off.src="images/touring_off.gif";
touring_on= new Image;
touring_on.src="images/touring_on.gif";
vetrine_off= new Image;
vetrine_off.src="images/vetrine_off.gif";
vetrine_on= new Image;
vetrine_on.src="images/vetrine_on.gif";
community_off= new Image;
community_off.src="images/community_off.gif";
community_on= new Image;
community_on.src="images/community_on.gif";
home_off= new Image;
home_off.src="images/home_off.gif";
home_on= new Image;
home_on.src="images/home_on.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;
        }
        }
