function XMLHttpObject(){
	var XMLHttp=null;
	var o=this;
	this.url=null;
	this.reObj=null;
	this.actFunc=false;
	this.Sync=true;
	this.loading=false;
	this.ajaxRequest = function(){
		if (window.XMLHttpRequest) {
			XMLHttp = new XMLHttpRequest();
		} else if (window.ActiveXObject) {
			try {
				XMLHttp = new ActiveXObject("Msxml2.XMLHTTP");
			} catch (e) {
				try { XMLHttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) {}
			}
		}
		XMLHttp.open("GET", this.url, this.Sync);
		XMLHttp.setRequestHeader('Content-Type','text/plain; charset=utf-8');
		XMLHttp.setRequestHeader('Cache-Control', 'no-cache');
		XMLHttp.setRequestHeader("If-Modified-Since","0");
		XMLHttp.onreadystatechange = o.CallBack;
		XMLHttp.send(null);
		o.load(o.loading);
	}
	this.CallBack=	function() {
		if (XMLHttp.readyState == 4) {
			if (XMLHttp.status == 200) {
				if (XMLHttp.responseText) o.reObj = XMLHttp.responseText;
				if (o.actFunc) {
					o.actFunc.call();
					o.load(1);
				}
			}
		}
	}
	this.getText=function(){
		if (XMLHttp==null) {return "模块未加载..."}
		if (XMLHttp.readyState==4) {return XMLHttp.responseText}
		return XMLHttp.readyState
	}
	this.load=function(hidden){
		var x=document.body.clientWidth/2-150;
		var y=170;
		if (hidden==1) {try{document.getElementById('loadingDiv').style.visibility='hidden';}catch(e){};return ;}
		if (document.getElementById('loadingDiv')) {
			//document.getElementById('loadingDiv').style.top=y;
			//document.getElementById('loadingDiv').style.left=x;
			document.getElementById('loadingDiv').style.visibility='';
			return ;
		}
		var div =document.createElement('DIV');
		div.id='loadingDiv';
		div.style.cssText='border: solid #000000 1px;font-size:10pt;position:absolute;top:'+y+'px;left:'+x+'px;width:300px;background-color:#FFFFFF;color:#FFF;padding:2px;line-height:18px;text-align:center;';
		div.innerHTML='<IMG SRC="/views/images/loading.gif" BORDER="0" ALT="数据读取中...">';
		document.body.appendChild(div);//alert();
	}
}
