function updateday(e) {
	if(e != 'undefined')
		document.getElementById("caltext").innerHTML = e;
}