NewsModule_class = function() {};
Object.extend(NewsModule_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetHtml: function(currentPage, moduleId, portalId) {
		return this.invoke("GetHtml", {"currentPage":currentPage, "moduleId":moduleId, "portalId":portalId}, this.GetHtml.getArguments().slice(3));
	},
	GetCMSUserName: function(portalId, userId) {
		return this.invoke("GetCMSUserName", {"portalId":portalId, "userId":userId}, this.GetCMSUserName.getArguments().slice(2));
	},
	ProtectJavascript: function(strToProtect) {
		return this.invoke("ProtectJavascript", {"strToProtect":strToProtect}, this.ProtectJavascript.getArguments().slice(1));
	},
	GetTotalPage: function(intTotalRow, perPage) {
		return this.invoke("GetTotalPage", {"intTotalRow":intTotalRow, "perPage":perPage}, this.GetTotalPage.getArguments().slice(2));
	},
	CMS_GetArticlesFull: function(isAdvance, dateMode, typeId, strTags, strCategories, order, orderType, strRoles, portalId, isSuperUser, startDateString, endDateString, strMultiTags, tagGroupCount, content, isSummary, userId, strGroups, isDeleted, status, isGetStatus, hotPinCount, isUseVariable, variable, paramValue, startRow, maxRows, maxLead, dateFormat) {
		return this.invoke("CMS_GetArticlesFull", {"isAdvance":isAdvance, "dateMode":dateMode, "typeId":typeId, "strTags":strTags, "strCategories":strCategories, "order":order, "orderType":orderType, "strRoles":strRoles, "portalId":portalId, "isSuperUser":isSuperUser, "startDateString":startDateString, "endDateString":endDateString, "strMultiTags":strMultiTags, "tagGroupCount":tagGroupCount, "content":content, "isSummary":isSummary, "userId":userId, "strGroups":strGroups, "isDeleted":isDeleted, "status":status, "isGetStatus":isGetStatus, "hotPinCount":hotPinCount, "isUseVariable":isUseVariable, "variable":variable, "paramValue":paramValue, "startRow":startRow, "maxRows":maxRows, "maxLead":maxLead, "dateFormat":dateFormat}, this.CMS_GetArticlesFull.getArguments().slice(29));
	},
	CMS_GetArticlesFullDP: function(isAdvance, dateMode, typeId, strTags, strCategories, order, orderType, strRoles, portalId, isSuperUser, startDateString, endDateString, strMultiTags, tagGroupCount, content, isSummary, userId, strGroups, isDeleted, status, isGetStatus, hotPinCount, isUseVariable, variable, paramValue, dpCollections, startRow, maxRows, maxLead, dateFormat) {
		return this.invoke("CMS_GetArticlesFullDP", {"isAdvance":isAdvance, "dateMode":dateMode, "typeId":typeId, "strTags":strTags, "strCategories":strCategories, "order":order, "orderType":orderType, "strRoles":strRoles, "portalId":portalId, "isSuperUser":isSuperUser, "startDateString":startDateString, "endDateString":endDateString, "strMultiTags":strMultiTags, "tagGroupCount":tagGroupCount, "content":content, "isSummary":isSummary, "userId":userId, "strGroups":strGroups, "isDeleted":isDeleted, "status":status, "isGetStatus":isGetStatus, "hotPinCount":hotPinCount, "isUseVariable":isUseVariable, "variable":variable, "paramValue":paramValue, "dpCollections":dpCollections, "startRow":startRow, "maxRows":maxRows, "maxLead":maxLead, "dateFormat":dateFormat}, this.CMS_GetArticlesFullDP.getArguments().slice(30));
	},
	CMS_ProcessArticleDataset: function(objDS, maxLead, dateFormat) {
		return this.invoke("CMS_ProcessArticleDataset", {"objDS":objDS, "maxLead":maxLead, "dateFormat":dateFormat}, this.CMS_ProcessArticleDataset.getArguments().slice(3));
	},
	CMS_GetArticlesFullExtra: function(isAdvance, dateMode, typeId, strTags, strCategories, order, orderType, strRoles, portalId, isSuperUser, startDateString, endDateString, strMultiTags, tagGroupCount, content, isSummary, userId, strGroups, isDeleted, status, isGetStatus, hotPinCount, isUseVariable, variable, paramValue, startRow, maxRows, isIncludeCats, isIncludeTags, strIncludedDPCategories, maxLead, dateFormat) {
		return this.invoke("CMS_GetArticlesFullExtra", {"isAdvance":isAdvance, "dateMode":dateMode, "typeId":typeId, "strTags":strTags, "strCategories":strCategories, "order":order, "orderType":orderType, "strRoles":strRoles, "portalId":portalId, "isSuperUser":isSuperUser, "startDateString":startDateString, "endDateString":endDateString, "strMultiTags":strMultiTags, "tagGroupCount":tagGroupCount, "content":content, "isSummary":isSummary, "userId":userId, "strGroups":strGroups, "isDeleted":isDeleted, "status":status, "isGetStatus":isGetStatus, "hotPinCount":hotPinCount, "isUseVariable":isUseVariable, "variable":variable, "paramValue":paramValue, "startRow":startRow, "maxRows":maxRows, "isIncludeCats":isIncludeCats, "isIncludeTags":isIncludeTags, "strIncludedDPCategories":strIncludedDPCategories, "maxLead":maxLead, "dateFormat":dateFormat}, this.CMS_GetArticlesFullExtra.getArguments().slice(32));
	},
	CMS_GetArticlesFullExtraDP: function(isAdvance, dateMode, typeId, strTags, strCategories, order, orderType, strRoles, portalId, isSuperUser, startDateString, endDateString, strMultiTags, tagGroupCount, content, isSummary, userId, strGroups, isDeleted, status, isGetStatus, hotPinCount, isUseVariable, variable, paramValue, dpCollections, startRow, maxRows, isIncludeCats, isIncludeTags, strIncludedDPCategories, maxLead, dateFormat) {
		return this.invoke("CMS_GetArticlesFullExtraDP", {"isAdvance":isAdvance, "dateMode":dateMode, "typeId":typeId, "strTags":strTags, "strCategories":strCategories, "order":order, "orderType":orderType, "strRoles":strRoles, "portalId":portalId, "isSuperUser":isSuperUser, "startDateString":startDateString, "endDateString":endDateString, "strMultiTags":strMultiTags, "tagGroupCount":tagGroupCount, "content":content, "isSummary":isSummary, "userId":userId, "strGroups":strGroups, "isDeleted":isDeleted, "status":status, "isGetStatus":isGetStatus, "hotPinCount":hotPinCount, "isUseVariable":isUseVariable, "variable":variable, "paramValue":paramValue, "dpCollections":dpCollections, "startRow":startRow, "maxRows":maxRows, "isIncludeCats":isIncludeCats, "isIncludeTags":isIncludeTags, "strIncludedDPCategories":strIncludedDPCategories, "maxLead":maxLead, "dateFormat":dateFormat}, this.CMS_GetArticlesFullExtraDP.getArguments().slice(33));
	},
	CMS_GetArticleCounter: function(articleId) {
		return this.invoke("CMS_GetArticleCounter", {"articleId":articleId}, this.CMS_GetArticleCounter.getArguments().slice(1));
	},
	CMS_GetArticleDynamicTable: function(articleId, categoryId) {
		return this.invoke("CMS_GetArticleDynamicTable", {"articleId":articleId, "categoryId":categoryId}, this.CMS_GetArticleDynamicTable.getArguments().slice(2));
	},
	CMS_GetArticleDetailView: function(articleId, dateFormat) {
		return this.invoke("CMS_GetArticleDetailView", {"articleId":articleId, "dateFormat":dateFormat}, this.CMS_GetArticleDetailView.getArguments().slice(2));
	},
	CMS_GetArticleDetail: function(articleId, isLastest, isNext, isRelated, isSimiliar, isPrevious, order, strRoles, portalId, isSuperUser, percentage, isUseVariable, variable, paramValue, strIncludedDPCategories, isIncludeCats, isIncludeTags, dateFormat) {
		return this.invoke("CMS_GetArticleDetail", {"articleId":articleId, "isLastest":isLastest, "isNext":isNext, "isRelated":isRelated, "isSimiliar":isSimiliar, "isPrevious":isPrevious, "order":order, "strRoles":strRoles, "portalId":portalId, "isSuperUser":isSuperUser, "percentage":percentage, "isUseVariable":isUseVariable, "variable":variable, "paramValue":paramValue, "strIncludedDPCategories":strIncludedDPCategories, "isIncludeCats":isIncludeCats, "isIncludeTags":isIncludeTags, "dateFormat":dateFormat}, this.CMS_GetArticleDetail.getArguments().slice(18));
	},
	CMS_PublicArticle: function(articleId, portalId, userId, userName, isSuperUser) {
		return this.invoke("CMS_PublicArticle", {"articleId":articleId, "portalId":portalId, "userId":userId, "userName":userName, "isSuperUser":isSuperUser}, this.CMS_PublicArticle.getArguments().slice(5));
	},
	CMS_DenyArticle: function(articleId, portalId, userId, userName, isSuperUser, reason) {
		return this.invoke("CMS_DenyArticle", {"articleId":articleId, "portalId":portalId, "userId":userId, "userName":userName, "isSuperUser":isSuperUser, "reason":reason}, this.CMS_DenyArticle.getArguments().slice(6));
	},
	CMS_DeleteArticle: function(articleId, portalId, userId, userName) {
		return this.invoke("CMS_DeleteArticle", {"articleId":articleId, "portalId":portalId, "userId":userId, "userName":userName}, this.CMS_DeleteArticle.getArguments().slice(4));
	},
	CMS_IAShort: function(title, lead, content, userId, userName, portalId, strCategories) {
		return this.invoke("CMS_IAShort", {"title":title, "lead":lead, "content":content, "userId":userId, "userName":userName, "portalId":portalId, "strCategories":strCategories}, this.CMS_IAShort.getArguments().slice(7));
	},
	CMS_GetStatus: function(articleId, portalId) {
		return this.invoke("CMS_GetStatus", {"articleId":articleId, "portalId":portalId}, this.CMS_GetStatus.getArguments().slice(2));
	},
	LoadTextFromFile: function(fileKey, secondsUntilExpired) {
		return this.invoke("LoadTextFromFile", {"fileKey":fileKey, "secondsUntilExpired":secondsUntilExpired}, this.LoadTextFromFile.getArguments().slice(2));
	},
	FormatDate: function(date, format) {
		return this.invoke("FormatDate", {"date":date, "format":format}, this.FormatDate.getArguments().slice(2));
	},
	FormatDate: function(date, format, cultureInfo) {
		return this.invoke("FormatDate", {"date":date, "format":format, "cultureInfo":cultureInfo}, this.FormatDate.getArguments().slice(3));
	},
	IsPastToday: function(date, intDayCount) {
		return this.invoke("IsPastToday", {"date":date, "intDayCount":intDayCount}, this.IsPastToday.getArguments().slice(2));
	},
	CMS_GetArticles: function(isAdvance, dateMode, strTags, strCategories, order, orderType, strRoles, portalId, isSuperUser, startDateString, endDateString, strMultiTags, tagGroupCount, content, isSummary, userId, strGroups, isUseVariable, variable, paramValue, startRow, maxRow, strHtml, imagePreFix, seperation, formatDate, strDPCategories) {
		return this.invoke("CMS_GetArticles", {"isAdvance":isAdvance, "dateMode":dateMode, "strTags":strTags, "strCategories":strCategories, "order":order, "orderType":orderType, "strRoles":strRoles, "portalId":portalId, "isSuperUser":isSuperUser, "startDateString":startDateString, "endDateString":endDateString, "strMultiTags":strMultiTags, "tagGroupCount":tagGroupCount, "content":content, "isSummary":isSummary, "userId":userId, "strGroups":strGroups, "isUseVariable":isUseVariable, "variable":variable, "paramValue":paramValue, "startRow":startRow, "maxRow":maxRow, "strHtml":strHtml, "imagePreFix":imagePreFix, "seperation":seperation, "formatDate":formatDate, "strDPCategories":strDPCategories}, this.CMS_GetArticles.getArguments().slice(27));
	},
	Comment_UpdateComment: function(comment, itemId, typeId, userName, userEmail, commentTitle, commentImage, status) {
		return this.invoke("Comment_UpdateComment", {"comment":comment, "itemId":itemId, "typeId":typeId, "userName":userName, "userEmail":userEmail, "commentTitle":commentTitle, "commentImage":commentImage, "status":status}, this.Comment_UpdateComment.getArguments().slice(8));
	},
	Comment_DeleteComment: function(itemId, typeId) {
		return this.invoke("Comment_DeleteComment", {"itemId":itemId, "typeId":typeId}, this.Comment_DeleteComment.getArguments().slice(2));
	},
	Comment_ChangeCommentStatus: function(itemId, typeId, desireStatus) {
		return this.invoke("Comment_ChangeCommentStatus", {"itemId":itemId, "typeId":typeId, "desireStatus":desireStatus}, this.Comment_ChangeCommentStatus.getArguments().slice(3));
	},
	Comment_GetComments: function(itemId, typeId, startRow, maxRows, strItemCode, seperation, clientPublic, clientPrivate, clientDelete, strPublic, strPrivate, strDelete) {
		return this.invoke("Comment_GetComments", {"itemId":itemId, "typeId":typeId, "startRow":startRow, "maxRows":maxRows, "strItemCode":strItemCode, "seperation":seperation, "clientPublic":clientPublic, "clientPrivate":clientPrivate, "clientDelete":clientDelete, "strPublic":strPublic, "strPrivate":strPrivate, "strDelete":strDelete}, this.Comment_GetComments.getArguments().slice(12));
	},
	GetUserId: function() {
		return this.invoke("GetUserId", {}, this.GetUserId.getArguments().slice(0));
	},
	GetUserName: function() {
		return this.invoke("GetUserName", {}, this.GetUserName.getArguments().slice(0));
	},
	LoadSmileyNew: function(id, folder, set, extension, clickFunction, hoverFunction, closeFunction, startIndex, endIndex, host) {
		return this.invoke("LoadSmileyNew", {"id":id, "folder":folder, "set":set, "extension":extension, "clickFunction":clickFunction, "hoverFunction":hoverFunction, "closeFunction":closeFunction, "startIndex":startIndex, "endIndex":endIndex, "host":host}, this.LoadSmileyNew.getArguments().slice(10));
	},
	LoadSmiley: function(id, folder, set, extension, clickFunction, hoverFunction, closeFunction, startIndex, endIndex, host) {
		return this.invoke("LoadSmiley", {"id":id, "folder":folder, "set":set, "extension":extension, "clickFunction":clickFunction, "hoverFunction":hoverFunction, "closeFunction":closeFunction, "startIndex":startIndex, "endIndex":endIndex, "host":host}, this.LoadSmiley.getArguments().slice(10));
	},
	UpdateRating: function(itemId, mark, typeId) {
		return this.invoke("UpdateRating", {"itemId":itemId, "mark":mark, "typeId":typeId}, this.UpdateRating.getArguments().slice(3));
	},
	GetCurrentUserRating: function(itemId, typeId) {
		return this.invoke("GetCurrentUserRating", {"itemId":itemId, "typeId":typeId}, this.GetCurrentUserRating.getArguments().slice(2));
	},
	GetRating: function(itemId, typeId) {
		return this.invoke("GetRating", {"itemId":itemId, "typeId":typeId}, this.GetRating.getArguments().slice(2));
	},
	GetRatingVotes: function(itemId, typeId) {
		return this.invoke("GetRatingVotes", {"itemId":itemId, "typeId":typeId}, this.GetRatingVotes.getArguments().slice(2));
	},
	url: '/ajaxpro/AG.Web.ArticleList,App_Web_articlelist.ascx.4a0e848.gk3lys9c.ashx'
}));
NewsModule = new NewsModule_class();

