// questo script scrive nel documento corrente la popolazione attuale in Italiavar dataInizialePPL = new Date();var p1 = 58751711.0var p2 = 59131287.0var perc_crescita = (p2 - p1) / p1 *100;var crescita_sec = (p1 * (perc_crescita/100))/365.0/24.0/60.0/60.0;var nu = new Date ();var schulddataInizialePPL = new Date (2005,12,31);var pop_totale = (nu.getTime() - schulddataInizialePPL.getTime())/1000*crescita_sec + p1;var str_num ="";var j=0;var i=0;while (pop_totale > 1) { 	str_num = (Math.round (pop_totale-0.5) % 10) + str_num;	pop_totale = pop_totale / 10;	j++;		if (pop_totale > 1 && j==3) { 		str_num = "." + str_num;		j=0;	}		i++;}document.write(str_num);