http://javascript.html.it/articoli/l...ggetto-math/3/