//recipe functions

if(LJRecipes==undefined) var LJRecipes={

	initializeEditForm:function(frm)
	{
		frm.name.focus();
		frm.name.select();
	},
	
	isValidEditForm:function(frm)
	{
		var blnReturnValue=true;
		
		return blnReturnValue;
	},
	
	add:function()
	{
		window.location.assign("/recipes/edit.php");
	},
	
	deleteRecipe:function()
	{
		return confirm("Are you sure you want to delete this recipe?");
	}
}