var AjaxCommon = { ChechContext:function(contextt,callback,context){return new ajax_request(this.url + '?_method=ChechContext&_session=no','contextt=' + enc(contextt),callback, context);}, CheckVerifyCode:function(verifyCode,callback,context){return new ajax_request(this.url + '?_method=CheckVerifyCode&_session=r','verifyCode=' + enc(verifyCode),callback, context);}, NoHtml:function(Htmlstring,callback,context){return new ajax_request(this.url + '?_method=NoHtml&_session=no','Htmlstring=' + enc(Htmlstring),callback, context);}, GetTemplatePicture:function(templateID,callback,context){return new ajax_request(this.url + '?_method=GetTemplatePicture&_session=no','templateID=' + enc(templateID),callback, context);}, IsExistsUser:function(userName,callback,context){return new ajax_request(this.url + '?_method=IsExistsUser&_session=no','userName=' + enc(userName),callback, context);}, IsBadWords:function(userName,callback,context){return new ajax_request(this.url + '?_method=IsBadWords&_session=no','userName=' + enc(userName),callback, context);}, GetC2CGoodsCategoryList:function(parentID,callback,context){return new ajax_request(this.url + '?_method=GetC2CGoodsCategoryList&_session=no','parentID=' + enc(parentID),callback, context);}, GetC2CGoodsCategorySearchResult:function(categoryName,callback,context){return new ajax_request(this.url + '?_method=GetC2CGoodsCategorySearchResult&_session=no','categoryName=' + enc(categoryName),callback, context);}, CheckLoginAndGetLoginUrl:function(returnUrl,urlParms,callback,context){return new ajax_request(this.url + '?_method=CheckLoginAndGetLoginUrl&_session=no','returnUrl=' + enc(returnUrl)+ '\r\nurlParms=' + enc(urlParms),callback, context);}, GetHourOption:function(callback,context){return new ajax_request(this.url + '?_method=GetHourOption&_session=no','',callback, context);}, GetHourOptionAll:function(callback,context){return new ajax_request(this.url + '?_method=GetHourOptionAll&_session=no','',callback, context);}, GetMinOption:function(callback,context){return new ajax_request(this.url + '?_method=GetMinOption&_session=no','',callback, context);}, GetMinOptionAll:function(callback,context){return new ajax_request(this.url + '?_method=GetMinOptionAll&_session=no','',callback, context);}, GetPovinceList:function(callback,context){return new ajax_request(this.url + '?_method=GetPovinceList&_session=no','',callback, context);}, GetCityList:function(povinceid,callback,context){return new ajax_request(this.url + '?_method=GetCityList&_session=no','povinceid=' + enc(povinceid),callback, context);}, GetAreaList:function(cityid,callback,context){return new ajax_request(this.url + '?_method=GetAreaList&_session=r','cityid=' + enc(cityid),callback, context);}, GetMarketList:function(povinceid,callback,context){return new ajax_request(this.url + '?_method=GetMarketList&_session=r','povinceid=' + enc(povinceid),callback, context);}, GetC2CGoodsCategoryList0:function(callback,context){return new ajax_request(this.url + '?_method=GetC2CGoodsCategoryList0&_session=r','',callback, context);}, GetC2CGoodsCategoryList1:function(CategoryID,callback,context){return new ajax_request(this.url + '?_method=GetC2CGoodsCategoryList1&_session=r','CategoryID=' + enc(CategoryID),callback, context);}, GetC2CGoodsCategoryList2:function(CategoryID,callback,context){return new ajax_request(this.url + '?_method=GetC2CGoodsCategoryList2&_session=r','CategoryID=' + enc(CategoryID),callback, context);}, GetC2CGoodsCategoryList3:function(CategoryID,callback,context){return new ajax_request(this.url + '?_method=GetC2CGoodsCategoryList3&_session=r','CategoryID=' + enc(CategoryID),callback, context);}, GetB2CGoodsCategoryList0:function(callback,context){return new ajax_request(this.url + '?_method=GetB2CGoodsCategoryList0&_session=r','',callback, context);}, GetB2CGoodsCategoryList1:function(CategoryID,callback,context){return new ajax_request(this.url + '?_method=GetB2CGoodsCategoryList1&_session=r','CategoryID=' + enc(CategoryID),callback, context);}, GetB2CGoodsCategoryList2:function(CategoryID,callback,context){return new ajax_request(this.url + '?_method=GetB2CGoodsCategoryList2&_session=r','CategoryID=' + enc(CategoryID),callback, context);}, GetB2CGoodsCategoryList3:function(CategoryID,callback,context){return new ajax_request(this.url + '?_method=GetB2CGoodsCategoryList3&_session=r','CategoryID=' + enc(CategoryID),callback, context);}, GetGiftGoodsCategoryList0:function(callback,context){return new ajax_request(this.url + '?_method=GetGiftGoodsCategoryList0&_session=r','',callback, context);}, GetGiftGoodsCategoryList1:function(CategoryID,callback,context){return new ajax_request(this.url + '?_method=GetGiftGoodsCategoryList1&_session=r','CategoryID=' + enc(CategoryID),callback, context);}, GetGiftGoodsCategoryList2:function(CategoryID,callback,context){return new ajax_request(this.url + '?_method=GetGiftGoodsCategoryList2&_session=r','CategoryID=' + enc(CategoryID),callback, context);}, GetGiftGoodsCategoryList3:function(CategoryID,callback,context){return new ajax_request(this.url + '?_method=GetGiftGoodsCategoryList3&_session=r','CategoryID=' + enc(CategoryID),callback, context);}, CheckCagetoryName:function(categoryName,lang,callback,context){return new ajax_request(this.url + '?_method=CheckCagetoryName&_session=no','categoryName=' + enc(categoryName)+ '\r\nlang=' + enc(lang),callback, context);}, GetMuseumList:function(type,parentID,callback,context){return new ajax_request(this.url + '?_method=GetMuseumList&_session=no','type=' + enc(type)+ '\r\nparentID=' + enc(parentID),callback, context);}, GetCollectionCategoryInfoLis:function(museumID,callback,context){return new ajax_request(this.url + '?_method=GetCollectionCategoryInfoLis&_session=no','museumID=' + enc(museumID),callback, context);}, GetCategoryList:function(parentId,callback,context){return new ajax_request(this.url + '?_method=GetCategoryList&_session=no','parentId=' + enc(parentId),callback, context);}, GetAucRoleList:function(id,callback,context){return new ajax_request(this.url + '?_method=GetAucRoleList&_session=no','id=' + enc(id),callback, context);}, GetAuctioneerList:function(id,callback,context){return new ajax_request(this.url + '?_method=GetAuctioneerList&_session=no','id=' + enc(id),callback, context);}, GetFieldList:function(id,callback,context){return new ajax_request(this.url + '?_method=GetFieldList&_session=no','id=' + enc(id),callback, context);}, GetPassFieldList:function(id,callback,context){return new ajax_request(this.url + '?_method=GetPassFieldList&_session=no','id=' + enc(id),callback, context);}, GetAllFieldList:function(companyId,callback,context){return new ajax_request(this.url + '?_method=GetAllFieldList&_session=no','companyId=' + enc(companyId),callback, context);}, IsExist:function(url,id,callback,context){return new ajax_request(this.url + '?_method=IsExist&_session=no','url=' + enc(url)+ '\r\nid=' + enc(id),callback, context);}, url:'/ajax/AjaxCommon,App_Code.ycscct4c.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);}