document.getElementById('tasto').onclick=function( ){msg('ciao')};