ValidaNum(document.strutture.elements["qta_" + i].value
attenzione che stai facendo 33 cicli con il for che hai scritto