/*script per i tooltip*/

window.onload=enableTooltips;

function enableTooltips() {
var links=document.getElementsByTagName("font");
for(i=0;i<links.length;i++){
    t=links[i].getAttribute("title");
    if(t != null && t != undefined && t != ""){
        links[i].removeAttribute("title");
        links[i].style.position="relative";
        tooltip=document.createElement("em");
        tooltip.className="tooltip";
        tooltip.style.display="none";
        tooltip.appendChild(document.createTextNode(t));
        links[i].appendChild(tooltip);
        links[i].onmouseover=showTooltip;
        links[i].onmouseout=hideTooltip;
        links[i].style.cursor="default";
        }
    }
}

function showTooltip(event) {
    this.style.zIndex="25";
    this.getElementsByTagName("em")[0].style.display="block";
}

function hideTooltip(event) {
    this.style.zIndex="24";
    this.getElementsByTagName("em")[0].style.display="none";
}