AjaxAPI_class = function() {};
Object.extend(AjaxAPI_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	HasNoCurseWords: function(text) {
		return this.invoke("HasNoCurseWords", {"text":text}, this.HasNoCurseWords.getArguments().slice(1));
	},
	RateContent: function(contentID, userID, rating) {
		return this.invoke("RateContent", {"contentID":contentID, "userID":userID, "rating":rating}, this.RateContent.getArguments().slice(3));
	},
	GetExistingRating: function(contentID, userID) {
		return this.invoke("GetExistingRating", {"contentID":contentID, "userID":userID}, this.GetExistingRating.getArguments().slice(2));
	},
	CommentContent: function(contentID, userID, comment) {
		return this.invoke("CommentContent", {"contentID":contentID, "userID":userID, "comment":comment}, this.CommentContent.getArguments().slice(3));
	},
	GetAllFeaturedContent: function(propertyID, hubID, contentTypeID, webCategoryID) {
		return this.invoke("GetAllFeaturedContent", {"propertyID":propertyID, "hubID":hubID, "contentTypeID":contentTypeID, "webCategoryID":webCategoryID}, this.GetAllFeaturedContent.getArguments().slice(4));
	},
	GetContentDetailsHTML: function(propertyID, contentID, relevantDate) {
		return this.invoke("GetContentDetailsHTML", {"propertyID":propertyID, "contentID":contentID, "relevantDate":relevantDate}, this.GetContentDetailsHTML.getArguments().slice(3));
	},
	UpdateContentStatus: function(contentID, statusID, goodForPrint) {
		return this.invoke("UpdateContentStatus", {"contentID":contentID, "statusID":statusID, "goodForPrint":goodForPrint}, this.UpdateContentStatus.getArguments().slice(3));
	},
	DeleteContent: function(contentID) {
		return this.invoke("DeleteContent", {"contentID":contentID}, this.DeleteContent.getArguments().slice(1));
	},
	GetAbstract: function(contentID, length) {
		return this.invoke("GetAbstract", {"contentID":contentID, "length":length}, this.GetAbstract.getArguments().slice(2));
	},
	ValidateContentID: function(contentID, portalID) {
		return this.invoke("ValidateContentID", {"contentID":contentID, "portalID":portalID}, this.ValidateContentID.getArguments().slice(2));
	},
	GetImagesCostString: function(contentID, propertyID, totalImages) {
		return this.invoke("GetImagesCostString", {"contentID":contentID, "propertyID":propertyID, "totalImages":totalImages}, this.GetImagesCostString.getArguments().slice(3));
	},
	GetAdBalanceDueString: function(contentID, duration, packageLevel, postingScope) {
		return this.invoke("GetAdBalanceDueString", {"contentID":contentID, "duration":duration, "packageLevel":packageLevel, "postingScope":postingScope}, this.GetAdBalanceDueString.getArguments().slice(4));
	},
	GetDirectoryBalanceDueString: function(contentID, duration, packageLevel, includeCouponCost) {
		return this.invoke("GetDirectoryBalanceDueString", {"contentID":contentID, "duration":duration, "packageLevel":packageLevel, "includeCouponCost":includeCouponCost}, this.GetDirectoryBalanceDueString.getArguments().slice(4));
	},
	DeleteDirectoryCoupon: function(contentID, couponFileName) {
		return this.invoke("DeleteDirectoryCoupon", {"contentID":contentID, "couponFileName":couponFileName}, this.DeleteDirectoryCoupon.getArguments().slice(2));
	},
	GetPushPins: function(topLeftLat, topLeftLng, bottomRightLat, bottomRightLng, zoomLevel, height, width, propertyID, queryKey, webCategoryID) {
		return this.invoke("GetPushPins", {"topLeftLat":topLeftLat, "topLeftLng":topLeftLng, "bottomRightLat":bottomRightLat, "bottomRightLng":bottomRightLng, "zoomLevel":zoomLevel, "height":height, "width":width, "propertyID":propertyID, "queryKey":queryKey, "webCategoryID":webCategoryID}, this.GetPushPins.getArguments().slice(10));
	},
	GetCategoryListByContentTypeIdPropertyId: function(contentTypeID, propertyID) {
		return this.invoke("GetCategoryListByContentTypeIdPropertyId", {"contentTypeID":contentTypeID, "propertyID":propertyID}, this.GetCategoryListByContentTypeIdPropertyId.getArguments().slice(2));
	},
	GetCategoryBreadcrumbListByContentTypeID: function(contentTypeID, propertyID) {
		return this.invoke("GetCategoryBreadcrumbListByContentTypeID", {"contentTypeID":contentTypeID, "propertyID":propertyID}, this.GetCategoryBreadcrumbListByContentTypeID.getArguments().slice(2));
	},
	GetCategoryListByContentTypeId: function(typeID, propertyID) {
		return this.invoke("GetCategoryListByContentTypeId", {"typeID":typeID, "propertyID":propertyID}, this.GetCategoryListByContentTypeId.getArguments().slice(2));
	},
	GetCategoryListByContentTypeIdPortalId: function(typeID, portalID) {
		return this.invoke("GetCategoryListByContentTypeIdPortalId", {"typeID":typeID, "portalID":portalID}, this.GetCategoryListByContentTypeIdPortalId.getArguments().slice(2));
	},
	GetCategoryListByContentTypeIdPortalIdChildCategoryId: function(typeID, portalID, childCategoryId) {
		return this.invoke("GetCategoryListByContentTypeIdPortalIdChildCategoryId", {"typeID":typeID, "portalID":portalID, "childCategoryId":childCategoryId}, this.GetCategoryListByContentTypeIdPortalIdChildCategoryId.getArguments().slice(3));
	},
	GetCategoryListByContentTypeIdPortalIdParentCategoryId: function(typeID, portalID, parentCategoryId) {
		return this.invoke("GetCategoryListByContentTypeIdPortalIdParentCategoryId", {"typeID":typeID, "portalID":portalID, "parentCategoryId":parentCategoryId}, this.GetCategoryListByContentTypeIdPortalIdParentCategoryId.getArguments().slice(3));
	},
	GetCategoryDisplayInformation: function(categoryID) {
		return this.invoke("GetCategoryDisplayInformation", {"categoryID":categoryID}, this.GetCategoryDisplayInformation.getArguments().slice(1));
	},
	GetAdTag: function(adType, tabID, hubID, contentID, userID) {
		return this.invoke("GetAdTag", {"adType":adType, "tabID":tabID, "hubID":hubID, "contentID":contentID, "userID":userID}, this.GetAdTag.getArguments().slice(5));
	},
	StateHasMultipleLocations: function(stateCode) {
		return this.invoke("StateHasMultipleLocations", {"stateCode":stateCode}, this.StateHasMultipleLocations.getArguments().slice(1));
	},
	ListLocations: function(stateCode) {
		return this.invoke("ListLocations", {"stateCode":stateCode}, this.ListLocations.getArguments().slice(1));
	},
	ListHubs: function(propertyID) {
		return this.invoke("ListHubs", {"propertyID":propertyID}, this.ListHubs.getArguments().slice(1));
	},
	ListHubsByState: function(stateCode) {
		return this.invoke("ListHubsByState", {"stateCode":stateCode}, this.ListHubsByState.getArguments().slice(1));
	},
	ListHubsByZoneID: function(propertyID, zoneID) {
		return this.invoke("ListHubsByZoneID", {"propertyID":propertyID, "zoneID":zoneID}, this.ListHubsByZoneID.getArguments().slice(2));
	},
	FormatHubForUrl: function(hubName) {
		return this.invoke("FormatHubForUrl", {"hubName":hubName}, this.FormatHubForUrl.getArguments().slice(1));
	},
	SendEmail: function(portalID, toUserID, subject, body) {
		return this.invoke("SendEmail", {"portalID":portalID, "toUserID":toUserID, "subject":subject, "body":body}, this.SendEmail.getArguments().slice(4));
	},
	TabNameExists: function(tabName, portalID) {
		return this.invoke("TabNameExists", {"tabName":tabName, "portalID":portalID}, this.TabNameExists.getArguments().slice(2));
	},
	UpdateTabDisplayInHubNav: function(tabID, displayInHubNav) {
		return this.invoke("UpdateTabDisplayInHubNav", {"tabID":tabID, "displayInHubNav":displayInHubNav}, this.UpdateTabDisplayInHubNav.getArguments().slice(2));
	},
	GetParentPropertyWebCategoryCost: function(propertyID, childCategoryID) {
		return this.invoke("GetParentPropertyWebCategoryCost", {"propertyID":propertyID, "childCategoryID":childCategoryID}, this.GetParentPropertyWebCategoryCost.getArguments().slice(2));
	},
	GetPropertyWebCategoryCost: function(propertyID, webCategoryID) {
		return this.invoke("GetPropertyWebCategoryCost", {"propertyID":propertyID, "webCategoryID":webCategoryID}, this.GetPropertyWebCategoryCost.getArguments().slice(2));
	},
	AutoSave: function(title, body, userID, hubID, webCategoryId, contentID, contentTypeID) {
		return this.invoke("AutoSave", {"title":title, "body":body, "userID":userID, "hubID":hubID, "webCategoryId":webCategoryId, "contentID":contentID, "contentTypeID":contentTypeID}, this.AutoSave.getArguments().slice(7));
	},
	url: '/ajaxpro/YourHub.UI.AjaxAPI,YourHub.UI.ashx'
}));
AjaxAPI = new AjaxAPI_class();

