if(typeof Soda == "undefined") Soda={};
if(typeof Soda.Ajax == "undefined") Soda.Ajax={};
if(typeof Soda.Ajax.Events_class == "undefined") Soda.Ajax.Events_class={};
Soda.Ajax.Events_class = function() {};
Object.extend(Soda.Ajax.Events_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	Delete: function(eventID, comment) {
		return this.invoke("Delete", {"eventID":eventID, "comment":comment}, this.Delete.getArguments().slice(2));
	},
	AddLinked: function(eventID, type) {
		return this.invoke("AddLinked", {"eventID":eventID, "type":type}, this.AddLinked.getArguments().slice(2));
	},
	DeleteLinked: function(eventID) {
		return this.invoke("DeleteLinked", {"eventID":eventID}, this.DeleteLinked.getArguments().slice(1));
	},
	Add: function(title, from, to, content, location, countryID, navID, tags) {
		return this.invoke("Add", {"title":title, "from":from, "to":to, "content":content, "location":location, "countryID":countryID, "navID":navID, "tags":tags}, this.Add.getArguments().slice(8));
	},
	Update: function(eventID, title, from, to, content, location, countryID, navID, tags) {
		return this.invoke("Update", {"eventID":eventID, "title":title, "from":from, "to":to, "content":content, "location":location, "countryID":countryID, "navID":navID, "tags":tags}, this.Update.getArguments().slice(9));
	},
	GetLinkedCustomersPage: function(eventID, pageNo) {
		return this.invoke("GetLinkedCustomersPage", {"eventID":eventID, "pageNo":pageNo}, this.GetLinkedCustomersPage.getArguments().slice(2));
	},
	url: '/ajaxpro/Soda.Ajax.Events,Site.ashx'
}));
Soda.Ajax.Events = new Soda.Ajax.Events_class();

