if(typeof articlemanage == "undefined") articlemanage={};
articlemanage_class = function() {};
Object.extend(articlemanage_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	getarticleclasslist: function(intBlogID, privacy, pageSize, pageIndex) {
		return this.invoke("getarticleclasslist", {"intBlogID":intBlogID, "privacy":privacy, "pageSize":pageSize, "pageIndex":pageIndex}, this.getarticleclasslist.getArguments().slice(4));
	},
	addgategory: function(className, deleted) {
		return this.invoke("addgategory", {"className":className, "deleted":deleted}, this.addgategory.getArguments().slice(2));
	},
	updateclass: function(classID, newClassName, deleted) {
		return this.invoke("updateclass", {"classID":classID, "newClassName":newClassName, "deleted":deleted}, this.updateclass.getArguments().slice(3));
	},
	delclass: function(classID) {
		return this.invoke("delclass", {"classID":classID}, this.delclass.getArguments().slice(1));
	},
	UpdateArticleInfo: function(articleClassID, articleID, field, newValue, fieldType) {
		return this.invoke("UpdateArticleInfo", {"articleClassID":articleClassID, "articleID":articleID, "field":field, "newValue":newValue, "fieldType":fieldType}, this.UpdateArticleInfo.getArguments().slice(5));
	},
	DelArticle: function(articleID, classID) {
		return this.invoke("DelArticle", {"articleID":articleID, "classID":classID}, this.DelArticle.getArguments().slice(2));
	},
	RealDelArticle: function(articleID, classID) {
		return this.invoke("RealDelArticle", {"articleID":articleID, "classID":classID}, this.RealDelArticle.getArguments().slice(2));
	},
	getarticlelist: function(classID, deleted, privacy, pageSize, pageIndex) {
		return this.invoke("getarticlelist", {"classID":classID, "deleted":deleted, "privacy":privacy, "pageSize":pageSize, "pageIndex":pageIndex}, this.getarticlelist.getArguments().slice(5));
	},
	getarticlelistfromdir: function(privacy, pageSize, pageIndex) {
		return this.invoke("getarticlelistfromdir", {"privacy":privacy, "pageSize":pageSize, "pageIndex":pageIndex}, this.getarticlelistfromdir.getArguments().slice(3));
	},
	getarticlelistbydate: function(privacy, pageSize, curPage, year, month, day) {
		return this.invoke("getarticlelistbydate", {"privacy":privacy, "pageSize":pageSize, "curPage":curPage, "year":year, "month":month, "day":day}, this.getarticlelistbydate.getArguments().slice(6));
	},
	GetMyTagsList: function(pageSize) {
		return this.invoke("GetMyTagsList", {"pageSize":pageSize}, this.GetMyTagsList.getArguments().slice(1));
	},
	GetTagsList: function(pageSize) {
		return this.invoke("GetTagsList", {"pageSize":pageSize}, this.GetTagsList.getArguments().slice(1));
	},
	addcomment: function(articleID, Content, userName, passpword, userType, strEmail, linkUrl) {
		return this.invoke("addcomment", {"articleID":articleID, "Content":Content, "userName":userName, "passpword":passpword, "userType":userType, "strEmail":strEmail, "linkUrl":linkUrl}, this.addcomment.getArguments().slice(7));
	},
	loginedaddcomment: function(articleID, Content, strEmail, linkUrl) {
		return this.invoke("loginedaddcomment", {"articleID":articleID, "Content":Content, "strEmail":strEmail, "linkUrl":linkUrl}, this.loginedaddcomment.getArguments().slice(4));
	},
	postcomment: function(articleID, Content, userName, userID, strEmail, linkUrl) {
		return this.invoke("postcomment", {"articleID":articleID, "Content":Content, "userName":userName, "userID":userID, "strEmail":strEmail, "linkUrl":linkUrl}, this.postcomment.getArguments().slice(6));
	},
	getarticlecommentlist: function(blogID, apppath, pageSize, pageIndex, state) {
		return this.invoke("getarticlecommentlist", {"blogID":blogID, "apppath":apppath, "pageSize":pageSize, "pageIndex":pageIndex, "state":state}, this.getarticlecommentlist.getArguments().slice(5));
	},
	getcommentlistbyarticleid: function(articleID, pageSize, pageIndex, state) {
		return this.invoke("getcommentlistbyarticleid", {"articleID":articleID, "pageSize":pageSize, "pageIndex":pageIndex, "state":state}, this.getcommentlistbyarticleid.getArguments().slice(4));
	},
	delarticlecomment: function(commentID, articleID) {
		return this.invoke("delarticlecomment", {"commentID":commentID, "articleID":articleID}, this.delarticlecomment.getArguments().slice(2));
	},
	delallarticlecomment: function() {
		return this.invoke("delallarticlecomment", {}, this.delallarticlecomment.getArguments().slice(0));
	},
	url: '/ajaxpro/ArticleMethod,App_Code.vf6fogef.ashx'
}));
articlemanage = new articlemanage_class();

