date = new Date();
y = date.getFullYear();
Y = date.getFullYear();
m = date.getMonth() + 1;
if (m < 10) m = "0" + m;

M = date.getMonth() + 2;
if (M == 13){
  M = "0" + 1;
  Y++;
}
else{
  if (M < 10) M = "0" + M;
}


function readText(){
	var calendarAURL = "/ivent/" + y +"/" + m + "/calendar.html?cache="+(new Date()).getTime();
	var calendarBURL = "/ivent/" + Y +"/" + M + "/calendar.html?cache="+(new Date()).getTime();
	var scheduleURL = "/ivent/" + y +"/" + m + "/schedule.html?cache="+(date).getTime();
	var pickupURL = "/ivent/" + y +"/" + m + "/pickup.html?cache="+(date).getTime();
	var comingURL = "/coming/index.html?cache="+(new Date()).getTime();
	new Ajax.Updater("calendar",calendarAURL, { method: "get" });
	new Ajax.Updater("calendar2",calendarBURL, { method: "get" });
	new Ajax.Updater("monthly-schedule",scheduleURL, { method: "get" });
	new Ajax.Updater("pickup",pickupURL, { method: "get" });
	new Ajax.Updater("coming",comingURL, { method: "get" });
}
