// AJAXÀà
function AJAXRequest() {
	var xmlObj = false;
	var CBfunc,ObjSelf;
	ObjSelf=this;
	try { xmlObj=new XMLHttpRequest; }
	catch(e) {
		try { xmlObj=new ActiveXObject("MSXML2.XMLHTTP"); }
		catch(e2) {
			try { xmlObj=new ActiveXObject("Microsoft.XMLHTTP"); }
			catch(e3) { xmlObj=false; }
		}
	}
	if (!xmlObj) return false;
	this.xmlHttp=function(method, url, content, async, fun, tdiv) {
		if(!method||!url||!async) return false;
		xmlObj.open (method, url, async);
		if(method=="POST") {
			xmlObj.setRequestHeader("Method", "POST " + url + " HTTP/1.1");
			xmlObj.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
			xmlObj.setRequestHeader("Cache-Control", "no-cache");
			xmlObj.setRequestHeader("Pragma", "no-cache");
		}
		xmlObj.onreadystatechange=function() {
			if(xmlObj.readyState==4) {
				fun (xmlObj, tdiv);
			}
		}
		if(method=="POST") xmlObj.send(content);
		else xmlObj.send(null);
	}
}
