function Ajax1(){
	this.i4cdXmlHttp = null
	this.onReady = function(status){}
	try{
		if(window.ActiveXObject){
			for(var i=5;i;i--){ 
				try{ 
					if(i == 2){
						this.i4cdXmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
					}else{
						this.i4cdXmlHttp = new ActiveXObject("Msxml2.XMLHTTP." + i + ".0" ); 
						//this.i4cdXmlHttp.setRequestHeader("Content-Type","text/xml"); 
						//this.i4cdXmlHttp.setRequestHeader("Content-Type","gb2312"); 
						//this.i4cdXmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded"); 
					}
					break;
				} 
				catch(e){
					this.i4cdXmlHttp=null
				}
			}
		}else if(window.XMLHttpRequest){
			this.i4cdXmlHttp = new XMLHttpRequest();
			if (this.i4cdXmlHttp.overrideMimeType){
				this.i4cdXmlHttp.overrideMimeType('text/xml');
			}
		}
	}
	catch(e){
		this.i4cdXmlHttp = null;
	}
}
Ajax1.prototype.get = function(url){
	var i4cd = this.i4cdXmlHttp
	var i4cdFun = this.onReady
	i4cd.onreadystatechange = function(){
		if(i4cd.readyState == 4){ 
			if(i4cd.status == 200){
				i4cdFun(4)
			}else{
				i4cdFun(-1)
			}
		}else{
			i4cdFun(i4cd.readyState)
		}
	}
	i4cd.open('GET', url, true); 
	i4cd.setRequestHeader("Content-Type","text/xml"); 
	i4cd.setRequestHeader("Content-Type","gb2312"); 
	i4cd.send(null);
} 
Ajax1.prototype.post = function(url,date){
	var i4cd = this.i4cdXmlHttp
	var i4cdFun = this.onReady
	i4cd.onreadystatechange = function(){
		if(i4cd.readyState == 4){ 
			if(i4cd.status == 200){
				i4cdFun(4)
			} else {
				i4cdFun(-1)
			}
		}else{
			i4cdFun(i4cd.readyState)
		}
	} 
	i4cd.open('POST', url, true);
	i4cd.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
	i4cd.send(date);
} 
Ajax1.prototype.text = function(){
	var i4cd = this.i4cdXmlHttp
	return(i4cd.responseText)
}
Ajax1.prototype.xml = function(){
	var i4cd = this.i4cdXmlHttp
	return(i4cd.responseXML.documentElement)
}