if(typeof NIU == "undefined") NIU={};
if(typeof NIU.Biip == "undefined") NIU.Biip={};
if(typeof NIU.Biip.Controls == "undefined") NIU.Biip.Controls={};
if(typeof NIU.Biip.Controls.MediaControls == "undefined") NIU.Biip.Controls.MediaControls={};
NIU.Biip.Controls.MediaControls.ImageDetail_class = function() {};
Object.extend(NIU.Biip.Controls.MediaControls.ImageDetail_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	SaveComment: function(imageId, userId, userAlias, ownerId, ownerAlias, comment, imageUrl, albumId, albumTitle) {
		return this.invoke("SaveComment", {"imageId":imageId, "userId":userId, "userAlias":userAlias, "ownerId":ownerId, "ownerAlias":ownerAlias, "comment":comment, "imageUrl":imageUrl, "albumId":albumId, "albumTitle":albumTitle}, this.SaveComment.getArguments().slice(9));
	},
	CommentReply: function(imageId, userId, userAlias, ownerId, ownerAlias, comment, imageUrl, albumId, albumTitle, replyId) {
		return this.invoke("CommentReply", {"imageId":imageId, "userId":userId, "userAlias":userAlias, "ownerId":ownerId, "ownerAlias":ownerAlias, "comment":comment, "imageUrl":imageUrl, "albumId":albumId, "albumTitle":albumTitle, "replyId":replyId}, this.CommentReply.getArguments().slice(10));
	},
	DeleteComment: function(id, imageId, userId, userAlias, profileId, profileAlias, ip) {
		return this.invoke("DeleteComment", {"id":id, "imageId":imageId, "userId":userId, "userAlias":userAlias, "profileId":profileId, "profileAlias":profileAlias, "ip":ip}, this.DeleteComment.getArguments().slice(7));
	},
	Update: function(imageId, userId, description) {
		return this.invoke("Update", {"imageId":imageId, "userId":userId, "description":description}, this.Update.getArguments().slice(3));
	},
	Rate: function(imageId, userId, rating) {
		return this.invoke("Rate", {"imageId":imageId, "userId":userId, "rating":rating}, this.Rate.getArguments().slice(3));
	},
	UpdateCategory: function(imageId, userId, categoryId) {
		return this.invoke("UpdateCategory", {"imageId":imageId, "userId":userId, "categoryId":categoryId}, this.UpdateCategory.getArguments().slice(3));
	},
	UpdateAlbum: function(imageId, userId, albumId) {
		return this.invoke("UpdateAlbum", {"imageId":imageId, "userId":userId, "albumId":albumId}, this.UpdateAlbum.getArguments().slice(3));
	},
	DeleteImage: function(imageId, userId, profileId) {
		return this.invoke("DeleteImage", {"imageId":imageId, "userId":userId, "profileId":profileId}, this.DeleteImage.getArguments().slice(3));
	},
	ResetRating: function(imageId, userId) {
		return this.invoke("ResetRating", {"imageId":imageId, "userId":userId}, this.ResetRating.getArguments().slice(2));
	},
	RotateImage: function(imageId, userId) {
		return this.invoke("RotateImage", {"imageId":imageId, "userId":userId}, this.RotateImage.getArguments().slice(2));
	},
	AlterWhitelist: function(imageId, allow) {
		return this.invoke("AlterWhitelist", {"imageId":imageId, "allow":allow}, this.AlterWhitelist.getArguments().slice(2));
	},
	ManageLike: function(imageId, addLike) {
		return this.invoke("ManageLike", {"imageId":imageId, "addLike":addLike}, this.ManageLike.getArguments().slice(2));
	},
	url: '/ajaxpro/NIU.Biip.Controls.MediaControls.ImageDetail,NIU.Biip.Web.ashx'
}));
NIU.Biip.Controls.MediaControls.ImageDetail = new NIU.Biip.Controls.MediaControls.ImageDetail_class();


