
bVer =parseInt(navigator.appVersion);
bName=navigator.appName;
if (bVer >=3 && bName=="Netscape") gSupport=1;
else if (bVer >=4) gSupport=1;
else gSupport=0;
if (gSupport==1)
  {  img1 = new Image();
	  img1.src = "/img/portada/menu1.gif";
	  img1a = new Image();
	  img1a.src = "/img/portada/menu1_up.gif";

	  img2 = new Image();
	  img2.src = "/img/portada/menu2.gif";
	  img2a = new Image();
	  img2a.src = "/img/portada/menu2_up.gif";

	  img3 = new Image();
	  img3.src = "/img/portada/menu3.gif";
	  img3a = new Image();
	  img3a.src = "/img/portada/menu3_up.gif";

	  img4 = new Image();
	  img4.src = "/img/portada/menu4.gif";
	  img4a = new Image();
	  img4a.src = "/img/portada/menu4_up.gif";

	  img5 = new Image();
	  img5.src = "/img/portada/menu5.gif";
	  img5a = new Image();
	  img5a.src = "/img/portada/menu5_up.gif";

	  img6 = new Image();
	  img6.src = "/img/portada/menu6.gif";
	  img6a = new Image();
	  img6a.src = "/img/portada/menu6_up.gif";

          menuinf1 = new Image();
          menuinf1.src = "/img/menu_inferior/actinstitucionals.gif";
          menuinf1a = new Image();
          menuinf1a.src = "/img/menu_inferior/actinstitucionals.gif";

          menuinf2 = new Image();
          menuinf2.src = "/img/menu_inferior/infocorpo.gif";
          menuinf2a = new Image();
          menuinf2a.src = "/img/menu_inferior/infocorpo.gif";

          menuinf3 = new Image();
          menuinf3.src = "/img/menu_inferior/promocom.gif";
          menuinf3a = new Image();
          menuinf3a.src = "/img/menu_inferior/promocom.gif";

          menuinf4 = new Image();
          menuinf4.src = "/img/menu_inferior/serveis_online.gif";
          menuinf4a = new Image();
          menuinf4a.src = "/img/menu_inferior/serveis_online.gif";

	  }

function rollover(iName)
		{
		if (gSupport==1)
		         {
				 thename = eval(iName + "a.src");
				 document[iName].src = thename;
                }
        }
function rolloff(iName)
		{
        if (gSupport==1)
                {
                thename = eval(iName + ".src");
                document[iName].src = thename;
                }
        }

