if(typeof AiN == "undefined") AiN={};
if(typeof AiN.AiB == "undefined") AiN.AiB={};
if(typeof AiN.AiB.Site == "undefined") AiN.AiB.Site={};
AiN.AiB.Site.editgroup_class = function() {};
Object.extend(AiN.AiB.Site.editgroup_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	AddModerator: function(groupID, name, title) {
		return this.invoke("AddModerator", {"groupID":groupID, "name":name, "title":title}, this.AddModerator.getArguments().slice(3));
	},
	RemoveMember: function(groupID, accountID) {
		return this.invoke("RemoveMember", {"groupID":groupID, "accountID":accountID}, this.RemoveMember.getArguments().slice(2));
	},
	DeleteModerator: function(groupID, modID) {
		return this.invoke("DeleteModerator", {"groupID":groupID, "modID":modID}, this.DeleteModerator.getArguments().slice(2));
	},
	SaveModerator: function(groupID, modID, title) {
		return this.invoke("SaveModerator", {"groupID":groupID, "modID":modID, "title":title}, this.SaveModerator.getArguments().slice(3));
	},
	GetSubTypes: function(type) {
		return this.invoke("GetSubTypes", {"type":type}, this.GetSubTypes.getArguments().slice(1));
	},
	MakePollCurrent: function(groupID, pollID) {
		return this.invoke("MakePollCurrent", {"groupID":groupID, "pollID":pollID}, this.MakePollCurrent.getArguments().slice(2));
	},
	DeletePoll: function(groupID, pollID) {
		return this.invoke("DeletePoll", {"groupID":groupID, "pollID":pollID}, this.DeletePoll.getArguments().slice(2));
	},
	url: '/ajaxpro/AiN.AiB.Site.editgroup,AiN.AiB.Site.ashx'
}));
AiN.AiB.Site.editgroup = new AiN.AiB.Site.editgroup_class();

