// cached javascript var AjaxFun = { CheckMail:function(EMail,UserID,callback,context){return new ajax_request(this.url + '?_method=CheckMail&_session=no','EMail=' + enc(EMail)+ '\r\nUserID=' + enc(UserID),callback, context);}, Checkphone:function(phone,UserID,callback,context){return new ajax_request(this.url + '?_method=Checkphone&_session=no','phone=' + enc(phone)+ '\r\nUserID=' + enc(UserID),callback, context);}, dsGetIndexMess1:function(callback,context){return new ajax_request(this.url + '?_method=dsGetIndexMess1&_session=no','',callback, context);}, GetPlateListByBoroughID:function(boroughId,callback,context){return new ajax_request(this.url + '?_method=GetPlateListByBoroughID&_session=no','boroughId=' + enc(boroughId),callback, context);}, DeletePicByPath:function(picPath,callback,context){return new ajax_request(this.url + '?_method=DeletePicByPath&_session=no','picPath=' + enc(picPath),callback, context);}, DeleteServerPicByPath:function(picPath,callback,context){return new ajax_request(this.url + '?_method=DeleteServerPicByPath&_session=no','picPath=' + enc(picPath),callback, context);}, GetPicFullPath:function(picPath,callback,context){return new ajax_request(this.url + '?_method=GetPicFullPath&_session=no','picPath=' + enc(picPath),callback, context);}, GetMidPicFullPath:function(picPath,callback,context){return new ajax_request(this.url + '?_method=GetMidPicFullPath&_session=no','picPath=' + enc(picPath),callback, context);}, GetMidPicFullPath:function(picPath,Type,callback,context){return new ajax_request(this.url + '?_method=GetMidPicFullPath&_session=no','picPath=' + enc(picPath)+ '\r\nType=' + enc(Type),callback, context);}, GetMinPicFullPath:function(picPath,Type,callback,context){return new ajax_request(this.url + '?_method=GetMinPicFullPath&_session=no','picPath=' + enc(picPath)+ '\r\nType=' + enc(Type),callback, context);}, CheckUserMail:function(EMail,callback,context){return new ajax_request(this.url + '?_method=CheckUserMail&_session=no','EMail=' + enc(EMail),callback, context);}, CheckUserName:function(strUsername,callback,context){return new ajax_request(this.url + '?_method=CheckUserName&_session=no','strUsername=' + enc(strUsername),callback, context);}, CheckMobilephone:function(strmobilephone,callback,context){return new ajax_request(this.url + '?_method=CheckMobilephone&_session=no','strmobilephone=' + enc(strmobilephone),callback, context);}, CheckMobilephoneborker:function(strmobilephone,callback,context){return new ajax_request(this.url + '?_method=CheckMobilephoneborker&_session=no','strmobilephone=' + enc(strmobilephone),callback, context);}, CheckBranchMobilephone:function(strmobilephone,cityid,callback,context){return new ajax_request(this.url + '?_method=CheckBranchMobilephone&_session=no','strmobilephone=' + enc(strmobilephone)+ '\r\ncityid=' + enc(cityid),callback, context);}, bolAddMess:function(strmobilephone,strUsername,strMessage,strEmail,strhouseid,callback,context){return new ajax_request(this.url + '?_method=bolAddMess&_session=no','strmobilephone=' + enc(strmobilephone)+ '\r\nstrUsername=' + enc(strUsername)+ '\r\nstrMessage=' + enc(strMessage)+ '\r\nstrEmail=' + enc(strEmail)+ '\r\nstrhouseid=' + enc(strhouseid),callback, context);}, bolProductReport:function(strUrl,strUserID,strTname,strEmail,strTel,strremark,callback,context){return new ajax_request(this.url + '?_method=bolProductReport&_session=no','strUrl=' + enc(strUrl)+ '\r\nstrUserID=' + enc(strUserID)+ '\r\nstrTname=' + enc(strTname)+ '\r\nstrEmail=' + enc(strEmail)+ '\r\nstrTel=' + enc(strTel)+ '\r\nstrremark=' + enc(strremark),callback, context);}, strGetTypeByuserID:function(strUserID,callback,context){return new ajax_request(this.url + '?_method=strGetTypeByuserID&_session=no','strUserID=' + enc(strUserID),callback, context);}, BolInstorAntinomy:function(strType,strBUserID,StrRom,strArea,strPrice,strUserID,strHouserID,strUserType,strStrteam,strtxtmobie,strUsername,strUrl,callback,context){return new ajax_request(this.url + '?_method=BolInstorAntinomy&_session=no','strType=' + enc(strType)+ '\r\nstrBUserID=' + enc(strBUserID)+ '\r\nStrRom=' + enc(StrRom)+ '\r\nstrArea=' + enc(strArea)+ '\r\nstrPrice=' + enc(strPrice)+ '\r\nstrUserID=' + enc(strUserID)+ '\r\nstrHouserID=' + enc(strHouserID)+ '\r\nstrUserType=' + enc(strUserType)+ '\r\nstrStrteam=' + enc(strStrteam)+ '\r\nstrtxtmobie=' + enc(strtxtmobie)+ '\r\nstrUsername=' + enc(strUsername)+ '\r\nstrUrl=' + enc(strUrl),callback, context);}, BolInstorAntinomyAndPassword:function(strType,strBUserID,StrRom,strArea,strPrice,strUserID,strHouserID,strUserType,strStrteam,strtxtmobie,strPassWord,strUsername,strUrl,callback,context){return new ajax_request(this.url + '?_method=BolInstorAntinomyAndPassword&_session=no','strType=' + enc(strType)+ '\r\nstrBUserID=' + enc(strBUserID)+ '\r\nStrRom=' + enc(StrRom)+ '\r\nstrArea=' + enc(strArea)+ '\r\nstrPrice=' + enc(strPrice)+ '\r\nstrUserID=' + enc(strUserID)+ '\r\nstrHouserID=' + enc(strHouserID)+ '\r\nstrUserType=' + enc(strUserType)+ '\r\nstrStrteam=' + enc(strStrteam)+ '\r\nstrtxtmobie=' + enc(strtxtmobie)+ '\r\nstrPassWord=' + enc(strPassWord)+ '\r\nstrUsername=' + enc(strUsername)+ '\r\nstrUrl=' + enc(strUrl),callback, context);}, strGetTypeByMobilephone:function(strMobilephone,callback,context){return new ajax_request(this.url + '?_method=strGetTypeByMobilephone&_session=no','strMobilephone=' + enc(strMobilephone),callback, context);}, CheckParameterValue:function(strParameter,callback,context){return new ajax_request(this.url + '?_method=CheckParameterValue&_session=no','strParameter=' + enc(strParameter),callback, context);}, GetNoticeById:function(id,callback,context){return new ajax_request(this.url + '?_method=GetNoticeById&_session=no','id=' + enc(id),callback, context);}, WikiInsert:function(propertyid,propertyname,cityid,broughid,plateid,modifycolumn,oldcontent,newcontent,createuserid,createusername,createip,ismodel,callback,context){return new ajax_request(this.url + '?_method=WikiInsert&_session=no','propertyid=' + enc(propertyid)+ '\r\npropertyname=' + enc(propertyname)+ '\r\ncityid=' + enc(cityid)+ '\r\nbroughid=' + enc(broughid)+ '\r\nplateid=' + enc(plateid)+ '\r\nmodifycolumn=' + enc(modifycolumn)+ '\r\noldcontent=' + enc(oldcontent)+ '\r\nnewcontent=' + enc(newcontent)+ '\r\ncreateuserid=' + enc(createuserid)+ '\r\ncreateusername=' + enc(createusername)+ '\r\ncreateip=' + enc(createip)+ '\r\nismodel=' + enc(ismodel),callback, context);}, SearchPropertyName:function(propertyName,cityId,propertynamepy,propertyNameallpy,callback,context){return new ajax_request(this.url + '?_method=SearchPropertyName&_session=no','propertyName=' + enc(propertyName)+ '\r\ncityId=' + enc(cityId)+ '\r\npropertynamepy=' + enc(propertynamepy)+ '\r\npropertyNameallpy=' + enc(propertyNameallpy),callback, context);}, SearchAdhouse:function(AdhouseID,UserID,callback,context){return new ajax_request(this.url + '?_method=SearchAdhouse&_session=no','AdhouseID=' + enc(AdhouseID)+ '\r\nUserID=' + enc(UserID),callback, context);}, SearchAdhouseNew:function(AdhouseID,UserID,msgc,callback,context){return new ajax_request(this.url + '?_method=SearchAdhouseNew&_session=no','AdhouseID=' + enc(AdhouseID)+ '\r\nUserID=' + enc(UserID)+ '\r\nmsgc=' + enc(msgc),callback, context);}, ListAdUpdateClick:function(id,callback,context){return new ajax_request(this.url + '?_method=ListAdUpdateClick&_session=no','id=' + enc(id),callback, context);}, MemberUpdate:function(MobilePhone,strUserId,callback,context){return new ajax_request(this.url + '?_method=MemberUpdate&_session=no','MobilePhone=' + enc(MobilePhone)+ '\r\nstrUserId=' + enc(strUserId),callback, context);}, BolInstorSalecount:function(strBoroughID,strPlateID,strkeyWord,strPage,strHouseType,strPrice,strhousetypeID,strSourceID,strOrder,strDateStart,strDateEnd,strTotalRecord,strPropertyID,strfromUrl,strCounttype,strSubwayID,strSubwayStationID,callback,context){return new ajax_request(this.url + '?_method=BolInstorSalecount&_session=no','strBoroughID=' + enc(strBoroughID)+ '\r\nstrPlateID=' + enc(strPlateID)+ '\r\nstrkeyWord=' + enc(strkeyWord)+ '\r\nstrPage=' + enc(strPage)+ '\r\nstrHouseType=' + enc(strHouseType)+ '\r\nstrPrice=' + enc(strPrice)+ '\r\nstrhousetypeID=' + enc(strhousetypeID)+ '\r\nstrSourceID=' + enc(strSourceID)+ '\r\nstrOrder=' + enc(strOrder)+ '\r\nstrDateStart=' + enc(strDateStart)+ '\r\nstrDateEnd=' + enc(strDateEnd)+ '\r\nstrTotalRecord=' + enc(strTotalRecord)+ '\r\nstrPropertyID=' + enc(strPropertyID)+ '\r\nstrfromUrl=' + enc(strfromUrl)+ '\r\nstrCounttype=' + enc(strCounttype)+ '\r\nstrSubwayID=' + enc(strSubwayID)+ '\r\nstrSubwayStationID=' + enc(strSubwayStationID),callback, context);}, SearchAgencyName:function(AgencyName,cityId,boroughid,callback,context){return new ajax_request(this.url + '?_method=SearchAgencyName&_session=no','AgencyName=' + enc(AgencyName)+ '\r\ncityId=' + enc(cityId)+ '\r\nboroughid=' + enc(boroughid),callback, context);}, strEvaluation:function(strContactUserid,strUserid,callback,context){return new ajax_request(this.url + '?_method=strEvaluation&_session=no','strContactUserid=' + enc(strContactUserid)+ '\r\nstrUserid=' + enc(strUserid),callback, context);}, updatetext:function(strID,strtxt,strUserid,strContactUserid,callback,context){return new ajax_request(this.url + '?_method=updatetext&_session=no','strID=' + enc(strID)+ '\r\nstrtxt=' + enc(strtxt)+ '\r\nstrUserid=' + enc(strUserid)+ '\r\nstrContactUserid=' + enc(strContactUserid),callback, context);}, addHouserView:function(strBoroughID,strPlateID,strhousetype,strPrice,strtype,strSource,strstartTime,strendTime,strPauseDateTime,strUserIP,strPropertyID,strfromUrl,strCounttype,strcityID,strUserCollection,strUserSendEmail,strUserBao,strsessionID,strPriceFlag,callback,context){return new ajax_request(this.url + '?_method=addHouserView&_session=no','strBoroughID=' + enc(strBoroughID)+ '\r\nstrPlateID=' + enc(strPlateID)+ '\r\nstrhousetype=' + enc(strhousetype)+ '\r\nstrPrice=' + enc(strPrice)+ '\r\nstrtype=' + enc(strtype)+ '\r\nstrSource=' + enc(strSource)+ '\r\nstrstartTime=' + enc(strstartTime)+ '\r\nstrendTime=' + enc(strendTime)+ '\r\nstrPauseDateTime=' + enc(strPauseDateTime)+ '\r\nstrUserIP=' + enc(strUserIP)+ '\r\nstrPropertyID=' + enc(strPropertyID)+ '\r\nstrfromUrl=' + enc(strfromUrl)+ '\r\nstrCounttype=' + enc(strCounttype)+ '\r\nstrcityID=' + enc(strcityID)+ '\r\nstrUserCollection=' + enc(strUserCollection)+ '\r\nstrUserSendEmail=' + enc(strUserSendEmail)+ '\r\nstrUserBao=' + enc(strUserBao)+ '\r\nstrsessionID=' + enc(strsessionID)+ '\r\nstrPriceFlag=' + enc(strPriceFlag),callback, context);}, strPriceLog:function(strHouseID,strUserid,callback,context){return new ajax_request(this.url + '?_method=strPriceLog&_session=no','strHouseID=' + enc(strHouseID)+ '\r\nstrUserid=' + enc(strUserid),callback, context);}, url:'/ajax/SW.BS.AjaxUI.AjaxFun,Business.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;} function _getTable(n,e){for(var i=0; i