// research.js


function getAppVersion() {
                appname= navigator.appName;
                appversion = navigator.appVersion;
                 majorver = appversion.substring(0, 1); 

							 if ( (appname == "Netscape") && ( majorver >= 3 ) ) return 1;
                if ( (appname == "Microsoft Internet Explorer") && (majorver >= 4) ) return 1;
        return 0;
}



if (getAppVersion()) {

toc1on = new Image();

toc1on.src = "../image/pulsanti/azyel.gif";

toc2on = new Image();

toc2on.src = "../image/pulsanti/ricyel.gif";

toc3on = new Image();

toc3on.src = "../image/pulsanti/impyel.gif";

toc4on = new Image();

toc4on.src = "../image/pulsanti/prodyel.gif";

toc5on = new Image();

toc5on.src = "../image/pulsanti/prodSC.gif";

toc6on = new Image();

toc6on.src = "../image/pulsanti/prodS1.gif";

toc7on = new Image();

toc7on.src = "../image/pulsanti/prodS2.gif";

toc8on = new Image();

toc8on.src = "../imagespulsanti/prodS3.gif";

toc9on = new Image();

toc9on.src = "../image/pulsanti/e-mailg.gif";


toc1off = new Image();

toc1off.src = "../image/pulsanti/azblu.gif";

toc2off = new Image();

toc2off.src = "../image/pulsanti/ricblu.gif";

toc3off = new Image();

toc3off.src = "../image/pulsanti/impblu.gif";

toc4off = new Image();

toc4off.src = "../image/pulsanti/prodblu.gif";

toc5off = new Image();

toc5off.src = "../image/pulsanti/prodCH.gif";

toc6off = new Image();

toc6off.src = "../image/pulsanti/prodC1.gif";

toc7off = new Image();

toc7off.src = "../image/pulsanti/prodC2.gif";

toc8off = new Image();

toc8off.src = "../image/pulsanti/prodC3.gif";

toc9off = new Image();

toc9off.src = "../image/pulsanti/e-mailb.gif";


}

 function img_act(imgName) {

                     if (getAppVersion()){

             imgOn = eval(imgName + "on.src");

             document [imgName].src = imgOn;

                         }
}



  function img_inact(imgName) {

                 if (getAppVersion()) {

             imgOff = eval(imgName + "off.src");

             document [imgName].src = imgOff;

                         }

}


// -->

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
