if(typeof GB_Community == "undefined") GB_Community={};
if(typeof GB_Community.WhiteBoardControl_class == "undefined") GB_Community.WhiteBoardControl_class={};
GB_Community.WhiteBoardControl_class = function() {};
Object.extend(GB_Community.WhiteBoardControl_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	AddNewMessage: function(username, _content) {
		return this.invoke("AddNewMessage", {"username":username, "_content":_content}, this.AddNewMessage.getArguments().slice(2));
	},
	DeleteOthersMessage: function(id, username) {
		return this.invoke("DeleteOthersMessage", {"id":id, "username":username}, this.DeleteOthersMessage.getArguments().slice(2));
	},
	DeleteMyMessage: function(id) {
		return this.invoke("DeleteMyMessage", {"id":id}, this.DeleteMyMessage.getArguments().slice(1));
	},
	LoadMessages: function(page_id, username) {
		return this.invoke("LoadMessages", {"page_id":page_id, "username":username}, this.LoadMessages.getArguments().slice(2));
	},
	ChangeMySetting: function(type) {
		return this.invoke("ChangeMySetting", {"type":type}, this.ChangeMySetting.getArguments().slice(1));
	},
	BlockMember: function(blocked_member_id) {
		return this.invoke("BlockMember", {"blocked_member_id":blocked_member_id}, this.BlockMember.getArguments().slice(1));
	},
	UnblockMember: function(blocked_member_id) {
		return this.invoke("UnblockMember", {"blocked_member_id":blocked_member_id}, this.UnblockMember.getArguments().slice(1));
	},
	url: '/ajaxpro/GB_Community.WhiteBoardControl,GB_Community.ashx'
}));
GB_Community.WhiteBoardControl = new GB_Community.WhiteBoardControl_class();

