/* Cached [Dada.Ajax.js] in datetime [9/5/2010 8:54:52 PM]*/ /////////////////////////////////////////// // Author : dada // CreateDate: 2006-09-25 /////////////////////////////////////////// if(!window.Dada) Dada = {}; if(!Dada.Ajax) Dada.Ajax = {}; Dada.Ajax.options = function() { this.contentType = 'application/x-www-form-urlencoded'; this.encoding = 'UTF-8'; this.async = true; this.url = ''; this.method = 'POST'; this.parameters = ''; this.callback = null; this.onSucceed = null; this.onFailed = null; }; Dada.Ajax.createXmlHttpRequest = function() { var xmlHttpObjects = ['Microsoft.XMLHTTP', 'MSXML.XMLHTTP', 'Microsoft.XMLHTTP', 'Msxml2.XMLHTTP.7.0', 'Msxml2.XMLHTTP.6.0', 'Msxml2.XMLHTTP.5.0', 'Msxml2.XMLHTTP.4.0', 'MSXML2.XMLHTTP.3.0', 'MSXML2.XMLHTTP']; var req = null; if (window.XMLHttpRequest) { return req = new window.XMLHttpRequest(); } else if (window.ActiveXObject) { for (var i=0; i