if(typeof ServiceTier == "undefined") ServiceTier={};
if(typeof ServiceTier.CMS == "undefined") ServiceTier.CMS={};
ServiceTier.CMS_class = function() {};
Object.extend(ServiceTier.CMS_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	addCatalog: function(arrCatalog) {
		return this.invoke("addCatalog", {"arrCatalog":arrCatalog}, this.addCatalog.getArguments().slice(1));
	},
	changeCatalog: function(catalogId) {
		return this.invoke("changeCatalog", {"catalogId":catalogId}, this.changeCatalog.getArguments().slice(1));
	},
	deleteCatalog: function(catalogId) {
		return this.invoke("deleteCatalog", {"catalogId":catalogId}, this.deleteCatalog.getArguments().slice(1));
	},
	updateCatalog: function(arrCatalog) {
		return this.invoke("updateCatalog", {"arrCatalog":arrCatalog}, this.updateCatalog.getArguments().slice(1));
	},
	updatePriority: function(catalogId, arrCatalogID, arrPriority) {
		return this.invoke("updatePriority", {"catalogId":catalogId, "arrCatalogID":arrCatalogID, "arrPriority":arrPriority}, this.updatePriority.getArguments().slice(3));
	},
	createNews: function(arrNews, arrCatalogId, rank) {
		return this.invoke("createNews", {"arrNews":arrNews, "arrCatalogId":arrCatalogId, "rank":rank}, this.createNews.getArguments().slice(3));
	},
	saveNews: function(arrNews, arrCatalogId, rank) {
		return this.invoke("saveNews", {"arrNews":arrNews, "arrCatalogId":arrCatalogId, "rank":rank}, this.saveNews.getArguments().slice(3));
	},
	editNews: function(arrNews, arrCatalogId, arrRemoveCatalogId, rank) {
		return this.invoke("editNews", {"arrNews":arrNews, "arrCatalogId":arrCatalogId, "arrRemoveCatalogId":arrRemoveCatalogId, "rank":rank}, this.editNews.getArguments().slice(4));
	},
	getFirstNews: function(catalogId, accountId, status) {
		return this.invoke("getFirstNews", {"catalogId":catalogId, "accountId":accountId, "status":status}, this.getFirstNews.getArguments().slice(3));
	},
	getLastNews: function(catalogId, accountId, status, iTotalRow) {
		return this.invoke("getLastNews", {"catalogId":catalogId, "accountId":accountId, "status":status, "iTotalRow":iTotalRow}, this.getLastNews.getArguments().slice(4));
	},
	getNextNews: function(catalogId, accountId, status, iOnIdLimit) {
		return this.invoke("getNextNews", {"catalogId":catalogId, "accountId":accountId, "status":status, "iOnIdLimit":iOnIdLimit}, this.getNextNews.getArguments().slice(4));
	},
	getPreviousNews: function(catalogId, accountId, status, iUnderIdLimit) {
		return this.invoke("getPreviousNews", {"catalogId":catalogId, "accountId":accountId, "status":status, "iUnderIdLimit":iUnderIdLimit}, this.getPreviousNews.getArguments().slice(4));
	},
	getNewsByPageNumber: function(arrCondition) {
		return this.invoke("getNewsByPageNumber", {"arrCondition":arrCondition}, this.getNewsByPageNumber.getArguments().slice(1));
	},
	getNewsByCatalog: function(catalogId, accountId, status) {
		return this.invoke("getNewsByCatalog", {"catalogId":catalogId, "accountId":accountId, "status":status}, this.getNewsByCatalog.getArguments().slice(3));
	},
	submitNews: function(arrSubmit, arrCondition) {
		return this.invoke("submitNews", {"arrSubmit":arrSubmit, "arrCondition":arrCondition}, this.submitNews.getArguments().slice(2));
	},
	deleteNews: function(arrDelete, arrCondition) {
		return this.invoke("deleteNews", {"arrDelete":arrDelete, "arrCondition":arrCondition}, this.deleteNews.getArguments().slice(2));
	},
	saveComment: function(newsId, accountId, comment) {
		return this.invoke("saveComment", {"newsId":newsId, "accountId":accountId, "comment":comment}, this.saveComment.getArguments().slice(3));
	},
	postNews: function(arrPost, arrCondition) {
		return this.invoke("postNews", {"arrPost":arrPost, "arrCondition":arrCondition}, this.postNews.getArguments().slice(2));
	},
	returnNews: function(arrPost, arrCondition) {
		return this.invoke("returnNews", {"arrPost":arrPost, "arrCondition":arrCondition}, this.returnNews.getArguments().slice(2));
	},
	removeNews: function(arrRemove, arrCondition) {
		return this.invoke("removeNews", {"arrRemove":arrRemove, "arrCondition":arrCondition}, this.removeNews.getArguments().slice(2));
	},
	getFirstDeployNews: function(strCatalogId) {
		return this.invoke("getFirstDeployNews", {"strCatalogId":strCatalogId}, this.getFirstDeployNews.getArguments().slice(1));
	},
	getLastDeployNews: function(strCatalogId, iTotalRow) {
		return this.invoke("getLastDeployNews", {"strCatalogId":strCatalogId, "iTotalRow":iTotalRow}, this.getLastDeployNews.getArguments().slice(2));
	},
	getNextDeployNews: function(strCatalogId, strOnIdLimit) {
		return this.invoke("getNextDeployNews", {"strCatalogId":strCatalogId, "strOnIdLimit":strOnIdLimit}, this.getNextDeployNews.getArguments().slice(2));
	},
	getPreviousDeployNews: function(strCatalogId, strUnderIdLimit) {
		return this.invoke("getPreviousDeployNews", {"strCatalogId":strCatalogId, "strUnderIdLimit":strUnderIdLimit}, this.getPreviousDeployNews.getArguments().slice(2));
	},
	getDeployNewsByPageNumber: function(arrCondition) {
		return this.invoke("getDeployNewsByPageNumber", {"arrCondition":arrCondition}, this.getDeployNewsByPageNumber.getArguments().slice(1));
	},
	sendNews: function(arrSendContent) {
		return this.invoke("sendNews", {"arrSendContent":arrSendContent}, this.sendNews.getArguments().slice(1));
	},
	getFirstDeployInternalNews: function(strCatalogId) {
		return this.invoke("getFirstDeployInternalNews", {"strCatalogId":strCatalogId}, this.getFirstDeployInternalNews.getArguments().slice(1));
	},
	getPreviousDeployInternalNews: function(strCatalogId, strUnderIdLimit) {
		return this.invoke("getPreviousDeployInternalNews", {"strCatalogId":strCatalogId, "strUnderIdLimit":strUnderIdLimit}, this.getPreviousDeployInternalNews.getArguments().slice(2));
	},
	getNextDeployInternalNews: function(strCatalogId, strOnIdLimit) {
		return this.invoke("getNextDeployInternalNews", {"strCatalogId":strCatalogId, "strOnIdLimit":strOnIdLimit}, this.getNextDeployInternalNews.getArguments().slice(2));
	},
	getLastDeployInternalNews: function(strCatalogId, iTotalRow) {
		return this.invoke("getLastDeployInternalNews", {"strCatalogId":strCatalogId, "iTotalRow":iTotalRow}, this.getLastDeployInternalNews.getArguments().slice(2));
	},
	getDeployInternalNewsByPageNumber: function(arrCondition) {
		return this.invoke("getDeployInternalNewsByPageNumber", {"arrCondition":arrCondition}, this.getDeployInternalNewsByPageNumber.getArguments().slice(1));
	},
	url: '/ajaxpro/ServiceTier.CMS,ServiceTier.ashx'
}));
ServiceTier.CMS = new ServiceTier.CMS_class();

