function Ajax(X){

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("No AJAX!?");
				return false;
			}
		}
	}

xmlHttp.onreadystatechange=function(){
	if(xmlHttp.readyState==4){
		document.getElementById('thecalid').innerHTML=xmlHttp.responseText;
		
	}
}
var theurl = 'calendar.php'+X;
xmlHttp.open("GET", theurl ,true);

xmlHttp.send(null);
}

window.onload=function(){
	
}
