// cached javascript var NewsClass = { SetAutoNewsKindSQL:function(OperatorBranchIndex,OperatorNo,OperatorIP,Action,BranchIndex,KindIndex,Name,ShortName,Ename,Site,KindClass,CreateDate,AccessLevel,OrderCol,HasChild,IfRedirect,Redirection,iOwnDepartment,Status,NewSiteKind,Reserve,callback,context){return new ajax_request(this.url + '?_method=SetAutoNewsKindSQL&_session=r','OperatorBranchIndex=' + enc(OperatorBranchIndex)+ '\r\nOperatorNo=' + enc(OperatorNo)+ '\r\nOperatorIP=' + enc(OperatorIP)+ '\r\nAction=' + enc(Action)+ '\r\nBranchIndex=' + enc(BranchIndex)+ '\r\nKindIndex=' + enc(KindIndex)+ '\r\nName=' + enc(Name)+ '\r\nShortName=' + enc(ShortName)+ '\r\nEname=' + enc(Ename)+ '\r\nSite=' + enc(Site)+ '\r\nKindClass=' + enc(KindClass)+ '\r\nCreateDate=' + enc(CreateDate)+ '\r\nAccessLevel=' + enc(AccessLevel)+ '\r\nOrderCol=' + enc(OrderCol)+ '\r\nHasChild=' + enc(HasChild)+ '\r\nIfRedirect=' + enc(IfRedirect)+ '\r\nRedirection=' + enc(Redirection)+ '\r\niOwnDepartment=' + enc(iOwnDepartment)+ '\r\nStatus=' + enc(Status)+ '\r\nNewSiteKind=' + enc(NewSiteKind)+ '\r\nReserve=' + enc(Reserve),callback, context);}, SetAutoNewsSQL:function(OperatorBranchIndex,OperatorNo,OperatorIP,Action,BranchIndex,NewsIndex,KindIndex,ParentKindIndex,Site,Title,SecondTitle,KeyWords,NewsFrom,NewsFormto,Path,Url,AccessRight,TempIndex,PubDate,PubTime,ReadTimes,IfHot,IfPic,IfCommendable,IfRedirect,Redirection,PublishKind,AuditStatus,Status,Content,TxtContent,Reserve,callback,context){return new ajax_request(this.url + '?_method=SetAutoNewsSQL&_session=r','OperatorBranchIndex=' + enc(OperatorBranchIndex)+ '\r\nOperatorNo=' + enc(OperatorNo)+ '\r\nOperatorIP=' + enc(OperatorIP)+ '\r\nAction=' + enc(Action)+ '\r\nBranchIndex=' + enc(BranchIndex)+ '\r\nNewsIndex=' + enc(NewsIndex)+ '\r\nKindIndex=' + enc(KindIndex)+ '\r\nParentKindIndex=' + enc(ParentKindIndex)+ '\r\nSite=' + enc(Site)+ '\r\nTitle=' + enc(Title)+ '\r\nSecondTitle=' + enc(SecondTitle)+ '\r\nKeyWords=' + enc(KeyWords)+ '\r\nNewsFrom=' + enc(NewsFrom)+ '\r\nNewsFormto=' + enc(NewsFormto)+ '\r\nPath=' + enc(Path)+ '\r\nUrl=' + enc(Url)+ '\r\nAccessRight=' + enc(AccessRight)+ '\r\nTempIndex=' + enc(TempIndex)+ '\r\nPubDate=' + enc(PubDate)+ '\r\nPubTime=' + enc(PubTime)+ '\r\nReadTimes=' + enc(ReadTimes)+ '\r\nIfHot=' + enc(IfHot)+ '\r\nIfPic=' + enc(IfPic)+ '\r\nIfCommendable=' + enc(IfCommendable)+ '\r\nIfRedirect=' + enc(IfRedirect)+ '\r\nRedirection=' + enc(Redirection)+ '\r\nPublishKind=' + enc(PublishKind)+ '\r\nAuditStatus=' + enc(AuditStatus)+ '\r\nStatus=' + enc(Status)+ '\r\nContent=' + enc(Content)+ '\r\nTxtContent=' + enc(TxtContent)+ '\r\nReserve=' + enc(Reserve),callback, context);}, SetAutoNewsTemplateSQL:function(OperatorBranchIndex,OperatorNo,OperatorIP,Action,BranchIndex,TemplateIndex,Name,Content,CreateDate,LatestDate,TempFileName,Status,Reserve,callback,context){return new ajax_request(this.url + '?_method=SetAutoNewsTemplateSQL&_session=r','OperatorBranchIndex=' + enc(OperatorBranchIndex)+ '\r\nOperatorNo=' + enc(OperatorNo)+ '\r\nOperatorIP=' + enc(OperatorIP)+ '\r\nAction=' + enc(Action)+ '\r\nBranchIndex=' + enc(BranchIndex)+ '\r\nTemplateIndex=' + enc(TemplateIndex)+ '\r\nName=' + enc(Name)+ '\r\nContent=' + enc(Content)+ '\r\nCreateDate=' + enc(CreateDate)+ '\r\nLatestDate=' + enc(LatestDate)+ '\r\nTempFileName=' + enc(TempFileName)+ '\r\nStatus=' + enc(Status)+ '\r\nReserve=' + enc(Reserve),callback, context);}, SetAutoNewsPicShiftSQL:function(OperatorBranchIndex,OperatorNo,OperatorIP,Action,NewsIndex,NewsKind,PicFilename,ShowName,callback,context){return new ajax_request(this.url + '?_method=SetAutoNewsPicShiftSQL&_session=r','OperatorBranchIndex=' + enc(OperatorBranchIndex)+ '\r\nOperatorNo=' + enc(OperatorNo)+ '\r\nOperatorIP=' + enc(OperatorIP)+ '\r\nAction=' + enc(Action)+ '\r\nNewsIndex=' + enc(NewsIndex)+ '\r\nNewsKind=' + enc(NewsKind)+ '\r\nPicFilename=' + enc(PicFilename)+ '\r\nShowName=' + enc(ShowName),callback, context);}, SetAutoNewsLinkSQL:function(OperatorBranchIndex,OperatorNo,OperatorIP,Action,BranchIndex,LinkIndex,LinkGroup,LinkName,Url,OrderCol,Status,Reserve,callback,context){return new ajax_request(this.url + '?_method=SetAutoNewsLinkSQL&_session=r','OperatorBranchIndex=' + enc(OperatorBranchIndex)+ '\r\nOperatorNo=' + enc(OperatorNo)+ '\r\nOperatorIP=' + enc(OperatorIP)+ '\r\nAction=' + enc(Action)+ '\r\nBranchIndex=' + enc(BranchIndex)+ '\r\nLinkIndex=' + enc(LinkIndex)+ '\r\nLinkGroup=' + enc(LinkGroup)+ '\r\nLinkName=' + enc(LinkName)+ '\r\nUrl=' + enc(Url)+ '\r\nOrderCol=' + enc(OrderCol)+ '\r\nStatus=' + enc(Status)+ '\r\nReserve=' + enc(Reserve),callback, context);}, SetAutoNewsQuestionSQL:function(OperatorBranchIndex,OperatorNo,OperatorIP,Action,BranchIndex,QuestionIndex,QuestionKind,Asker,Tel,Address,Title,Question,Answer,AuditStatus,Status,Reserve,ClientIndex,callback,context){return new ajax_request(this.url + '?_method=SetAutoNewsQuestionSQL&_session=r','OperatorBranchIndex=' + enc(OperatorBranchIndex)+ '\r\nOperatorNo=' + enc(OperatorNo)+ '\r\nOperatorIP=' + enc(OperatorIP)+ '\r\nAction=' + enc(Action)+ '\r\nBranchIndex=' + enc(BranchIndex)+ '\r\nQuestionIndex=' + enc(QuestionIndex)+ '\r\nQuestionKind=' + enc(QuestionKind)+ '\r\nAsker=' + enc(Asker)+ '\r\nTel=' + enc(Tel)+ '\r\nAddress=' + enc(Address)+ '\r\nTitle=' + enc(Title)+ '\r\nQuestion=' + enc(Question)+ '\r\nAnswer=' + enc(Answer)+ '\r\nAuditStatus=' + enc(AuditStatus)+ '\r\nStatus=' + enc(Status)+ '\r\nReserve=' + enc(Reserve)+ '\r\nClientIndex=' + enc(ClientIndex),callback, context);}, SetAutoNewsPiclinkSQL:function(OperatorBranchIndex,OperatorNo,OperatorIP,Action,BranchIndex,PiclinkIndex,LinkGroupIndex,Url,LinkName,PicHttp,PicTitle,Description,Status,Reserve,callback,context){return new ajax_request(this.url + '?_method=SetAutoNewsPiclinkSQL&_session=r','OperatorBranchIndex=' + enc(OperatorBranchIndex)+ '\r\nOperatorNo=' + enc(OperatorNo)+ '\r\nOperatorIP=' + enc(OperatorIP)+ '\r\nAction=' + enc(Action)+ '\r\nBranchIndex=' + enc(BranchIndex)+ '\r\nPiclinkIndex=' + enc(PiclinkIndex)+ '\r\nLinkGroupIndex=' + enc(LinkGroupIndex)+ '\r\nUrl=' + enc(Url)+ '\r\nLinkName=' + enc(LinkName)+ '\r\nPicHttp=' + enc(PicHttp)+ '\r\nPicTitle=' + enc(PicTitle)+ '\r\nDescription=' + enc(Description)+ '\r\nStatus=' + enc(Status)+ '\r\nReserve=' + enc(Reserve),callback, context);}, SetAutoNewsVoteSQL:function(OperatorBranchIndex,OperatorNo,OperatorIP,Action,BranchIndex,VoteIndex,VoteName,Title,Status,Reserve,callback,context){return new ajax_request(this.url + '?_method=SetAutoNewsVoteSQL&_session=r','OperatorBranchIndex=' + enc(OperatorBranchIndex)+ '\r\nOperatorNo=' + enc(OperatorNo)+ '\r\nOperatorIP=' + enc(OperatorIP)+ '\r\nAction=' + enc(Action)+ '\r\nBranchIndex=' + enc(BranchIndex)+ '\r\nVoteIndex=' + enc(VoteIndex)+ '\r\nVoteName=' + enc(VoteName)+ '\r\nTitle=' + enc(Title)+ '\r\nStatus=' + enc(Status)+ '\r\nReserve=' + enc(Reserve),callback, context);}, SetAutoNewsVoteSubSQL:function(OperatorBranchIndex,OperatorNo,OperatorIP,Action,VoteIndex,VoteSubIndex,VoteSubTitle,Votes,Status,Reserve,callback,context){return new ajax_request(this.url + '?_method=SetAutoNewsVoteSubSQL&_session=r','OperatorBranchIndex=' + enc(OperatorBranchIndex)+ '\r\nOperatorNo=' + enc(OperatorNo)+ '\r\nOperatorIP=' + enc(OperatorIP)+ '\r\nAction=' + enc(Action)+ '\r\nVoteIndex=' + enc(VoteIndex)+ '\r\nVoteSubIndex=' + enc(VoteSubIndex)+ '\r\nVoteSubTitle=' + enc(VoteSubTitle)+ '\r\nVotes=' + enc(Votes)+ '\r\nStatus=' + enc(Status)+ '\r\nReserve=' + enc(Reserve),callback, context);}, SetAutNewsKindRightBatchSQL:function(OperatorBranchIndex,OperatorNo,OperatorIP,Action,KindIndexList,OperatorNoList,Rights,Reserve,callback,context){return new ajax_request(this.url + '?_method=SetAutNewsKindRightBatchSQL&_session=r','OperatorBranchIndex=' + enc(OperatorBranchIndex)+ '\r\nOperatorNo=' + enc(OperatorNo)+ '\r\nOperatorIP=' + enc(OperatorIP)+ '\r\nAction=' + enc(Action)+ '\r\nKindIndexList=' + enc(KindIndexList)+ '\r\nOperatorNoList=' + enc(OperatorNoList)+ '\r\nRights=' + enc(Rights)+ '\r\nReserve=' + enc(Reserve),callback, context);}, SetAutNewsKindRightSQL:function(OperatorBranchIndex,OperatorNo,OperatorIP,Action,KindIndex,OpNo,Rights,Reserve,callback,context){return new ajax_request(this.url + '?_method=SetAutNewsKindRightSQL&_session=r','OperatorBranchIndex=' + enc(OperatorBranchIndex)+ '\r\nOperatorNo=' + enc(OperatorNo)+ '\r\nOperatorIP=' + enc(OperatorIP)+ '\r\nAction=' + enc(Action)+ '\r\nKindIndex=' + enc(KindIndex)+ '\r\nOpNo=' + enc(OpNo)+ '\r\nRights=' + enc(Rights)+ '\r\nReserve=' + enc(Reserve),callback, context);}, GetVoteResult:function(VoteIndex,callback,context){return new ajax_request(this.url + '?_method=GetVoteResult&_session=r','VoteIndex=' + enc(VoteIndex),callback, context);}, GetVote:function(callback,context){return new ajax_request(this.url + '?_method=GetVote&_session=r','',callback, context);}, GetPicLink:function(LinkGroup,ColumnCount,PicWidth,PicHeight,IfBorder,callback,context){return new ajax_request(this.url + '?_method=GetPicLink&_session=r','LinkGroup=' + enc(LinkGroup)+ '\r\nColumnCount=' + enc(ColumnCount)+ '\r\nPicWidth=' + enc(PicWidth)+ '\r\nPicHeight=' + enc(PicHeight)+ '\r\nIfBorder=' + enc(IfBorder),callback, context);}, GetNewsGuide:function(BranchIndex,KindIndex,NewsIndex,callback,context){return new ajax_request(this.url + '?_method=GetNewsGuide&_session=r','BranchIndex=' + enc(BranchIndex)+ '\r\nKindIndex=' + enc(KindIndex)+ '\r\nNewsIndex=' + enc(NewsIndex),callback, context);}, GetKindEName:function(KindIndex,callback,context){return new ajax_request(this.url + '?_method=GetKindEName&_session=r','KindIndex=' + enc(KindIndex),callback, context);}, GetKindName:function(KindIndex,callback,context){return new ajax_request(this.url + '?_method=GetKindName&_session=r','KindIndex=' + enc(KindIndex),callback, context);}, GetNewsLinkDDLSQL:function(LinkGroup,Width,callback,context){return new ajax_request(this.url + '?_method=GetNewsLinkDDLSQL&_session=r','LinkGroup=' + enc(LinkGroup)+ '\r\nWidth=' + enc(Width),callback, context);}, GetNewsChain:function(NewsIndex,RowCount,callback,context){return new ajax_request(this.url + '?_method=GetNewsChain&_session=r','NewsIndex=' + enc(NewsIndex)+ '\r\nRowCount=' + enc(RowCount),callback, context);}, SetOperReadTimes:function(OperNo,strReserve,callback,context){return new ajax_request(this.url + '?_method=SetOperReadTimes&_session=r','OperNo=' + enc(OperNo)+ '\r\nstrReserve=' + enc(strReserve),callback, context);}, url:'/ajax/Starland.AutoWeb.News.NewsClass,Starland.AutoWeb.News.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);}