Grazie Andrea, ho fatto tutto quello che mi hai detto tranne il punto D, dovrei sostituire i parentNode con GetElementById ? Come deve fare?