var Request = {
	xmlHTTP : function(){
		if(window.XMLHttpRequest){
			return new XMLHttpRequest();
		};
		if(window.ActiveXObject){
			if(this.__MSXML()){
				return new ActiveXObject(this.sMSXMLtype + ".XMLHTTP");
			};
		};
		return false;
	},
	xmlDocument : function(){
		try{
			if(document.implementation && document.implementation.createDocument){
				var oDoc = document.implementation.createDocument("", "", null);
				return oDoc;
			};
			if(window.ActiveXObject){
				if(this.__MSXML()){
					return new ActiveXObject(this.sMSXMLtype + ".DOMDocument");
				}
			};
		}catch(e){};
		return false;
	},
	__MSXML : function(){
		if(!this.sMSXMLHTTPtype){
			this.aMSXML = new Array("MSXML2", "Microsoft", "MSXML", "MSXML3");
			var oTest;
			for(var i=0;i<this.aMSXML.length; i++){
				try{
					oTest = new ActiveXObject(this.aMSXML[i] + ".DOMDocument");
					oTest = new ActiveXObject(this.aMSXML[i] + ".XMLHTTP");
					this.sMSXMLtype = this.aMSXML[i];
					return this.sMSXMLtype;
				}catch(e){};
			};
		};
		return this.sMSXMLtype;
	}
};