prova ad utilizzare la funzione Gets contenuta qui
http://forum.html.it/forum/showthrea...hreadid=655927

praticamente usi un ciclo..