    function SetText(iObj, iFlen, iElen){
        var iDiv = document.getElementById(iObj);
        var iNav = navigator.userAgent.toLowerCase();
        if(iNav.indexOf("firefox") == -1 && iNav.indexOf("opera") == -1 && iNav.indexOf("netscape") == -1){
            //alert('ie, safari, altro');
            if(iDiv.innerText.length>iElen){
                iDiv.innerText = iDiv.innerText.substring(0,iElen) + "..."
            }
        }else{
            //alert('firefox, netscape, opera');
            if(iDiv.textContent.length>iFlen){
                iDiv.textContent = iDiv.textContent.substring(0,iFlen) + "..."
            }
        }
    }
    
    
    /*function PulisciHtml(html) {
        var htmlDIV = document.createElement(”DIV”);
        htmlDIV.innerHTML = html;
        if (htmlDIV.innerText) {
            return htmlDIV.innerText; // Internet Explorer
        }
        return htmlDIV.textContent; // Mozilla Firefox
    }*/
