function stampa_frase() {
	var data = new Date();
	oggi=data.getDate(); // qui viene assegnata la data odierna alla variabile oggi
	mese=data.getMonth();
	mese=mese+1;
	mese=mese;
	scelta=oggi;
	if (mese<10) mese='0'+mese;
	if (oggi<10) oggi='0'+oggi;
	indirizzo=oggi+'.htm';

    urlPag=mese+indirizzo;

switch (scelta) { // qui il programma confronta il giorno e di conseguenza visualizza la frase scelta
	case 1:
			location.href=urlPag; 
		 break;
	case 2:
			location.href=urlPag; 
		break;
	case 3:
			location.href=urlPag; 
		 break;
	case 4:
			location.href=urlPag; 
		break;
	case 5:
			location.href=urlPag; 
		 break;
	case 6:
			location.href=urlPag; 
	
		break;
	case 7:
			location.href=urlPag; 
		 break;
	case 8: 
		
	
		
			location.href=urlPag; 
		break;
	case 9:
			location.href=urlPag; 
		 break;
	case 10:
			location.href=urlPag; 
		break;
	case 11:
		location.href=urlPag; 
		 break;
	case 12:
		location.href=urlPag; 
		break;
	case 13:
		location.href=urlPag; 
		 break;
	case 14:
		location.href=urlPag; 
		
		break;
	case 15:
			location.href=urlPag; 
		 break;
	case 16:
		location.href=urlPag; 
		break;
	case 17:
		location.href=urlPag; 
		 break;
	case 18:
		location.href=urlPag; 
		break;
	case 19:
		location.href=urlPag; 
		 break;
	case 20:
		location.href=urlPag; 
		break;
	case 21:
		location.href=urlPag; 
	case 22:
		location.href=urlPag; 
		break;
	case 23:
		location.href=urlPag; 
		 break;
	case 24:
		location.href=urlPag; 
		break;
	case 25:
		location.href=urlPag; 
		break;
	case 26:
		location.href=urlPag; 
		 break;
	case 27:
		location.href=urlPag; 
		break;
	case 28:
		location.href=urlPag; 
		 break;
	case 29:
		location.href=urlPag; 
		break;
	case 30:
		location.href=urlPag; 
		 break;
	case 31:
		location.href=urlPag; 
		break;
	}
}	
	

