xmlhttp=null
if (window.XMLHttpRequest)
{
	xmlhttp=new XMLHttpRequest()
}
else if (window.ActiveXObject)
{
	xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")
}
function calendar(month, year)
{
	if (xmlhttp)
	{ 
		xmlhttp.open("GET", "xmlhttp.php?action=spc&month="+month+"&year="+year, true);
  		xmlhttp.onreadystatechange= function()
  		{
  			if (xmlhttp.readyState == 4)
 			{
				document.getElementById("calendar_spc").innerHTML = xmlhttp.responseText;
			}
 		}
		xmlhttp.send(null)
 	}
}