document.getElementById("risultato").innerHTML=msg ;