// JavaScript Document



	var before="el Domingo de Ramos"

	var current="Hoy es Domingo de Ramos"

	var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")

	function countdown(yr,m,d){

		var today=new Date()

		var todayy=today.getYear()

		if (todayy < 1000)

		  todayy+=1900

		var todaym=today.getMonth()

		var todayd=today.getDate()

		var todaystring=montharray[todaym]+" "+todayd+", "+todayy

		var futurestring=montharray[m-1]+" "+d+", "+yr

		var difference=(Math.round((Date.parse(futurestring)-Date.parse(todaystring))/(24*60*60*1000))*1)

		if (difference==0)
			document.write(current)
		else if (difference>0)
			document.write(" "+difference+" días para "+before)
		else if (difference==-1)
			document.write("Hoy es Lunes Santo")
		else if (difference==-2)
			document.write("Hoy es Martes Santo")
		else if (difference==-3)
			document.write("Hoy es Miércoles Santo")
		else if (difference==-4)
			document.write("Hoy es Juves Santo")
		else if (difference==-5)
			document.write("Hoy es Viernes Santo")
		else if (difference==-6)
			document.write("Hoy es Sábado Santo")
		else if (difference==-7)
			document.write("Hoy es Domingo de Resurrección")
			



	}

	//cambiar la fecha



