if(typeof TwentyFour == "undefined") TwentyFour={};
if(typeof TwentyFour.Sites == "undefined") TwentyFour.Sites={};
if(typeof TwentyFour.Sites.Food == "undefined") TwentyFour.Sites.Food={};
if(typeof TwentyFour.Sites.Food.UI == "undefined") TwentyFour.Sites.Food.UI={};
if(typeof TwentyFour.Sites.Food.UI.Site == "undefined") TwentyFour.Sites.Food.UI.Site={};
TwentyFour.Sites.Food.UI.Site.MyFoodEditAjax_class = function() {};
Object.extend(TwentyFour.Sites.Food.UI.Site.MyFoodEditAjax_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	LoadGroceryListContent: function(groceryListIDString) {
		return this.invoke("LoadGroceryListContent", {"groceryListIDString":groceryListIDString}, this.LoadGroceryListContent.getArguments().slice(1));
	},
	LoadGroceryListContentForEmail: function(groceryListIDString) {
		return this.invoke("LoadGroceryListContentForEmail", {"groceryListIDString":groceryListIDString}, this.LoadGroceryListContentForEmail.getArguments().slice(1));
	},
	AddGroceryList: function(listName, comments) {
		return this.invoke("AddGroceryList", {"listName":listName, "comments":comments}, this.AddGroceryList.getArguments().slice(2));
	},
	AddArticleGroceryList: function(listName, comments) {
		return this.invoke("AddArticleGroceryList", {"listName":listName, "comments":comments}, this.AddArticleGroceryList.getArguments().slice(2));
	},
	RemoveGroceryList: function(listID) {
		return this.invoke("RemoveGroceryList", {"listID":listID}, this.RemoveGroceryList.getArguments().slice(1));
	},
	RemoveMealPlanRecipe: function(recipeID, mealPlanID) {
		return this.invoke("RemoveMealPlanRecipe", {"recipeID":recipeID, "mealPlanID":mealPlanID}, this.RemoveMealPlanRecipe.getArguments().slice(2));
	},
	MoveMealPlanRecipe: function(recipeList, moveDay, mealPlanID) {
		return this.invoke("MoveMealPlanRecipe", {"recipeList":recipeList, "moveDay":moveDay, "mealPlanID":mealPlanID}, this.MoveMealPlanRecipe.getArguments().slice(3));
	},
	RemoveMealPlan: function(mealPlanIDString) {
		return this.invoke("RemoveMealPlan", {"mealPlanIDString":mealPlanIDString}, this.RemoveMealPlan.getArguments().slice(1));
	},
	AddMealPlan: function(mealPlanName) {
		return this.invoke("AddMealPlan", {"mealPlanName":mealPlanName}, this.AddMealPlan.getArguments().slice(1));
	},
	RemoveUserRecipe: function(_recipeID, _isSubmitted, _category) {
		return this.invoke("RemoveUserRecipe", {"_recipeID":_recipeID, "_isSubmitted":_isSubmitted, "_category":_category}, this.RemoveUserRecipe.getArguments().slice(3));
	},
	AddGroceryListItems: function(quantities, units, ingredients, stringGroceryListID) {
		return this.invoke("AddGroceryListItems", {"quantities":quantities, "units":units, "ingredients":ingredients, "stringGroceryListID":stringGroceryListID}, this.AddGroceryListItems.getArguments().slice(4));
	},
	AddRecipeToMealPlan: function(stringRecipeID, stringMealPlanID, days) {
		return this.invoke("AddRecipeToMealPlan", {"stringRecipeID":stringRecipeID, "stringMealPlanID":stringMealPlanID, "days":days}, this.AddRecipeToMealPlan.getArguments().slice(3));
	},
	AddUserRecipe: function(stringRecipeID) {
		return this.invoke("AddUserRecipe", {"stringRecipeID":stringRecipeID}, this.AddUserRecipe.getArguments().slice(1));
	},
	ArticleMealPlanAdd: function(mealPlanName) {
		return this.invoke("ArticleMealPlanAdd", {"mealPlanName":mealPlanName}, this.ArticleMealPlanAdd.getArguments().slice(1));
	},
	url: '/ajaxpro/TwentyFour.Sites.Food.UI.Site.MyFoodEditAjax,FoodSite.ashx'
}));
TwentyFour.Sites.Food.UI.Site.MyFoodEditAjax = new TwentyFour.Sites.Food.UI.Site.MyFoodEditAjax_class();

