if(typeof photomanage == "undefined") photomanage={};
photomanage_class = function() {};
Object.extend(photomanage_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	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));
	},
	GetPhotoListByBlogID: function(albumID, privacy, pageSize, pageIndex, photoSize) {
		return this.invoke("GetPhotoListByBlogID", {"albumID":albumID, "privacy":privacy, "pageSize":pageSize, "pageIndex":pageIndex, "photoSize":photoSize}, this.GetPhotoListByBlogID.getArguments().slice(5));
	},
	GetNextPhotoInfoByID: function(photoID, photoSize) {
		return this.invoke("GetNextPhotoInfoByID", {"photoID":photoID, "photoSize":photoSize}, this.GetNextPhotoInfoByID.getArguments().slice(2));
	},
	GetPrePhotoInfoByID: function(photoID, photoSize) {
		return this.invoke("GetPrePhotoInfoByID", {"photoID":photoID, "photoSize":photoSize}, this.GetPrePhotoInfoByID.getArguments().slice(2));
	},
	DelPhotoInfo: function(intPhotoID) {
		return this.invoke("DelPhotoInfo", {"intPhotoID":intPhotoID}, this.DelPhotoInfo.getArguments().slice(1));
	},
	updatefileinfo: function(intPhotoID, field, value, fieldtype) {
		return this.invoke("updatefileinfo", {"intPhotoID":intPhotoID, "field":field, "value":value, "fieldtype":fieldtype}, this.updatefileinfo.getArguments().slice(4));
	},
	addcomment: function(photoID, Content, userName, passpword, userType, strEmail, linkUrl) {
		return this.invoke("addcomment", {"photoID":photoID, "Content":Content, "userName":userName, "passpword":passpword, "userType":userType, "strEmail":strEmail, "linkUrl":linkUrl}, this.addcomment.getArguments().slice(7));
	},
	postcomment: function(photoID, Content, userName, userID, strEmail, linkUrl) {
		return this.invoke("postcomment", {"photoID":photoID, "Content":Content, "userName":userName, "userID":userID, "strEmail":strEmail, "linkUrl":linkUrl}, this.postcomment.getArguments().slice(6));
	},
	loginedaddcomment: function(photoID, Content, strEmail, linkUrl) {
		return this.invoke("loginedaddcomment", {"photoID":photoID, "Content":Content, "strEmail":strEmail, "linkUrl":linkUrl}, this.loginedaddcomment.getArguments().slice(4));
	},
	getphotocommentlist: function(pageSize, pageIndex, state) {
		return this.invoke("getphotocommentlist", {"pageSize":pageSize, "pageIndex":pageIndex, "state":state}, this.getphotocommentlist.getArguments().slice(3));
	},
	getcommentlistbyphotoid: function(photoID, pageSize, pageIndex, state) {
		return this.invoke("getcommentlistbyphotoid", {"photoID":photoID, "pageSize":pageSize, "pageIndex":pageIndex, "state":state}, this.getcommentlistbyphotoid.getArguments().slice(4));
	},
	delphotocomment: function(commentID, photoID) {
		return this.invoke("delphotocomment", {"commentID":commentID, "photoID":photoID}, this.delphotocomment.getArguments().slice(2));
	},
	delallphotocomment: function() {
		return this.invoke("delallphotocomment", {}, this.delallphotocomment.getArguments().slice(0));
	},
	url: '/ajaxpro/PhotoMethod,App_Code.dubhbgpl.ashx'
}));
photomanage = new photomanage_class();

