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.Profile == "undefined") NIU.Biip.Controls.Profile={};
NIU.Biip.Controls.Profile.Friends_class = function() {};
Object.extend(NIU.Biip.Controls.Profile.Friends_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	UpdateFriend: function(userId, friendId, type, oldType, description) {
		return this.invoke("UpdateFriend", {"userId":userId, "friendId":friendId, "type":type, "oldType":oldType, "description":description}, this.UpdateFriend.getArguments().slice(5));
	},
	DeleteFriend: function(userId, friendId) {
		return this.invoke("DeleteFriend", {"userId":userId, "friendId":friendId}, this.DeleteFriend.getArguments().slice(2));
	},
	AcceptFriendRequest: function(userId, friendId, friendType) {
		return this.invoke("AcceptFriendRequest", {"userId":userId, "friendId":friendId, "friendType":friendType}, this.AcceptFriendRequest.getArguments().slice(3));
	},
	DeclineFriendRequest: function(userId, friendId) {
		return this.invoke("DeclineFriendRequest", {"userId":userId, "friendId":friendId}, this.DeclineFriendRequest.getArguments().slice(2));
	},
	url: '/ajaxpro/NIU.Biip.Controls.Profile.Friends,NIU.Biip.Web.ashx'
}));
NIU.Biip.Controls.Profile.Friends = new NIU.Biip.Controls.Profile.Friends_class();


