// JavaScript Document


//-----------------------------------------------------------------
//Modifica Le Immagini Qiu-----------------------------------------
    var Giorno1="http://i41.photobucket.com/albums/e269/silviababy/winter/surprisetags/1.gif"   
	var Giorno2="http://i41.photobucket.com/albums/e269/silviababy/winter/surprisetags/1a.gif" 
//--------------------------------------------------------------------------------
	
	var now = new Date();
	var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
	var months = new Array('01','02','03','04','05','06','07','08','09','10','11','12');
	var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();
	function longyear(number)
	{
		return (number < 1000) ? number + 1900 : number;
	}
	
	// Sample date formats
	// Today 1 format = YYYY.MM.DD
	today1 =  (longyear(now.getYear())) + "." +
	months[now.getMonth()] + "." +	date;	

	// Today 2 format = MM-DD-YYYY
	today2 = (months[now.getMonth()] + "-" + date + "-" +
	longyear(now.getYear()));


	// Today 3 format = Day - MM/DD/YYYY
	today3 = (days[now.getDay()] + " - " + months[now.getMonth()] +
	"/" + date + "/" + longyear(now.getYear()));

	//document.write("Format 1: &nbsp;&nbsp;" +today1+ "<br>");
	//document.write("Format 2: &nbsp;&nbsp;" +today2+ "<br>");
	//document.write("Format 3: &nbsp;&nbsp;" +today3+ "<br>");
	
	//---------------------------------------
	//Modifica la date qui----------------------------------
	if (today1 < "2007.03.21" ) 
	//------------------------------------------------------
	document.write('<img src="'+Giorno1+'" border="0">')
	else
	document.write('<img src="'+Giorno2+'" border="0">')