// JavaScript Document

function updatecontent(divname)
{

if(divname == 'faq1')
{

$(divname).replace('<span id=\"faq1\">\"Change Menu\" link at the bottom of the day.  This will cause a new section of the page to appear that includes details for that day\'s menu.  You will see entries for a main dish and two side dishes.  To change a recipe, click it and choose a different dish, or choose \"NONE\" to remove a recipe completely.  If you have saved \"Favorite\" recipes, you will see them listed there too.</span>');

var imgName = divname + "more";

		$(imgName).replace('<a onclick=\"hidecontent(\'' + divname + '\')\;\" id=\"' + divname + 'more\" style=\"cursor:pointer\;\"><img src=\"images/titles/close2.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');

}

if(divname == 'faq2')
{

$(divname).replace('<span id=\"faq2\">carefully selected for nutritional balance and variety.  Our chef and nutritionist work together to ensure that each week\'s meal plan \"hangs together\" to provide the right combination of proteins, carbohydrates, fiber, and calories to support a healthy, nutritious diet.  This is the extra value we provide ... anybody can do a web search and spend hours looking through thousands of recipes, most of which are going to be unhealthy and fattening.  When one of our dishes really lights you up, add it to your Favorites, and from then on you\'ll be able to select it on any week\'s meal plan.  The longer you use our service, the more you add to your Favorites, the more healthy recipes you\'ll have to choose from.</span>');

var imgName = divname + "more";

		$(imgName).replace('<a onclick=\"hidecontent(\'' + divname + '\')\;\" id=\"' + divname + 'more\" style=\"cursor:pointer\;\"><img src=\"images/titles/close2.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
}

if(divname == 'faq3')
{

$(divname).replace('<span id=\"faq3\">Menu\" and then click on \"Change Servings.\"  The serving size will be reflected in the ingredients for each recipe in that day\'s menu, in the daily instructions, and in the shopping list for the week.  You can also set a default serving size in your Profile under \"Edit Personal Information.\"</span>');

var imgName = divname + "more";

		$(imgName).replace('<a onclick=\"hidecontent(\'' + divname + '\')\;\" id=\"' + divname + 'more\" style=\"cursor:pointer\;\"><img src=\"images/titles/close2.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
}


if(divname == 'faq4')
{

$(divname).replace('<span id=\"faq4\">corner of the 5-day planner.  The left column of the shopping list shows \"Items to Buy\" and the right column shows items we assume you already have in your pantry.  First, go through the right column and click on any items you don\'t have - this will move them to the \"Items to Buy\" list.  Then go through the left column and click to remove any items you already have.  You can optionally add other items you need to buy using the \"Add Your Items\" section on the left.  This is really handy for non-food items like paper towels, dog food, etc.</span>');

var imgName = divname + "more";

		$(imgName).replace('<a onclick=\"hidecontent(\'' + divname + '\')\;\" id=\"' + divname + 'more\" style=\"cursor:pointer\;\"><img src=\"images/titles/close2.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
}

if(divname == 'faq5')
{

$(divname).replace('<span id=\"faq5\">the recipe for nutritional content, ease of preparation, taste, and other factors, and will consider adding it to one of our meal plans.  We truly appreciate your input - please feel free to let us know about any recipes you\'d like to see added.</span>');

var imgName = divname + "more";

		$(imgName).replace('<a onclick=\"hidecontent(\'' + divname + '\')\;\" id=\"' + divname + 'more\" style=\"cursor:pointer\;\"><img src=\"images/titles/close2.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
}

if(divname == 'faq6')
{

$(divname).replace('<span id=\"faq6\">Click on the \"Add to Favorites\" button at the bottom.  This will cause a new section of the page to appear below that lists the recipes chosen for that day.  Click on the box to the left of any recipe you want to save to your Favorites, then click the \"Confirm\" button.  From now on you\'ll see this recipe in the \"Favorites\" section of the drop-down list of recipes.</span>');

var imgName = divname + "more";

		$(imgName).replace('<a onclick=\"hidecontent(\'' + divname + '\')\;\" id=\"' + divname + 'more\" style=\"cursor:pointer\;\"><img src=\"images/titles/close2.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
}


if(divname == 'faq7')
{

$(divname).replace('<span id=\"faq7\">becomes This Week\'s Menu. Plan your meals for next week by Wednesday or Thursday of this week so you can print out the shopping list to buy the ingredients for next week\'s dinners on Saturday or Sunday.</span>');

var imgName = divname + "more";

		$(imgName).replace('<a onclick=\"hidecontent(\'' + divname + '\')\;\" id=\"' + divname + 'more\" style=\"cursor:pointer\;\"><img src=\"images/titles/close2.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
}

if(divname == 'faq8')
{

$(divname).replace('<span id=\"faq8\">Information.\"  This will bring up a page where you can select any of the meal plan preferences we offer.  When you\'ve made your selections, click on \"Save\" to save your changes.  NOTE:  Changing your meal plan preference will REPLACE ALL OF YOUR MEALS for This Week\'s Menu and Next Week\'s Menu with meals from your newly selected meal plan.  Be sure to print out any shopping lists or daily instructions you need BEFORE changing your meal plan preference.  Click \"Cancel\" if you don\'t want to change your meal preference.</span>');

var imgName = divname + "more";

		$(imgName).replace('<a onclick=\"hidecontent(\'' + divname + '\')\;\" id=\"' + divname + 'more\" style=\"cursor:pointer\;\"><img src=\"images/titles/close2.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
}


if(divname == 'faq9')
{

$(divname).replace('<span id=\"faq9\">Information in your Profile.  Be sure to add YourTeam@HastyChef.com to your email program\'s \"address book\" or list of trusted domains.  Finally, check your SPAM folder and if you find our email there, tell your email program that the mail is from a \"trusted source\" so that future messages will appear in your inbox.  If all else fails, please email us at YourTeam@HastyChef.com and we will help figure things out.</span>');

var imgName = divname + "more";

		$(imgName).replace('<a onclick=\"hidecontent(\'' + divname + '\')\;\" id=\"' + divname + 'more\" style=\"cursor:pointer\;\"><img src=\"images/titles/close2.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
}

if(divname == 'faq10')
{

$(divname).replace('<span id=\"faq10\">Address.\"  This will bring up a page where you can change any of the parts of your billing address.  When you\'ve made your selections, click on \"Save\" to save your changes.  Click \"Cancel\" if you don\'t want to change your billing address.</span>');

var imgName = divname + "more";

		$(imgName).replace('<a onclick=\"hidecontent(\'' + divname + '\')\;\" id=\"' + divname + 'more\" style=\"cursor:pointer\;\"><img src=\"images/titles/close2.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
}


if(divname == 'faq11')
{

$(divname).replace('<span id=\"faq11\">Information.\"  This will bring up a page where you can change your subscription length (1 month, 3 months, 6 months, or 1 year) and/or change the credit card for your subscription.  When you\'ve made your selections, click on \"Save\" to save your changes.</span>');

var imgName = divname + "more";

		$(imgName).replace('<a onclick=\"hidecontent(\'' + divname + '\')\;\" id=\"' + divname + 'more\" style=\"cursor:pointer\;\"><img src=\"images/titles/close2.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
}

if(divname == 'faq12')
{

$(divname).replace('<span id=\"faq12\">Password.\" This will bring up a page where you can enter a new password.  You\'ll need to enter it twice to confirm it.  Click on \"Save\" to save your new password or click \"Cancel\" if you don\'t want to change your password.</span>');

var imgName = divname + "more";

		$(imgName).replace('<a onclick=\"hidecontent(\'' + divname + '\')\;\" id=\"' + divname + 'more\" style=\"cursor:pointer\;\"><img src=\"images/titles/close2.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
}


if(divname == 'faq13')
{

$(divname).replace('<span id=\"faq13\">Account.\"</span>');

var imgName = divname + "more";

		$(imgName).replace('<a onclick=\"hidecontent(\'' + divname + '\')\;\" id=\"' + divname + 'more\" style=\"cursor:pointer\;\"><img src=\"images/titles/close2.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
}



Effect.BlindDown(divname);

}

function hidecontent(divname)
{

	if(divname == 'faq1')
	{
		$(divname).update('');
		
		var imgName = divname + "more";
		
		$(imgName).replace('<a onclick=\"updatecontent(\'' + divname + '\')\;\" id=\"' + imgName +'\" style=\"cursor:pointer\;\"><img src=\"images/titles/read-more3.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
	}
	
	
	if(divname == 'faq2')
	{
		$(divname).update('');
		
		var imgName = divname + "more";
		
		$(imgName).replace('<a onclick=\"updatecontent(\'' + divname + '\')\;\" id=\"' + imgName +'\" style=\"cursor:pointer\;\"><img src=\"images/titles/read-more3.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
	}
	
	if(divname == 'faq3')
	{
		$(divname).update('');
		
		var imgName = divname + "more";
		
		$(imgName).replace('<a onclick=\"updatecontent(\'' + divname + '\')\;\" id=\"' + imgName +'\" style=\"cursor:pointer\;\"><img src=\"images/titles/read-more3.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
	}
	
	if(divname == 'faq4')
	{
		$(divname).update('');
		
		var imgName = divname + "more";
		
		$(imgName).replace('<a onclick=\"updatecontent(\'' + divname + '\')\;\" id=\"' + imgName +'\" style=\"cursor:pointer\;\"><img src=\"images/titles/read-more3.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
	}
	
	if(divname == 'faq5')
	{
		$(divname).update('');
		
		var imgName = divname + "more";
		
		$(imgName).replace('<a onclick=\"updatecontent(\'' + divname + '\')\;\" id=\"' + imgName +'\" style=\"cursor:pointer\;\"><img src=\"images/titles/read-more3.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
	}
	
	if(divname == 'faq6')
	{
		$(divname).update('');
		
		var imgName = divname + "more";
		
		$(imgName).replace('<a onclick=\"updatecontent(\'' + divname + '\')\;\" id=\"' + imgName +'\" style=\"cursor:pointer\;\"><img src=\"images/titles/read-more3.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
	}
	
	if(divname == 'faq7')
	{
		$(divname).update('');
		
		var imgName = divname + "more";
		
		$(imgName).replace('<a onclick=\"updatecontent(\'' + divname + '\')\;\" id=\"' + imgName +'\" style=\"cursor:pointer\;\"><img src=\"images/titles/read-more3.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
	}
	
	if(divname == 'faq8')
	{
		$(divname).update('');
		
		var imgName = divname + "more";
		
		$(imgName).replace('<a onclick=\"updatecontent(\'' + divname + '\')\;\" id=\"' + imgName +'\" style=\"cursor:pointer\;\"><img src=\"images/titles/read-more3.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
	}
	
	
	if(divname == 'faq9')
	{
		$(divname).update('');
		
		var imgName = divname + "more";
		
		$(imgName).replace('<a onclick=\"updatecontent(\'' + divname + '\')\;\" id=\"' + imgName +'\" style=\"cursor:pointer\;\"><img src=\"images/titles/read-more3.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
	}
	
	
	if(divname == 'faq10')
	{
		$(divname).update('');
		
		var imgName = divname + "more";
		
		$(imgName).replace('<a onclick=\"updatecontent(\'' + divname + '\')\;\" id=\"' + imgName +'\" style=\"cursor:pointer\;\"><img src=\"images/titles/read-more3.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
	}
	
	
	if(divname == 'faq11')
	{
		$(divname).update('');
		
		var imgName = divname + "more";
		
		$(imgName).replace('<a onclick=\"updatecontent(\'' + divname + '\')\;\" id=\"' + imgName +'\" style=\"cursor:pointer\;\"><img src=\"images/titles/read-more3.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
	}
	
	
	if(divname == 'faq12')
	{
		$(divname).update('');
		
		var imgName = divname + "more";
		
		$(imgName).replace('<a onclick=\"updatecontent(\'' + divname + '\')\;\" id=\"' + imgName +'\" style=\"cursor:pointer\;\"><img src=\"images/titles/read-more3.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
	}

	if(divname == 'faq13')
	{
		$(divname).update('');
		
		var imgName = divname + "more";
		
		$(imgName).replace('<a onclick=\"updatecontent(\'' + divname + '\')\;\" id=\"' + imgName +'\" style=\"cursor:pointer\;\"><img src=\"images/titles/read-more3.jpg\" width=\"48\" height=\"35\" border=\"0\" /></a>');
	
	}

	
}