if(typeof elmbrookTools == "undefined") elmbrookTools={};
elmbrookTools.AjaxMethods_class = function() {};
Object.extend(elmbrookTools.AjaxMethods_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetAddressLookupMatches: function(StreetNumber, StreetName) {
		return this.invoke("GetAddressLookupMatches", {"StreetNumber":StreetNumber, "StreetName":StreetName}, this.GetAddressLookupMatches.getArguments().slice(2));
	},
	GetAddress: function(AddressId) {
		return this.invoke("GetAddress", {"AddressId":AddressId}, this.GetAddress.getArguments().slice(1));
	},
	Vote: function(Rating, Comment, DocID) {
		return this.invoke("Vote", {"Rating":Rating, "Comment":Comment, "DocID":DocID}, this.Vote.getArguments().slice(3));
	},
	ScheduleBlock: function(PeriodId, TheDate, UserId, ResourceId, theControl) {
		return this.invoke("ScheduleBlock", {"PeriodId":PeriodId, "TheDate":TheDate, "UserId":UserId, "ResourceId":ResourceId, "theControl":theControl}, this.ScheduleBlock.getArguments().slice(5));
	},
	ReleaseBlock: function(PeriodId, TheDate, ResourceId, TheControl, theUser) {
		return this.invoke("ReleaseBlock", {"PeriodId":PeriodId, "TheDate":TheDate, "ResourceId":ResourceId, "TheControl":TheControl, "theUser":theUser}, this.ReleaseBlock.getArguments().slice(5));
	},
	SaveNotes: function(ScheduleId, Notes) {
		return this.invoke("SaveNotes", {"ScheduleId":ScheduleId, "Notes":Notes}, this.SaveNotes.getArguments().slice(2));
	},
	ScheduleResource: function(ResourceId, StartDate, EndDate) {
		return this.invoke("ScheduleResource", {"ResourceId":ResourceId, "StartDate":StartDate, "EndDate":EndDate}, this.ScheduleResource.getArguments().slice(3));
	},
	GetDisplayCalendar: function(theMonth, theYear, HV) {
		return this.invoke("GetDisplayCalendar", {"theMonth":theMonth, "theYear":theYear, "HV":HV}, this.GetDisplayCalendar.getArguments().slice(3));
	},
	DeleteEvent: function(e) {
		return this.invoke("DeleteEvent", {"e":e}, this.DeleteEvent.getArguments().slice(1));
	},
	CanUserEditEvent: function(e) {
		return this.invoke("CanUserEditEvent", {"e":e}, this.CanUserEditEvent.getArguments().slice(1));
	},
	isEventInSeries: function(e) {
		return this.invoke("isEventInSeries", {"e":e}, this.isEventInSeries.getArguments().slice(1));
	},
	ResizeEvent: function(e, S, newStart, newEnd) {
		return this.invoke("ResizeEvent", {"e":e, "S":S, "newStart":newStart, "newEnd":newEnd}, this.ResizeEvent.getArguments().slice(4));
	},
	getEvent: function(e) {
		return this.invoke("getEvent", {"e":e}, this.getEvent.getArguments().slice(1));
	},
	GetPublicCalendar: function(theMonth, theYear, HV) {
		return this.invoke("GetPublicCalendar", {"theMonth":theMonth, "theYear":theYear, "HV":HV}, this.GetPublicCalendar.getArguments().slice(3));
	},
	GetPublicEvents: function(D, CategoryId) {
		return this.invoke("GetPublicEvents", {"D":D, "CategoryId":CategoryId}, this.GetPublicEvents.getArguments().slice(2));
	},
	GetCalendarSubordinates: function(CategoryId) {
		return this.invoke("GetCalendarSubordinates", {"CategoryId":CategoryId}, this.GetCalendarSubordinates.getArguments().slice(1));
	},
	GetCategory: function(CategoryId) {
		return this.invoke("GetCategory", {"CategoryId":CategoryId}, this.GetCategory.getArguments().slice(1));
	},
	DoAdvancedSearch: function(CategoryString, D) {
		return this.invoke("DoAdvancedSearch", {"CategoryString":CategoryString, "D":D}, this.DoAdvancedSearch.getArguments().slice(2));
	},
	GetLMCSubscriptions: function(SiteId) {
		return this.invoke("GetLMCSubscriptions", {"SiteId":SiteId}, this.GetLMCSubscriptions.getArguments().slice(1));
	},
	GetLMCCategories: function(SiteId) {
		return this.invoke("GetLMCCategories", {"SiteId":SiteId}, this.GetLMCCategories.getArguments().slice(1));
	},
	SaveLMCSubscription: function(SiteId, SubscriptionId, SubscriptionName, SubscriptionURL, SubscriptionCategory) {
		return this.invoke("SaveLMCSubscription", {"SiteId":SiteId, "SubscriptionId":SubscriptionId, "SubscriptionName":SubscriptionName, "SubscriptionURL":SubscriptionURL, "SubscriptionCategory":SubscriptionCategory}, this.SaveLMCSubscription.getArguments().slice(5));
	},
	DeleteLMCSubscription: function(SubscriptionId) {
		return this.invoke("DeleteLMCSubscription", {"SubscriptionId":SubscriptionId}, this.DeleteLMCSubscription.getArguments().slice(1));
	},
	GetCurrentSystemNotice: function() {
		return this.invoke("GetCurrentSystemNotice", {}, this.GetCurrentSystemNotice.getArguments().slice(0));
	},
	SaveSystemNotice: function(theMessage, theDay, TheTime) {
		return this.invoke("SaveSystemNotice", {"theMessage":theMessage, "theDay":theDay, "TheTime":TheTime}, this.SaveSystemNotice.getArguments().slice(3));
	},
	ExpireSystemNotice: function(n) {
		return this.invoke("ExpireSystemNotice", {"n":n}, this.ExpireSystemNotice.getArguments().slice(1));
	},
	GetWords: function(Query) {
		return this.invoke("GetWords", {"Query":Query}, this.GetWords.getArguments().slice(1));
	},
	IntelligentSearch: function(Query, Count) {
		return this.invoke("IntelligentSearch", {"Query":Query, "Count":Count}, this.IntelligentSearch.getArguments().slice(2));
	},
	RecordClick: function(DocId, X, Y) {
		return this.invoke("RecordClick", {"DocId":DocId, "X":X, "Y":Y}, this.RecordClick.getArguments().slice(3));
	},
	checkGenericPassword: function(p) {
		return this.invoke("checkGenericPassword", {"p":p}, this.checkGenericPassword.getArguments().slice(1));
	},
	saveCalendarEvent: function(evt) {
		return this.invoke("saveCalendarEvent", {"evt":evt}, this.saveCalendarEvent.getArguments().slice(1));
	},
	getCalendarEvent: function(EventId) {
		return this.invoke("getCalendarEvent", {"EventId":EventId}, this.getCalendarEvent.getArguments().slice(1));
	},
	url: '/ajaxpro/elmbrookTools.AjaxMethods,elmbrookTools.ashx'
}));
elmbrookTools.AjaxMethods = new elmbrookTools.AjaxMethods_class();

