// cached javascript var CommentPage = { InsertCommentData:function(sChannelType,sNewId,revertID,sContent,url,callback,context){return new ajax_request(this.url + '?_method=InsertCommentData&_session=r','sChannelType=' + enc(sChannelType)+ '\r\nsNewId=' + enc(sNewId)+ '\r\nrevertID=' + enc(revertID)+ '\r\nsContent=' + enc(sContent)+ '\r\nurl=' + enc(url),callback, context);}, InsertCommentDataByModoer:function(sChannelType,sNewId,revertID,sContent,url,sModoerList,sExtendList,callback,context){return new ajax_request(this.url + '?_method=InsertCommentDataByModoer&_session=r','sChannelType=' + enc(sChannelType)+ '\r\nsNewId=' + enc(sNewId)+ '\r\nrevertID=' + enc(revertID)+ '\r\nsContent=' + enc(sContent)+ '\r\nurl=' + enc(url)+ '\r\nsModoerList=' + enc(sModoerList)+ '\r\nsExtendList=' + enc(sExtendList),callback, context);}, InsertCommentData1:function(sChannelType,sNewId,revertID,sContent,url,argUserID,callback,context){return new ajax_request(this.url + '?_method=InsertCommentData1&_session=r','sChannelType=' + enc(sChannelType)+ '\r\nsNewId=' + enc(sNewId)+ '\r\nrevertID=' + enc(revertID)+ '\r\nsContent=' + enc(sContent)+ '\r\nurl=' + enc(url)+ '\r\nargUserID=' + enc(argUserID),callback, context);}, GetTopCommmentRecord:function(sChannelType,sNewId,pageIndex,pageSize,callback,context){return new ajax_request(this.url + '?_method=GetTopCommmentRecord&_session=r','sChannelType=' + enc(sChannelType)+ '\r\nsNewId=' + enc(sNewId)+ '\r\npageIndex=' + enc(pageIndex)+ '\r\npageSize=' + enc(pageSize),callback, context);}, GetHotCommmentRecord:function(sChannelType,sNewId,pageIndex,pageSize,callback,context){return new ajax_request(this.url + '?_method=GetHotCommmentRecord&_session=r','sChannelType=' + enc(sChannelType)+ '\r\nsNewId=' + enc(sNewId)+ '\r\npageIndex=' + enc(pageIndex)+ '\r\npageSize=' + enc(pageSize),callback, context);}, GetTopCommmentRecordByModoer:function(sChannelType,sNewId,pageIndex,pageSize,callback,context){return new ajax_request(this.url + '?_method=GetTopCommmentRecordByModoer&_session=r','sChannelType=' + enc(sChannelType)+ '\r\nsNewId=' + enc(sNewId)+ '\r\npageIndex=' + enc(pageIndex)+ '\r\npageSize=' + enc(pageSize),callback, context);}, GetAllCommentPageCount:function(sChannelType,sNewId,pageSize,callback,context){return new ajax_request(this.url + '?_method=GetAllCommentPageCount&_session=r','sChannelType=' + enc(sChannelType)+ '\r\nsNewId=' + enc(sNewId)+ '\r\npageSize=' + enc(pageSize),callback, context);}, GeteAllCommentCount:function(sChannelType,sNewId,callback,context){return new ajax_request(this.url + '?_method=GeteAllCommentCount&_session=r','sChannelType=' + enc(sChannelType)+ '\r\nsNewId=' + enc(sNewId),callback, context);}, GetNewCommentUserID:function(callback,context){return new ajax_request(this.url + '?_method=GetNewCommentUserID&_session=r','',callback, context);}, GetCommentDataById:function(argID,callback,context){return new ajax_request(this.url + '?_method=GetCommentDataById&_session=r','argID=' + enc(argID),callback, context);}, GetRevertCommentDataByParentID:function(argParantID,callback,context){return new ajax_request(this.url + '?_method=GetRevertCommentDataByParentID&_session=r','argParantID=' + enc(argParantID),callback, context);}, PrizeComment:function(argID,prizeFlg,callback,context){return new ajax_request(this.url + '?_method=PrizeComment&_session=r','argID=' + enc(argID)+ '\r\nprizeFlg=' + enc(prizeFlg),callback, context);}, SetTopComment:function(argTopFlg,argID,callback,context){return new ajax_request(this.url + '?_method=SetTopComment&_session=r','argTopFlg=' + enc(argTopFlg)+ '\r\nargID=' + enc(argID),callback, context);}, SetRecommend:function(argRecommendFlg,argID,callback,context){return new ajax_request(this.url + '?_method=SetRecommend&_session=r','argRecommendFlg=' + enc(argRecommendFlg)+ '\r\nargID=' + enc(argID),callback, context);}, DeleteComment:function(argID,callback,context){return new ajax_request(this.url + '?_method=DeleteComment&_session=r','argID=' + enc(argID),callback, context);}, AuthOperator:function(callback,context){return new ajax_request(this.url + '?_method=AuthOperator&_session=r','',callback, context);}, GetChannelModoerItem:function(sChannelType,callback,context){return new ajax_request(this.url + '?_method=GetChannelModoerItem&_session=r','sChannelType=' + enc(sChannelType),callback, context);}, AddSupport:function(argID,callback,context){return new ajax_request(this.url + '?_method=AddSupport&_session=r','argID=' + enc(argID),callback, context);}, InsertImageComm:function(argID,rbcheck,Type,callback,context){return new ajax_request(this.url + '?_method=InsertImageComm&_session=r','argID=' + enc(argID)+ '\r\nrbcheck=' + enc(rbcheck)+ '\r\nType=' + enc(Type),callback, context);}, ShowImageComm:function(argID,Type,callback,context){return new ajax_request(this.url + '?_method=ShowImageComm&_session=r','argID=' + enc(argID)+ '\r\nType=' + enc(Type),callback, context);}, url:'/ajax/comm.BusinessRule.CommentPage,comm.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);}