<!--
function abremes(mes) {
	var mtajax = abreXML();
	eval("var xmlhttp = xmlhttp"+mtajax+";xmlhttp"+mtajax+"=null;");
	xmlhttp.onreadystatechange = function() {
		if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
		document.getElementById("calendario").innerHTML = xmlhttp.responseText;	
			}
	}
	//
	document.getElementById("calendario").innerHTML = '<div align="center"><img src="css/imagens/loading.gif" alt="Atualizando..." style="vertical-align:middle;" height="32" width="32" /></div>';
		//
	xmlhttp.open("POST", 'calendario/'+mes+'.php', true);
	xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=iso-8859-1");
	xmlhttp.send(null);		
}



function abreXML() {
	var n = new Date();
	mtajax = n.getTime()
	var scriptcode = "try{xmlhttp"+mtajax+"=new ActiveXObject(\"Msxml2.XMLHTTP\");}catch(e){try{xmlhttp"+mtajax+"=new ActiveXObject(\"Microsoft.XMLHTTP\");}catch(E){xmlhttp"+mtajax+"=false;}}if(!xmlhttp"+mtajax+" && typeof XMLHttpRequest != 'undefined'){xmlhttp"+mtajax+"=new XMLHttpRequest();}";
	eval (scriptcode);
	return mtajax;
}
//-->