// cached javascript var BbsAjax = { SetBoardAdmin:function(users,boardId,callback,context){return new ajax_request(this.url + '?_method=SetBoardAdmin&_session=no','users=' + enc(users)+ '\r\nboardId=' + enc(boardId),callback, context);}, AddUserToGroup:function(users,userType,callback,context){return new ajax_request(this.url + '?_method=AddUserToGroup&_session=no','users=' + enc(users)+ '\r\nuserType=' + enc(userType),callback, context);}, AddReveal:function(topicId,noteId,message,callback,context){return new ajax_request(this.url + '?_method=AddReveal&_session=no','topicId=' + enc(topicId)+ '\r\nnoteId=' + enc(noteId)+ '\r\nmessage=' + enc(message),callback, context);}, RevealTreate:function(id,message,groupId,operatorId,callback,context){return new ajax_request(this.url + '?_method=RevealTreate&_session=no','id=' + enc(id)+ '\r\nmessage=' + enc(message)+ '\r\ngroupId=' + enc(groupId)+ '\r\noperatorId=' + enc(operatorId),callback, context);}, GetCtlByGroupId:function(groupId,defaultBoardId,callback,context){return new ajax_request(this.url + '?_method=GetCtlByGroupId&_session=no','groupId=' + enc(groupId)+ '\r\ndefaultBoardId=' + enc(defaultBoardId),callback, context);}, UpdHeadship:function(groupId,userId,operatorId,headShip,callback,context){return new ajax_request(this.url + '?_method=UpdHeadship&_session=no','groupId=' + enc(groupId)+ '\r\nuserId=' + enc(userId)+ '\r\noperatorId=' + enc(operatorId)+ '\r\nheadShip=' + enc(headShip),callback, context);}, AddBoard:function(parentId,name,groupId,admin,desc,titleImg,boardRights,allowUser,allowTopicType,rules,allowSub,currentUserId,arrangeType,arrangeAmount,hideStatus,teams,callback,context){return new ajax_request(this.url + '?_method=AddBoard&_session=no','parentId=' + enc(parentId)+ '\r\nname=' + enc(name)+ '\r\ngroupId=' + enc(groupId)+ '\r\nadmin=' + enc(admin)+ '\r\ndesc=' + enc(desc)+ '\r\ntitleImg=' + enc(titleImg)+ '\r\nboardRights=' + enc(boardRights)+ '\r\nallowUser=' + enc(allowUser)+ '\r\nallowTopicType=' + enc(allowTopicType)+ '\r\nrules=' + enc(rules)+ '\r\nallowSub=' + enc(allowSub)+ '\r\ncurrentUserId=' + enc(currentUserId)+ '\r\narrangeType=' + enc(arrangeType)+ '\r\narrangeAmount=' + enc(arrangeAmount)+ '\r\nhideStatus=' + enc(hideStatus)+ '\r\nteams=' + enc(teams),callback, context);}, UpdBoard:function(boardId,parentId,name,admin,desc,titleImg,isLocked,boardRights,allowUser,allowTopicType,rules,allowSub,currentUserId,arrangeType,arrangeAmount,hideStatus,teams,callback,context){return new ajax_request(this.url + '?_method=UpdBoard&_session=no','boardId=' + enc(boardId)+ '\r\nparentId=' + enc(parentId)+ '\r\nname=' + enc(name)+ '\r\nadmin=' + enc(admin)+ '\r\ndesc=' + enc(desc)+ '\r\ntitleImg=' + enc(titleImg)+ '\r\nisLocked=' + enc(isLocked)+ '\r\nboardRights=' + enc(boardRights)+ '\r\nallowUser=' + enc(allowUser)+ '\r\nallowTopicType=' + enc(allowTopicType)+ '\r\nrules=' + enc(rules)+ '\r\nallowSub=' + enc(allowSub)+ '\r\ncurrentUserId=' + enc(currentUserId)+ '\r\narrangeType=' + enc(arrangeType)+ '\r\narrangeAmount=' + enc(arrangeAmount)+ '\r\nhideStatus=' + enc(hideStatus)+ '\r\nteams=' + enc(teams),callback, context);}, AddFavoriate:function(account,topicId,callback,context){return new ajax_request(this.url + '?_method=AddFavoriate&_session=no','account=' + enc(account)+ '\r\ntopicId=' + enc(topicId),callback, context);}, GetReplyByTopicId:function(topicId,topRecord,callback,context){return new ajax_request(this.url + '?_method=GetReplyByTopicId&_session=no','topicId=' + enc(topicId)+ '\r\ntopRecord=' + enc(topRecord),callback, context);}, ChangeTopicStyle:function(topicId,style,callback,context){return new ajax_request(this.url + '?_method=ChangeTopicStyle&_session=no','topicId=' + enc(topicId)+ '\r\nstyle=' + enc(style),callback, context);}, ChangeTopicStyleByTopics:function(topicIds,style,groupId,userId,callback,context){return new ajax_request(this.url + '?_method=ChangeTopicStyleByTopics&_session=no','topicIds=' + enc(topicIds)+ '\r\nstyle=' + enc(style)+ '\r\ngroupId=' + enc(groupId)+ '\r\nuserId=' + enc(userId),callback, context);}, ChangeBoardByTopics:function(boardId,topicIds,callback,context){return new ajax_request(this.url + '?_method=ChangeBoardByTopics&_session=no','boardId=' + enc(boardId)+ '\r\ntopicIds=' + enc(topicIds),callback, context);}, ChangeBoardByTopic:function(boardId,topicId,callback,context){return new ajax_request(this.url + '?_method=ChangeBoardByTopic&_session=no','boardId=' + enc(boardId)+ '\r\ntopicId=' + enc(topicId),callback, context);}, GetUserByName:function(groupId,nickName,callback,context){return new ajax_request(this.url + '?_method=GetUserByName&_session=no','groupId=' + enc(groupId)+ '\r\nnickName=' + enc(nickName),callback, context);}, GetBoardAdminByBoard:function(boardId,callback,context){return new ajax_request(this.url + '?_method=GetBoardAdminByBoard&_session=no','boardId=' + enc(boardId),callback, context);}, GetUserIdByName:function(nickName,callback,context){return new ajax_request(this.url + '?_method=GetUserIdByName&_session=no','nickName=' + enc(nickName),callback, context);}, SetMedalsToUser:function(groupId,userId,medals,operatorId,callback,context){return new ajax_request(this.url + '?_method=SetMedalsToUser&_session=no','groupId=' + enc(groupId)+ '\r\nuserId=' + enc(userId)+ '\r\nmedals=' + enc(medals)+ '\r\noperatorId=' + enc(operatorId),callback, context);}, AddSuperBoardMaster:function(groupId,userIds,operatorId,callback,context){return new ajax_request(this.url + '?_method=AddSuperBoardMaster&_session=no','groupId=' + enc(groupId)+ '\r\nuserIds=' + enc(userIds)+ '\r\noperatorId=' + enc(operatorId),callback, context);}, SetGroupAdmin:function(groupId,userIds,callback,context){return new ajax_request(this.url + '?_method=SetGroupAdmin&_session=no','groupId=' + enc(groupId)+ '\r\nuserIds=' + enc(userIds),callback, context);}, url:'/page/ajax/BbsAjax,page_deploy.ashx' } function _getTable(n,e){for(var 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;}