function GetEvents(ThisDate) {
	var xmlHttp;
	try { xmlHttp=new XMLHttpRequest(); }		// Firefox, Opera 8.0+, Safari
	catch (e) {
		try { xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); }	// Internet Explorer
		catch (e) {
	  		try { xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); }
	  		catch (e) {
	      	alert("Your browser does not support AJAX!");
	      	return false;
			}
		}
	}
	xmlHttp.onreadystatechange=function() {
		if (xmlHttp.readyState==4) {
   		//document.myForm.time.value=xmlHttp.responseText;
			document.getElementById('dayevents').innerHTML = xmlHttp.responseText;
		}
	}
	xmlHttp.open("GET","ajax_GetEvents.php?date="+ThisDate,true);
	xmlHttp.send(null);
	//$("progress").style.visibility = "hidden";
}
