if(typeof ChatMgr == "undefined") ChatMgr={};
ChatMgr_class = function() {};
Object.extend(ChatMgr_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	IsMailBoxFull: function() {
		return this.invoke("IsMailBoxFull", {}, this.IsMailBoxFull.getArguments().slice(0));
	},
	IsUserLoggedIn: function() {
		return this.invoke("IsUserLoggedIn", {}, this.IsUserLoggedIn.getArguments().slice(0));
	},
	AddChatPartner: function(toId) {
		return this.invoke("AddChatPartner", {"toId":toId}, this.AddChatPartner.getArguments().slice(1));
	},
	GetNewMessages: function() {
		return this.invoke("GetNewMessages", {}, this.GetNewMessages.getArguments().slice(0));
	},
	GetMessageAndChatterId: function() {
		return this.invoke("GetMessageAndChatterId", {}, this.GetMessageAndChatterId.getArguments().slice(0));
	},
	SetActiveChatPartner: function(chatPartnerId) {
		return this.invoke("SetActiveChatPartner", {"chatPartnerId":chatPartnerId}, this.SetActiveChatPartner.getArguments().slice(1));
	},
	GetActiveChatPartner: function() {
		return this.invoke("GetActiveChatPartner", {}, this.GetActiveChatPartner.getArguments().slice(0));
	},
	GetChatterName: function(chatterId) {
		return this.invoke("GetChatterName", {"chatterId":chatterId}, this.GetChatterName.getArguments().slice(1));
	},
	GetChatPartners: function() {
		return this.invoke("GetChatPartners", {}, this.GetChatPartners.getArguments().slice(0));
	},
	AddMessage: function(toId, msg) {
		return this.invoke("AddMessage", {"toId":toId, "msg":msg}, this.AddMessage.getArguments().slice(2));
	},
	GetMessages: function() {
		return this.invoke("GetMessages", {}, this.GetMessages.getArguments().slice(0));
	},
	url: '/main/ajaxpro/ChatMgr,App_Code.ur-al3ik.ashx'
}));
ChatMgr = new ChatMgr_class();

