no
nome = document.getElementById("Figura1").id
risultato = Figura1
cioè l'ID che ho già