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.ImageComments_class = function() {};
Object.extend(NIU.Biip.Controls.MediaControls.ImageComments_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	Comment: function(imageId, userId, userAlias, ownerId, ownerAlias, comment, imageUrl, albumId, albumTitle, group) {
		return this.invoke("Comment", {"imageId":imageId, "userId":userId, "userAlias":userAlias, "ownerId":ownerId, "ownerAlias":ownerAlias, "comment":comment, "imageUrl":imageUrl, "albumId":albumId, "albumTitle":albumTitle, "group":group}, this.Comment.getArguments().slice(10));
	},
	DeleteComment: function(id, imageId, userId, userAlias, profileId, profileAlias, adminId, adminAlias, ip) {
		return this.invoke("DeleteComment", {"id":id, "imageId":imageId, "userId":userId, "userAlias":userAlias, "profileId":profileId, "profileAlias":profileAlias, "adminId":adminId, "adminAlias":adminAlias, "ip":ip}, this.DeleteComment.getArguments().slice(9));
	},
	url: '/ajaxpro/NIU.Biip.Controls.MediaControls.ImageComments,NIU.Biip.Web.ashx'
}));
NIU.Biip.Controls.MediaControls.ImageComments = new NIU.Biip.Controls.MediaControls.ImageComments_class();

