//Set the tool tip message you want for each link here.

var tip=new Array
tip[0]="<img src='/protciv/imcom/legenda_green.gif'>"
tip[1]="<img src='/protciv/imcom/legenda_yellow.gif'>"
tip[2]="<img src='/protciv/imcom/legenda_orange.gif'>"
tip[3]="<img src='/protciv/imcom/legenda_red.gif'>"


function showtip(current,e,num){
  if (document.layers){	// Netscape 4.0+
    theString="<DIV>"+tip[num]+"</DIV>";
    document.tooltip.document.write(theString);
    document.tooltip.document.close();
    document.tooltip.visibility="show";
  }
  else {
    if(document.getElementById){	// Netscape 6.0+ and Internet Explorer 5.0+
      elm=document.getElementById("tooltip");
      elml=current;
      elm.innerHTML=tip[num];
      elm.style.visibility = "visible";
    }
  }
}


function hidetip(){
  if (document.layers){	 // Netscape 4.0+
    document.tooltip.visibility="hidden"
  }
  else {
    if(document.getElementById){	 // Netscape 6.0+ and Internet Explorer 5.0+
      document.getElementById("tooltip").style.visibility="hidden"
    }
  }
}


//funzione usata per il resize della finestra del browser Netscape 4.x

function MM_reloadPage(init){
  if (init==true) with (navigator) {
    if ((appName=="Netscape")&&(parseInt(appVersion)==4)){
      document.MM_pgW=innerWidth;
      document.MM_pgH=innerHeight;
      onresize=MM_reloadPage;
    }
  } else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH)
      location.reload();
}

MM_reloadPage(true)

