addNamespace("DVBlog.Web");
DVBlog.Web.AjaxUtils_class = Class.create();
Object.extend(DVBlog.Web.AjaxUtils_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetCommentContent: function(commentid) {
		return this.invoke("GetCommentContent", {"commentid":commentid}, this.GetCommentContent.getArguments().slice(1));
	},
	DeleteComment: function(commentid) {
		return this.invoke("DeleteComment", {"commentid":commentid}, this.DeleteComment.getArguments().slice(1));
	},
	GetPhotoComment: function(commmentid) {
		return this.invoke("GetPhotoComment", {"commmentid":commmentid}, this.GetPhotoComment.getArguments().slice(1));
	},
	DeletePhotoComment: function(commentid) {
		return this.invoke("DeletePhotoComment", {"commentid":commentid}, this.DeletePhotoComment.getArguments().slice(1));
	},
	MoveAlbum: function(albumID, toAlbumID) {
		return this.invoke("MoveAlbum", {"albumID":albumID, "toAlbumID":toAlbumID}, this.MoveAlbum.getArguments().slice(2));
	},
	GetPhotoCount: function(albumID) {
		return this.invoke("GetPhotoCount", {"albumID":albumID}, this.GetPhotoCount.getArguments().slice(1));
	},
	DelPhoto: function(photoid) {
		return this.invoke("DelPhoto", {"photoid":photoid}, this.DelPhoto.getArguments().slice(1));
	},
	GetPhotoAlbum: function() {
		return this.invoke("GetPhotoAlbum", {}, this.GetPhotoAlbum.getArguments().slice(0));
	},
	DelAlbum: function(albumid) {
		return this.invoke("DelAlbum", {"albumid":albumid}, this.DelAlbum.getArguments().slice(1));
	},
	SetCover: function(photoID, albumID) {
		return this.invoke("SetCover", {"photoID":photoID, "albumID":albumID}, this.SetCover.getArguments().slice(2));
	},
	CommendPhoto: function(photoID) {
		return this.invoke("CommendPhoto", {"photoID":photoID}, this.CommendPhoto.getArguments().slice(1));
	},
	DelPhotoAlbum: function(albumID) {
		return this.invoke("DelPhotoAlbum", {"albumID":albumID}, this.DelPhotoAlbum.getArguments().slice(1));
	},
	UpdateAlbum: function(albumid, albumName, albumDesc) {
		return this.invoke("UpdateAlbum", {"albumid":albumid, "albumName":albumName, "albumDesc":albumDesc}, this.UpdateAlbum.getArguments().slice(3));
	},
	AddBlogCategory: function(blogcategoryname) {
		return this.invoke("AddBlogCategory", {"blogcategoryname":blogcategoryname}, this.AddBlogCategory.getArguments().slice(1));
	},
	UpdateBlogCategory: function(blogcategoryid, blogcategoryname) {
		return this.invoke("UpdateBlogCategory", {"blogcategoryid":blogcategoryid, "blogcategoryname":blogcategoryname}, this.UpdateBlogCategory.getArguments().slice(2));
	},
	UpdateMessage: function(id) {
		return this.invoke("UpdateMessage", {"id":id}, this.UpdateMessage.getArguments().slice(1));
	},
	ExistSystem: function() {
		return this.invoke("ExistSystem", {}, this.ExistSystem.getArguments().slice(0));
	},
	GetArticleCategory: function() {
		return this.invoke("GetArticleCategory", {}, this.GetArticleCategory.getArguments().slice(0));
	},
	GetArticleCategorys: function() {
		return this.invoke("GetArticleCategorys", {}, this.GetArticleCategorys.getArguments().slice(0));
	},
	AddReply: function(commentid, replycontent) {
		return this.invoke("AddReply", {"commentid":commentid, "replycontent":replycontent}, this.AddReply.getArguments().slice(2));
	},
	ModifyReply: function(commentid, replycontent) {
		return this.invoke("ModifyReply", {"commentid":commentid, "replycontent":replycontent}, this.ModifyReply.getArguments().slice(2));
	},
	CheckPassword: function(userid, pwd) {
		return this.invoke("CheckPassword", {"userid":userid, "pwd":pwd}, this.CheckPassword.getArguments().slice(2));
	},
	UpdateUserPassword: function(pwd, question, answer) {
		return this.invoke("UpdateUserPassword", {"pwd":pwd, "question":question, "answer":answer}, this.UpdateUserPassword.getArguments().slice(3));
	},
	CheckLogin: function(username, password) {
		return this.invoke("CheckLogin", {"username":username, "password":password}, this.CheckLogin.getArguments().slice(2));
	},
	IsExistEmail: function(email) {
		return this.invoke("IsExistEmail", {"email":email}, this.IsExistEmail.getArguments().slice(1));
	},
	IsExistUserName: function(username) {
		return this.invoke("IsExistUserName", {"username":username}, this.IsExistUserName.getArguments().slice(1));
	},
	AddLink: function(LinkURL, LinkTarget, LinkName, LinkCategoryID) {
		return this.invoke("AddLink", {"LinkURL":LinkURL, "LinkTarget":LinkTarget, "LinkName":LinkName, "LinkCategoryID":LinkCategoryID}, this.AddLink.getArguments().slice(4));
	},
	GetLinkCategory: function() {
		return this.invoke("GetLinkCategory", {}, this.GetLinkCategory.getArguments().slice(0));
	},
	AddLinkCategory: function(categoryname) {
		return this.invoke("AddLinkCategory", {"categoryname":categoryname}, this.AddLinkCategory.getArguments().slice(1));
	},
	DelLinkCategory: function(categoryid) {
		return this.invoke("DelLinkCategory", {"categoryid":categoryid}, this.DelLinkCategory.getArguments().slice(1));
	},
	AddArticleCategory: function(categoryname) {
		return this.invoke("AddArticleCategory", {"categoryname":categoryname}, this.AddArticleCategory.getArguments().slice(1));
	},
	BuildModule: function(moduleid) {
		return this.invoke("BuildModule", {"moduleid":moduleid}, this.BuildModule.getArguments().slice(1));
	},
	ModifyModuleName: function(moduleid, modulename) {
		return this.invoke("ModifyModuleName", {"moduleid":moduleid, "modulename":modulename}, this.ModifyModuleName.getArguments().slice(2));
	},
	CommendArticle: function(articleid) {
		return this.invoke("CommendArticle", {"articleid":articleid}, this.CommendArticle.getArguments().slice(1));
	},
	TextMD5: function(pwd) {
		return this.invoke("TextMD5", {"pwd":pwd}, this.TextMD5.getArguments().slice(1));
	},
	UpdateSkin: function(skinid, blogid) {
		return this.invoke("UpdateSkin", {"skinid":skinid, "blogid":blogid}, this.UpdateSkin.getArguments().slice(2));
	},
	ShareSkins: function(skinid, shareid) {
		return this.invoke("ShareSkins", {"skinid":skinid, "shareid":shareid}, this.ShareSkins.getArguments().slice(2));
	},
	AddSystemModule: function(skinid) {
		return this.invoke("AddSystemModule", {"skinid":skinid}, this.AddSystemModule.getArguments().slice(1));
	},
	initialize: function() {
		this.url = '/ajaxpro/DVBlog.Web.AjaxUtils,DVBlog.Framework.ashx';
	}
}));
DVBlog.Web.AjaxUtils = new DVBlog.Web.AjaxUtils_class();

