Sto provando a fare un codice che prende il valore contenuto in un file .txt remoto e lo stampa. Questo valore stampato dev'essere però ricontrollato e aggiornato ogni tot.à
Io sono arrivato qui, ma non funziona l'aggiornamento, cioè se io cambio il valore nel .txt lo script non lo aggiorna. Dove sbaglio?

codice:
<script>
var lines;
function DoInit() {
    
	
	if (window.XMLHttpRequest)
	{// code for IE7+
		xmlhttp=new XMLHttpRequest();
	}
	else
	{// code for IE6, IE5
		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	}
	xmlhttp.open("GET","http://vittoriotorri.altervista.org/fileLocale.txt",false);
	xmlhttp.send();
	xmlDoc=xmlhttp.responseXML;
	lines = xmlhttp.responseText.split("\n");
	return lines;
	
}

function Ripetuta(){
	setInterval("DoInit()", 20000);
	return DoInit();
}
var stringa=Ripetuta();
</script>

<body>
<script type="text/javascript">
document.write(stringa);
</script>
</body>