function imggiorno()
{
 var datacorrente = new Date();
    
 var giornodierno = datacorrente.getDate();
 
 switch(giornodierno)
    {
	 case 1:
	    document.write('<img src="img/hp/01.jpg" border="0" alt="" galleryimg="no" height="515" align="center">');
	    break;
	 case 2:
	    document.write('<img src="img/hp/02.jpg" border="0" alt="" galleryimg="no" height="515" align="center">');
	    break;
	 case 3:
	    document.write('<img src="img/hp/03.jpg" border="0" alt="" galleryimg="no" height="515" align="center">');
	    break;
	 case 4:
	    document.write('<img src="img/hp/04.jpg" border="0" alt="" galleryimg="no" height="515" align="center">');
	    break;
	 case 5:
	    document.write('<img src="img/hp/05.jpg" border="0" alt="" galleryimg="no" height="515" align="center">');
	    break;
	 case 6:
	    document.write('<img src="img/hp/06.jpg" border="0" alt="" galleryimg="no" height="515" align="center">');
	    break;
	 case 7:
	    document.write('<img src="img/hp/07.jpg" border="0" alt="" galleryimg="no" height="515" align="center">');
	    break;
	 case 8:
	    document.write('<img src="img/hp/08.jpg" border="0" alt="" galleryimg="no" height="515" align="center">');
	    break;
	 case 9:
	    document.write('<img src="img/hp/09.jpg" border="0" alt="" galleryimg="no" height="515" align="center">');
	    break;
	 case 10:
	    document.write('<img src="img/hp/10.jpg" border="0" alt="" galleryimg="no" height="515" align="center">');
	    break;
	 case 11:
	    document.write('<img src="img/hp/11.jpg" border="0" alt="" galleryimg="no" height="515" align="center">');
	    break;
	 case 12:
	    document.write('<img src="img/hp/12.jpg" border="0" alt="" galleryimg="no" height="515" align="center">');
	    break;
	 case 13:
	    document.write('<img src="img/hp/13.jpg" border="0" alt="" galleryimg="no" height="515" align="center">');
	    break;
	 case 14:
	    document.write('<img src="img/hp/14.jpg" border="0" alt="" galleryimg="no" height="515">');
	    break;
	 case 15:
	    document.write('<img src="img/hp/15.jpg" border="0" alt="" galleryimg="no" height="515">');
	    break;
	 case 16:
	    document.write('<img src="img/hp/16.jpg" border="0" alt="" galleryimg="no" height="515">');
	    break;
	 case 17:
	    document.write('<img src="img/hp/17.jpg" border="0" alt="" galleryimg="no" height="515">');
	    break;
	 case 18:
	    document.write('<img src="img/hp/18.jpg" border="0" alt="" galleryimg="no" height="515">');
	    break;
	 case 19:
	    document.write('<img src="img/hp/19.jpg" border="0" alt="" galleryimg="no" height="515">');
	    break;
	 case 20:
	    document.write('<img src="img/hp/20.jpg" border="0" alt="" galleryimg="no" height="515">');
	    break;
  	 case 21:
  	    document.write('<img src="img/hp/21.jpg" border="0" alt="" galleryimg="no" height="515">');
	    break;
  	 case 22:
  	 document.write('<img src="img/hp/22.jpg" border="0" alt="" galleryimg="no" height="515">');
	    break;
  	 case 23:
  	    document.write('<img src="img/hp/23.jpg" border="0" alt="" galleryimg="no" height="515">');
	    break;
  	 case 24:
  	    document.write('<img src="img/hp/24.jpg" border="0" alt="" galleryimg="no" height="515">');
	    break;
  	 case 25:
  	    document.write('<img src="img/hp/25.jpg" border="0" alt="" galleryimg="no" height="515">');
	    break;
  	 case 26:
  	    document.write('<img src="img/hp/26.jpg" border="0" alt="" galleryimg="no" height="515">');
	    break;
  	 case 27:
  	    document.write('<img src="img/hp/27.jpg" border="0" alt="" galleryimg="no" height="515">');
	    break;
  	 case 28:
  	    document.write('<img src="img/hp/28.jpg" border="0" alt="" galleryimg="no" height="515">');
	    break;
  	 case 29:
  	    document.write('<img src="img/hp/29.jpg" border="0" alt="" galleryimg="no" height="515">');
	    break;
  	 case 30:
  	    document.write('<img src="img/hp/30.jpg" border="0" alt="" galleryimg="no" height="515">');
	    break;
  	 case 31:
  	    document.write('<img src="img/hp/31.jpg" border="0" alt="" galleryimg="no" height="515">');
	    break;
  	 default:
	    break;
	};
};
  
  