if(typeof Veduchina == "undefined") Veduchina={};
if(typeof Veduchina.Components == "undefined") Veduchina.Components={};
if(typeof Veduchina.Components.UserManager == "undefined") Veduchina.Components.UserManager={};
Veduchina.Components.UserManager_class = function() {};
Object.extend(Veduchina.Components.UserManager_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	CheckUserName: function(username) {
		return this.invoke("CheckUserName", {"username":username}, this.CheckUserName.getArguments().slice(1));
	},
	CheckEmail: function(email) {
		return this.invoke("CheckEmail", {"email":email}, this.CheckEmail.getArguments().slice(1));
	},
	CreateDeleteLangAdmin: function(userID, langID, action) {
		return this.invoke("CreateDeleteLangAdmin", {"userID":userID, "langID":langID, "action":action}, this.CreateDeleteLangAdmin.getArguments().slice(3));
	},
	AddDeleteAdmin: function(email, type, action) {
		return this.invoke("AddDeleteAdmin", {"email":email, "type":type, "action":action}, this.AddDeleteAdmin.getArguments().slice(3));
	},
	UserLogin: function(email, pwd, code) {
		return this.invoke("UserLogin", {"email":email, "pwd":pwd, "code":code}, this.UserLogin.getArguments().slice(3));
	},
	AddFriend: function(friendName, friendID, Status) {
		return this.invoke("AddFriend", {"friendName":friendName, "friendID":friendID, "Status":Status}, this.AddFriend.getArguments().slice(3));
	},
	UpdateStatus: function(friendID, status) {
		return this.invoke("UpdateStatus", {"friendID":friendID, "status":status}, this.UpdateStatus.getArguments().slice(2));
	},
	DeleteFriend: function(friendIDList) {
		return this.invoke("DeleteFriend", {"friendIDList":friendIDList}, this.DeleteFriend.getArguments().slice(1));
	},
	CreateMessage: function(toUserID, title, content) {
		return this.invoke("CreateMessage", {"toUserID":toUserID, "title":title, "content":content}, this.CreateMessage.getArguments().slice(3));
	},
	DeleteMessage: function(messageIDList, type, Status) {
		return this.invoke("DeleteMessage", {"messageIDList":messageIDList, "type":type, "Status":Status}, this.DeleteMessage.getArguments().slice(3));
	},
	GetMessage: function(messageID, type) {
		return this.invoke("GetMessage", {"messageID":messageID, "type":type}, this.GetMessage.getArguments().slice(2));
	},
	DeleteLeaveword: function(ID) {
		return this.invoke("DeleteLeaveword", {"ID":ID}, this.DeleteLeaveword.getArguments().slice(1));
	},
	UpdateGroupUser: function(groupID) {
		return this.invoke("UpdateGroupUser", {"groupID":groupID}, this.UpdateGroupUser.getArguments().slice(1));
	},
	GetMessageUnreadCount: function() {
		return this.invoke("GetMessageUnreadCount", {}, this.GetMessageUnreadCount.getArguments().slice(0));
	},
	url: '/ajaxpro/Veduchina.Components.UserManager,Veduchina.Components.ashx'
}));
Veduchina.Components.UserManager = new Veduchina.Components.UserManager_class();

