// cached javascript var AjaxDemoMethod = { GetProvDs:function(callback,context){return new ajax_request(this.url + '?_method=GetProvDs&_session=no','',callback, context);}, GetProvTouZiDs:function(callback,context){return new ajax_request(this.url + '?_method=GetProvTouZiDs&_session=no','',callback, context);}, GetProvTouZiRegist:function(callback,context){return new ajax_request(this.url + '?_method=GetProvTouZiRegist&_session=no','',callback, context);}, GetCityDs:function(strText,callback,context){return new ajax_request(this.url + '?_method=GetCityDs&_session=no','strText=' + enc(strText),callback, context);}, getNationDs:function(callback,context){return new ajax_request(this.url + '?_method=getNationDs&_session=no','',callback, context);}, GetResultIn:function(itemName,areaId,industry,callback,context){return new ajax_request(this.url + '?_method=GetResultIn&_session=no','itemName=' + enc(itemName)+ '\r\nareaId=' + enc(areaId)+ '\r\nindustry=' + enc(industry),callback, context);}, GetQueryTotal:function(itemName,areaId,industry,strTypeCode,strTimeS,strTimeE,callback,context){return new ajax_request(this.url + '?_method=GetQueryTotal&_session=no','itemName=' + enc(itemName)+ '\r\nareaId=' + enc(areaId)+ '\r\nindustry=' + enc(industry)+ '\r\nstrTypeCode=' + enc(strTypeCode)+ '\r\nstrTimeS=' + enc(strTimeS)+ '\r\nstrTimeE=' + enc(strTimeE),callback, context);}, GetQueryResult:function(itemName,areaId,industry,pageCurrent,strTypeCode,strTimeS,strTimeE,callback,context){return new ajax_request(this.url + '?_method=GetQueryResult&_session=no','itemName=' + enc(itemName)+ '\r\nareaId=' + enc(areaId)+ '\r\nindustry=' + enc(industry)+ '\r\npageCurrent=' + enc(pageCurrent)+ '\r\nstrTypeCode=' + enc(strTypeCode)+ '\r\nstrTimeS=' + enc(strTimeS)+ '\r\nstrTimeE=' + enc(strTimeE),callback, context);}, getProInfo:function(strPrvID,callback,context){return new ajax_request(this.url + '?_method=getProInfo&_session=no','strPrvID=' + enc(strPrvID),callback, context);}, GetRegistTotal:function(strInvest,strTouZiArea,strTouZiSubArea,strTimeS,strTimeE,strType,callback,context){return new ajax_request(this.url + '?_method=GetRegistTotal&_session=no','strInvest=' + enc(strInvest)+ '\r\nstrTouZiArea=' + enc(strTouZiArea)+ '\r\nstrTouZiSubArea=' + enc(strTouZiSubArea)+ '\r\nstrTimeS=' + enc(strTimeS)+ '\r\nstrTimeE=' + enc(strTimeE)+ '\r\nstrType=' + enc(strType),callback, context);}, GetResultRegist:function(strInvest,strTouZiArea,strTouZiSubArea,strTimeS,strTimeE,strType,callback,context){return new ajax_request(this.url + '?_method=GetResultRegist&_session=no','strInvest=' + enc(strInvest)+ '\r\nstrTouZiArea=' + enc(strTouZiArea)+ '\r\nstrTouZiSubArea=' + enc(strTouZiSubArea)+ '\r\nstrTimeS=' + enc(strTimeS)+ '\r\nstrTimeE=' + enc(strTimeE)+ '\r\nstrType=' + enc(strType),callback, context);}, GetQueryResultRegist:function(strInvest,strTouZiArea,strTouZiSubArea,strTimeS,strTimeE,pageCurrent,strTypeCode,callback,context){return new ajax_request(this.url + '?_method=GetQueryResultRegist&_session=no','strInvest=' + enc(strInvest)+ '\r\nstrTouZiArea=' + enc(strTouZiArea)+ '\r\nstrTouZiSubArea=' + enc(strTouZiSubArea)+ '\r\nstrTimeS=' + enc(strTimeS)+ '\r\nstrTimeE=' + enc(strTimeE)+ '\r\npageCurrent=' + enc(pageCurrent)+ '\r\nstrTypeCode=' + enc(strTypeCode),callback, context);}, url:'/website/PTFair.WebSites.China.Search.AjaxDemoMethod,App_Code.ashx' } function HtmlControl(id) { var ele = null; if(typeof(id) == 'object') ele = id; else ele = document.getElementById(id); if(ele == null) return null; var _o = ele.cloneNode(true); var _op = document.createElement('SPAN'); _op.appendChild(_o); this._source = _op.innerHTML; } HtmlControl.prototype.toString = function(){ return this._source; } function HtmlControlUpdate(func, parentId) { var f,i,ff,fa=''; var ele = document.getElementById(parentId); if(ele == null) return; var args = []; for(i=0; i 2) for(i=2; i9999||year<1970||month<1||month>12||day<0||day>31||hours<0||hours>23||minutes<0||minutes>59||seconds<0||seconds>59)throw("ArgumentException");this.Year = year;this.Month = month;this.Day = day;this.Hours = hours;this.Minutes = minutes;this.Seconds = seconds;} DateTime.prototype.toString = function(){return digi(this.Year,4) + digi(this.Month,2) + digi(this.Day,2) + digi(this.Hours,2) + digi(this.Minutes,2) + digi(this.Seconds,2);} function TimeSpan(){this.Days=0;this.Hours=0;this.Minutes=0;this.Seconds=0;this.Milliseconds=0;} TimeSpan.prototype.toString = function(){return this.Days+'.'+this.Hours+':'+this.Minutes+':'+this.Seconds+'.'+this.Milliseconds;}