if( this._JLHsXMLFIsLoaded != true ) {
	var dom = new ActiveXObject("msxml2.domdocument.4.0");
	dom.async = false;
	dom.validateOnParse = false;
	dom.resolveExternals = false;
	dom.preserveWhiteSpace = false;

	// -------------------------------------------
	try{
		this.soapxml = new SoapXML();
	}catch(e){ this.soapxml = null; }
	
	try{
		this.xmlhttp = _xmlhttp();
	}catch(e){ this.xmlhttp = null; }
	
	try{
		this.jdom = _dom();
		this.jdom.async = false;
		this.jdom.validateOnParse = false;
		this.jdom.resolveExternals = false;
		this.jdom.preserveWhiteSpace = false;
	}catch(e){ this.jdom = null; }

	function _xmlhttp(){
		var ___xmlhttp = null;
		
		try{
			if (window.XMLHttpRequest) { // Mozilla, Safari,...
				___xmlhttp = new XMLHttpRequest();
			} else if (window.ActiveXObject) { // IE
				try {
					// 新版的 IE
					___xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
				} catch (e) {
					try {
						// 舊版的 IE
						___xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
					} catch (e) {}
				}
			}
		}catch(e){ ___xmlhttp = null; }
		
		return ___xmlhttp;
	}
	
	function _dom(){
		try{
			try { return (new ActiveXObject("Microsoft.XMLDOM")); }
			catch (e) { return (new ActiveXObject("msxml2.domdocument.4.0")); }
		}catch(e){ return null; }
	}
	
	// web service soap
	function SoapXML( )   
	{
		this.GetDataInfo = new __getdatainfo();

		function __getdatainfo(){
			this.ContentType = "text/xml; charset=utf-8";
			this.SoapAction = "http://tempuri.org/GetDataInfo";
		
			this.SoapXML =  "";
			this.SoapXML += "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
			this.SoapXML += "<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">";
			this.SoapXML += "  <soap:Body>";
			this.SoapXML += "    <GetDataInfo xmlns=\"http://tempuri.org/\">";
			this.SoapXML += "      <參數>{參數}</參數>";
			this.SoapXML += "    </GetDataInfo>";
			this.SoapXML += "  </soap:Body>";
			this.SoapXML += "</soap:Envelope>";
		}
	}
	// -------------------------------------------
	
	this._JLHsXMLFIsLoaded = true;
}

