addNamespace("ccboss.weblove.webim");
ccboss.weblove.webim.index_class = Class.create();
ccboss.weblove.webim.index_class.prototype = (new AjaxPro.Request()).extend({
	getUserXml: function(page, strCondition, callback) {
		return this.invoke("getUserXml", {"page":page, "strCondition":strCondition}, callback);
	},
	getPageCount: function(callback) {
		return this.invoke("getPageCount", {}, callback);
	},
	getCount: function(callback) {
		return this.invoke("getCount", {}, callback);
	},
	getXsl: function(callback) {
		return this.invoke("getXsl", {}, callback);
	},
	addFriend: function(fID, callback) {
		return this.invoke("addFriend", {"fID":fID}, callback);
	},
	getFriendList: function(counts, onLine, callback) {
		return this.invoke("getFriendList", {"counts":counts, "onLine":onLine}, callback);
	},
	sendMessage: function(fid, msg, callback) {
		return this.invoke("sendMessage", {"fid":fid, "msg":msg}, callback);
	},
	getNewMsg: function(callback) {
		return this.invoke("getNewMsg", {}, callback);
	},
	getUserData: function(userID, callback) {
		return this.invoke("getUserData", {"userID":userID}, callback);
	},
	delF: function(id, type, callback) {
		return this.invoke("delF", {"id":id, "type":type}, callback);
	},
	getPeople: function(callback) {
		return this.invoke("getPeople", {}, callback);
	},
	getPeoplesUserXml: function(uiID, callback) {
		return this.invoke("getPeoplesUserXml", {"uiID":uiID}, callback);
	},
	initialize: function() {
		this.url = "/ajaxpro/ccboss.weblove.webim.index,weblove.ashx";
	}
})
ccboss.weblove.webim.index = new ccboss.weblove.webim.index_class();

