function switchPic3(tab3){
	var picDietary = document.getElementById('dietary');
	var picCourse = document.getElementById('course');
	var picMainIngredient = document.getElementById('mainIngredient');
	var categoryDiv = document.getElementById('categoryDiv');
	
	//alert(roundedBottom.src);
	
	if(tab3 == 'dietaryOn'){
		picDietary.src = '/diabetes/img/recipe/dietary_on.gif';
		picCourse.src = '/diabetes/img/recipe/course_off.gif';
        picMainIngredient.src = '/diabetes/img/recipe/mainIngredient_off.gif';
		categoryDiv.innerHTML = '\
<br /> \
\
        <div class="recipe_box">\
            <div class="low_carb_top clearfix">\
                <div class="catHeading ">Low Carb...</div> \
                <img onclick=\'jQuery("#learn_more_low_carb").toggle();\' src="/diabetes/img/recipe/cat_learnMore.gif" width="160" height="40" border="0" hspace="0" alt="" class="recipe_learn_more" />                   \
            </div>\
            <div class="cat_mid">\
                <ul>\
                    <li class="cat1"><a href="/diabetes/diabetic-recipes/category-Carb_Safe.html">Carb Safe</a><br /><span class="cat2">&le; 30g</span><br /></li>\
                    <li class="cat1"><a href="/diabetes/diabetic-recipes/category-Low_Carb.html">Low Carb</a><br /><span class="cat2">&le; 15g</span><br /></li>\
                    <li class="cat1"><a href="/diabetes/diabetic-recipes/category-Very_Low_Carb.html">Very Low Carb</a><br /><span class="cat2">&le; 3g</span><br /></li>\
                </ul>\
                <img src="/diabetes/img/recipe/cat_bottom.gif" width="406" height="6" border="0" hspace="0" alt="" class="low_carb_bottom"/>\
            </div>\
        </div>\
        <br />\
        <div class="recipe_box">\
            <div class="low_carb_top clearfix">\
                <div class="catHeading ">Low in...</div>\
                <img onclick=\'jQuery("#learn_more_low_in").toggle();\' src="/diabetes/img/recipe/cat_learnMore.gif" width="160" height="40" border="0" hspace="0" alt="" class="recipe_learn_more" />\
            </div>\
            <div class="cat_mid">\
                <ul>\
                    <li class="cat1"><a class="cat1links" href="/diabetes/diabetic-recipes/category-Low_Calorie.html">Low Calorie</a><br /><span class="cat2">&le;360 calories for main dishes; &le;120 calories for all other types</span><br /></li>\
                    <li class="cat1"><a class="cat1links"  href="/diabetes/diabetic-recipes/category-Low_Cholesterol.html">Low Cholesterol</a><br /><span class="cat2">&le;60mg for main dishes; &le;20mg for all other types</span><br /></li>\
                    <li class="cat1"><a class="cat1links"  href="/diabetes/diabetic-recipes/category-Low_Fat.html">Low Fat</a><br /><span class="cat2">&le;9g for main dishes; &le;3g for all other types</span><br /></li>\
                    <li class="cat1"><a class="cat1links" href="/diabetes/diabetic-recipes/category-Low_Protein.html">Low Protein</a><br /><span class="cat2">&le;10g for main dishes; &le;3g for all other types</span><br /></li>\
                    <li class="cat1"><a class="cat1links"  href="/diabetes/diabetic-recipes/category-Low_Saturated_Fat.html">Low Saturated Fat</a><br /><span class="cat2">&le;3g for main dishes; &le;1g for all other types</span><br /></li>\
                    <li class="cat1"><a class="cat1links"  href="/diabetes/diabetic-recipes/category-Low_Sodium.html">Low Sodium</a><br /><span class="cat2">&le;420mg for main dishes; &le;140mg for all others</span><br /></li>\
                </ul>\
                <img src="/diabetes/img/recipe/cat_bottom.gif" width="406" height="6" border="0" hspace="0" alt="" class="low_carb_bottom"/>\
            </div>\
        </div>\
        <br />\
        <div class="recipe_box">\
            <div class="low_carb_top clearfix">\
                <div class="catHeading ">High in...</div>\
                <img onclick=\'jQuery("#learn_more_high_in").toggle();\' src="/diabetes/img/recipe/cat_learnMore.gif" width="160" height="40" border="0" hspace="0" alt="" class="recipe_learn_more" />\
            </div>\
            <div class="cat_mid">\
                <ul>\
                    <li class="cat1"><a href="/dLife/diabetic-recipes/category-High_Fiber.html">High Fiber</a><br /><span class="cat2">&ge;10g for main dishes; &ge;5g for all other types</span><br /></li>\
                    <li class="cat1"><a href="/diabetes/diabetic-recipes/category-High_Protein.html">High Protein</a><br /><span class="cat2">&ge;45g for main dishes; &ge;15g for all other types</span><br /></li>\
                </ul>\
                <img src="/diabetes/img/recipe/cat_bottom.gif" width="406" height="6" border="0" hspace="0" alt="" class="low_carb_bottom"/>\
            </div>\
        </div>  \
<div id="learn_more_low_carb" style="position: absolute; top: 20px; left: 7px;font-size: 0.8em; width: 394px; z-index: 100; border: 1px solid rgb(125, 198, 230); background-color: rgb(238, 238, 255); text-align: justify; padding: 5px; display:none;">\
    <img src="/diabetes/img/recipe/close.gif" style="float: right; width: 25px; height: 25px;" onclick=\'jQuery("#learn_more_low_carb").toggle();\'><div>\
<div id="learnMoreTop"> Recipes that are:\
<ul>\
<li>"Carb Safe" contain no more than 30 grams carbohydrates per serving.</li>\
<li> "Low Carb" contain no more than 15 grams of carbohydrate per serving. </li>\
<li> "Very Low Carb" contain no more than 3 grams of carbohydrate per serving. </li>\
</ul>\
</div>\
<div id="learnMoreNote">\
    Note: The dLife Recipe Finder is powered by ESHA Research, whose food database is composed of some 27,000 items, and contains extensive nutritional information on each. The nutritional analysis found on dLife?s recipe pages is calculated from the individual ingredients in each recipe, using the nutritional data found for those ingredients in the ESHA database. While we do our best to ensure accuracy, please note that these nutritional analyses are not intended for use in medical nutrition therapy. If you are following a strict diet for medical reasons, it?s important that you consult a health professional about using the dLife Recipe Finder for meal planning.\
</div>\
</div></div>\
\
<div id="learn_more_low_in" style="display:none;position: absolute; top: 185px; left: 7px;font-size: 0.8em; width: 394px; z-index: 100; border: 1px solid rgb(125, 198, 230); background-color: rgb(238, 238, 255); text-align: justify; padding: 5px; display:none;"><img src="/diabetes/img/recipe/close.gif" style="float: right; width: 25px; height: 25px;" onclick=\'jQuery("#learn_more_low_in").toggle();\'><div>\
<div id="learnMoreTop">\
Recipes that are "low in" one of these nutrient components contain no more than these specified amounts per serving. Main dishes are those that are found in the Main Dish/Entree category;  "all other types" are those that fall into any other category.\
</div>\
<div id="learnMoreNote">\
    Note: The dLife Recipe Finder is powered by ESHA Research, whose food database is composed of some 27,000 items, and contains extensive nutritional information on each. The nutritional analysis found on dLife\'s recipe pages is calculated from the individual ingredients in each recipe, using the nutritional data found for those ingredients in the ESHA database. While we do our best to ensure accuracy, please note that these nutritional analyses are not intended for use in medical nutrition therapy. If you are following a strict diet for medical reasons, it\'s important that you consult a health professional about using the dLife Recipe Finder for meal planning.\
</div>\
</div></div>\
\
<div id="learn_more_high_in" style="display:none;font-size: 0.8em; position: absolute; top: 460px; left: 7px; width: 394px; z-index: 100; border: 1px solid rgb(125, 198, 230); background-color: rgb(238, 238, 255); text-align: justify; padding: 5px;"><img src="/diabetes/img/recipe/close.gif" style="float: right; width: 25px; height: 25px;" onclick=\'jQuery("#learn_more_high_in").toggle();\'><div>\
<div id="learnMoreTop">\
Recipes that are "high in" one of these nutrient components contain at least these specified amounts per serving.\
</div>\
<div id="learnMoreNote">\
    Note: The dLife Recipe Finder is powered by ESHA Research, whose food database is composed of some 27,000 items, and contains extensive nutritional information on each. The nutritional analysis found on dLife?s recipe pages is calculated from the individual ingredients in each recipe, using the nutritional data found for those ingredients in the ESHA database. While we do our best to ensure accuracy, please note that these nutritional analyses are not intended for use in medical nutrition therapy. If you are following a strict diet for medical reasons, it\'s important that you consult a health professional about using the dLife Recipe Finder for meal planning.\
</div>\
</div></div>';
	}


	if(tab3 == 'courseOn'){
		picDietary.src = '/diabetes/img/recipe/dietary_off.gif';
		picCourse.src = '/diabetes/img/recipe/course_on.gif';
        picMainIngredient.src = '/diabetes/img/recipe/mainIngredient_off.gif';
		categoryDiv.innerHTML = '\
<br /> \
\
        <div class="recipe_box">\
            <div class="low_carb_top clearfix">\
                <div class="catHeading ">Course</div> \
                <img onclick="learnMore(0);" src="/diabetes/img/recipe/cat_nolearn.gif" width="160" height="40" border="0" hspace="0" alt="" class="recipe_learn_more" />                   \
            </div>\
            <div class="cat_mid">\
            <ul><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Appetizers.html">Appetizers</a><br></li><br><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Beverages.html">Beverages</a><br></li><br><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Breads_Muffins.html">Breads/Muffins</a><br></li><br><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Breakfast.html">Breakfast</a><br></li><br><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Condiments.html">Condiments, Sauces, etc</a><br></li><br><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Desserts.html">Desserts</a><br></li><br><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Lunch_Snacks.html">Lunch, Snacks</a><br></li><br><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Main.html">Main Dish/Entree</a><br></li><br><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Salads.html">Salads</a><br></li><br><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Side_Dishes.html">Side Dishes</a><br></li><br><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Soups.html">Soups</a><br></li><br><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Holiday.html">Holiday</a><br></li><br><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Inexpensive.html">Inexpensive</a><br></li><br></ul>\
                    <img src="/diabetes/img/recipe/cat_bottom.gif" width="406" height="6" border="0" hspace="0" alt="" class="low_carb_bottom"/>\
                </div>\
            </div>\
            <br /> ';
	}



	if(tab3 == 'mainIngredientOn'){
		picDietary.src = '/diabetes/img/recipe/dietary_off.gif';
		picCourse.src = '/diabetes/img/recipe/course_off.gif';
        picMainIngredient.src = '/diabetes/img/recipe/mainIngredient_on.gif';
		categoryDiv.innerHTML = '\
<br /> \
\
        <div class="recipe_box">\
            <div class="low_carb_top clearfix">\
                <div class="catHeading ">Main Ingredient</div> \
                <img onclick="learnMore(0);" src="/diabetes/img/recipe/cat_nolearn.gif" width="160" height="40" border="0" hspace="0" alt="" class="recipe_learn_more" />                   \
            </div>\
            <div class="cat_mid">\
            <ul><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Beans_Legumes.html">Beans / Legumes</a><br></li><br><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Chocolate.html">Chocolate</a><br></li><br><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Eggs_Dairy.html">Eggs/Dairy</a><br></li><br><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Fruit.html">Fruit</a><br></li><br><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Beef.html">Beef</a><br></li><br><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Lamb.html">Lamb</a><br></li><br><li class="cat1"><a href="/dLife/diabetic-recipes/category-Pork.html">Pork</a><br></li><br><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Poultry.html">Poultry</a><br></li><br><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Wild_game.html">Wild game</a><br></li><br><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Fish_Seafood.html">Fish/Seafood</a><br></li><br><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Vegetables.html">Vegetables</a><br></li><br><li class="cat1"><a href="/diabetes/diabetic-recipes/category-Pasta_Rice_Grains.html">Pasta, Rice &amp; Grains</a><br></li><br></ul>\
                    <img src="/diabetes/img/recipe/cat_bottom.gif" width="406" height="6" border="0" hspace="0" alt="" class="low_carb_bottom"/>\
                </div>\
            </div>\
            <br /> ';
	}

}




