//Programmed by John Davidson, 2-5-2008
//START FOR MAIN NAVIGATION, mn0 is Products, mn1 is Allergy, etc
//window.bind('domready', function() {
 jQuery.noConflict(); 
 jQuery(document).ready(function() {


	var pageurl = document.location.toString();
	
	var mn0 = document.getElementById('MainNav1'); //PRODUCT PANTRY
	var mn1 = document.getElementById('MainNav2'); //HEALTHY LIVING
	var mn2 = document.getElementById('MainNav3'); //RECIPE COLLECTION
			
	if (pageurl.indexOf("products")!=-1) {
		jQuery('#PrintWhiteBack').css('display', 'none');
		jQuery('#PrintDarkBack').css('display', 'block');
	}
	else if (pageurl.indexOf("health")!=-1) {
		mn0.className = "MainNav1Off";
		mn1.className = "MainNav2On";
		mn2.className = "MainNav3Off";
	}
	else if (pageurl.indexOf("recipes")!=-1) {
		mn0.className = "MainNav1Off";
		mn1.className = "MainNav2Off";
		mn2.className = "MainNav3On";
	}	
	else {
		if(document.getElementById('MainNav1')){
			mn0.className = "MainNav1Off";
		}
		if(document.getElementById('MainNav2')){
			mn1.className = "MainNav2Off";
		}
		if(document.getElementById('MainNav3')){
			mn2.className = "MainNav3Off";
		}
	}
	
//PRODUCTS SECTION OF THE SITE
	
	jQuery('#MainNav1').bind('mouseenter', function(e) {
		if (pageurl.indexOf("products")!=-1) {
			jQuery('#PrintWhiteBack').css('display', 'none');
			jQuery('#PrintDarkBack').css('display', 'block');
		}
		/*else if (pageurl.indexOf("health")!=-1) {
			mn0.className = "MainNav1On";
			mn1.className = "MainNav2On";
			mn2.className = "MainNav3Off";
		}
		else if (pageurl.indexOf("recipes")!=-1) {
			mn0.className = "MainNav1On";
			mn1.className = "MainNav2Off";
			mn2.className = "MainNav3On";
		}	
		else {
			mn0.className = "MainNav1On";
			mn1.className = "MainNav2Off";
			mn2.className = "MainNav3Off";
		}/*
	});
	
	jQuery('#MainNav1').bind('mouseleave', function(e) {
		if (pageurl.indexOf("products")!=-1) {
			jQuery('#PrintWhiteBack').css('display', 'none');
			jQuery('#PrintDarkBack').css('display', 'block');
		}
		/*else if (pageurl.indexOf("health")!=-1) {
			mn0.className = "MainNav1Off";
			mn1.className = "MainNav2On";
			mn2.className = "MainNav3Off";
		}
		else if (pageurl.indexOf("recipes")!=-1) {
			mn0.className = "MainNav1Off";
			mn1.className = "MainNav2Off";
			mn2.className = "MainNav3On";
		}	
		else {
			mn0.className = "MainNav1Off";
			mn1.className = "MainNav2Off";
			mn2.className = "MainNav3Off";
		}*/
	});
		
//HEALTH SECTION OF THE SITE
			
	jQuery('#MainNav2').bind('mouseenter', function(e) {
		if (pageurl.indexOf("products")!=-1) {
			jQuery('#PrintWhiteBack').css('display', 'none');
			jQuery('#PrintDarkBack').css('display', 'block');
		}
		/*else if (pageurl.indexOf("health")!=-1) {
			mn0.className = "MainNav1Off";
			mn1.className = "MainNav2On";
			mn2.className = "MainNav3Off";
		}
		else if (pageurl.indexOf("recipes")!=-1) {
			mn0.className = "MainNav1Off";
			mn1.className = "MainNav2On";
			mn2.className = "MainNav3On";
		}	
		else {
			mn0.className = "MainNav1Off";
			mn1.className = "MainNav2On";
			mn2.className = "MainNav3Off";
		}*/
	});
	
	jQuery('#MainNav2').bind('mouseleave', function(e) {
		if (pageurl.indexOf("products")!=-1) {
			jQuery('#PrintWhiteBack').css('display', 'none');
			jQuery('#PrintDarkBack').css('display', 'block');
		}
		/*else if (pageurl.indexOf("health")!=-1) {
			mn0.className = "MainNav1Off";
			mn1.className = "MainNav2On";
			mn2.className = "MainNav3Off";
		}
		else if (pageurl.indexOf("recipes")!=-1) {
			mn0.className = "MainNav1Off";
			mn1.className = "MainNav2Off";
			mn2.className = "MainNav3On";
		}	
		else {
			mn0.className = "MainNav1Off";
			mn1.className = "MainNav2Off";
			mn2.className = "MainNav3Off";
		}*/
	
	});
	
//RECIPES SECTION OF THE SITE
		
	jQuery('#MainNav3').bind('mouseenter', function(e) {
		if (pageurl.indexOf("products")!=-1) {
			jQuery('#PrintWhiteBack').css('display', 'none');
			jQuery('#PrintDarkBack').css('display', 'block');
		}
		/*else if (pageurl.indexOf("health")!=-1) {
			mn0.className = "MainNav1Off";
			mn1.className = "MainNav2On";
			mn2.className = "MainNav3On";
		}
		else if (pageurl.indexOf("recipes")!=-1) {
			mn0.className = "MainNav1Off";
			mn1.className = "MainNav2Off";
			mn2.className = "MainNav3On";
		}	
		else {
			mn0.className = "MainNav1Off";
			mn1.className = "MainNav2Off";
			mn2.className = "MainNav3On";
		}*/
	});
	
	jQuery('#MainNav3').bind('mouseleave', function(e) {
		if (pageurl.indexOf("products")!=-1) {
			jQuery('#PrintWhiteBack').css('display', 'none');
			jQuery('#PrintDarkBack').css('display', 'block');
		}
		/*else if (pageurl.indexOf("health")!=-1) {
			mn0.className = "MainNav1Off";
			mn1.className = "MainNav2On";
			mn2.className = "MainNav3Off";
		}
		else if (pageurl.indexOf("recipes")!=-1) {
			mn0.className = "MainNav1Off";
			mn1.className = "MainNav2Off";
			mn2.className = "MainNav3On";
		}	
		else {
			mn0.className = "MainNav1Off";
			mn1.className = "MainNav2Off";
			mn2.className = "MainNav3Off";
		}*/

	});
	
	
//THIS CONTROLS THE HEADER IMAGES FOR HEALTH AND RECIPES

	var sn0 = document.getElementById('SubLink1'); 
	var sn1 = document.getElementById('SubLink2');
	var sn2 = document.getElementById('SubLink3');
	var sn3 = document.getElementById('SubLink4');
	var sn4 = document.getElementById('SubLink5');
	var sn5 = document.getElementById('SubLink6');
	var sn6 = document.getElementById('SubLink7');
	var sn7 = document.getElementById('SubLink8');
	var sn8 = document.getElementById('SubLink9');
	var sn9 = document.getElementById('SubLink10');
	var sn10 = document.getElementById('SubLink11');
	var sn11 = document.getElementById('SubLink12');
	//var sn12 = document.getElementById('SubLink13');
	var sn13 = document.getElementById('SubLink14');
	var sn14 = document.getElementById('SubLink15');
	var sn15 = document.getElementById('SubLink16');
	var sn16 = document.getElementById('SubLink17');
	var sn17 = document.getElementById('SubLink18');
	var sn18 = document.getElementById('SubLink19');
	var sn19 = document.getElementById('SubLink20');

		if (pageurl.indexOf("health_1a")!=-1) {
			sn0.className = "SubNavOn";
			sn1.className = "SubNavOff";
			sn2.className = "SubNavOff";
			jQuery('#PrintWhiteBack').css('display', 'block');
			jQuery('#PrintDarkBack').css('display', 'none');
			tm.initDeck('health');  //THIS SPECIFIES THE HEALTH SECTION TOUTS
			tm.displayToutById('callout8', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE HEALTH DECK
		}
		else if (pageurl.indexOf("health_1b")!=-1) {
			sn0.className = "SubNavOff";
			sn1.className = "SubNavOn";
			sn2.className = "SubNavOff";
			jQuery('#PrintWhiteBack').css('display', 'block');
			jQuery('#PrintDarkBack').css('display', 'none');
			tm.initDeck('health');  //THIS SPECIFIES THE HEALTH SECTION TOUTS
			tm.displayToutById('callout8', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE HEALTH DECK
		}
		else if (pageurl.indexOf("health_1c")!=-1) {
			sn0.className = "SubNavOff";
			sn1.className = "SubNavOff";
			sn2.className = "SubNavOn";
			jQuery('#PrintWhiteBack').css('display', 'block');
			jQuery('#PrintDarkBack').css('display', 'none');
			tm.initDeck('health');  //THIS SPECIFIES THE HEALTH SECTION TOUTS
			tm.displayToutById('callout8', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE HEALTH DECK
		}
		else if (pageurl.indexOf("health_2a")!=-1) {
			sn3.className = "SubNavOn";
			sn4.className = "SubNavOff";
			jQuery('#PrintWhiteBack').css('display', 'block');
			jQuery('#PrintDarkBack').css('display', 'none');
			tm.initDeck('health');  //THIS SPECIFIES THE HEALTH SECTION TOUTS
			tm.displayToutById('callout8', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE HEALTH DECK
		}
		else if (pageurl.indexOf("health_2b")!=-1) {
			sn3.className = "SubNavOff";
			sn4.className = "SubNavOn";
			jQuery('#PrintWhiteBack').css('display', 'block');
			jQuery('#PrintDarkBack').css('display', 'none');
			tm.initDeck('health');  //THIS SPECIFIES THE HEALTH SECTION TOUTS
			tm.displayToutById('callout8', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE HEALTH DECK
		}
		else if (pageurl.indexOf("health_3a")!=-1) {
			sn5.className = "SubNavOn";
			sn6.className = "SubNavOff";
			sn7.className = "SubNavOff";
			sn8.className = "SubNavOff";
			jQuery('#PrintWhiteBack').css('display', 'block');
			jQuery('#PrintDarkBack').css('display', 'none');
			tm.initDeck('health');  //THIS SPECIFIES THE HEALTH SECTION TOUTS
			tm.displayToutById('callout8', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE HEALTH DECK
		}
		else if (pageurl.indexOf("health_3b")!=-1) {
			sn5.className = "SubNavOff";
			sn6.className = "SubNavOn";
			sn7.className = "SubNavOff";
			sn8.className = "SubNavOff";
			jQuery('#PrintWhiteBack').css('display', 'block');
			jQuery('#PrintDarkBack').css('display', 'none');
			tm.initDeck('health');  //THIS SPECIFIES THE HEALTH SECTION TOUTS
			tm.displayToutById('callout8', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE HEALTH DECK
		}
		else if (pageurl.indexOf("health_3c")!=-1) {
			sn5.className = "SubNavOff";
			sn6.className = "SubNavOff";
			sn7.className = "SubNavOn";
			sn8.className = "SubNavOff";
			jQuery('#PrintWhiteBack').css('display', 'block');
			jQuery('#PrintDarkBack').css('display', 'none');
			tm.initDeck('health');  //THIS SPECIFIES THE HEALTH SECTION TOUTS
			tm.displayToutById('callout8', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE HEALTH DECK
		}
		else if (pageurl.indexOf("health_3d")!=-1) {
			sn5.className = "SubNavOff";
			sn6.className = "SubNavOff";
			sn7.className = "SubNavOff";
			sn8.className = "SubNavOn";
			jQuery('#PrintWhiteBack').css('display', 'block');
			jQuery('#PrintDarkBack').css('display', 'none');
			tm.initDeck('health');  //THIS SPECIFIES THE HEALTH SECTION TOUTS
			tm.displayToutById('callout8', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE HEALTH DECK
		}
		else if (pageurl.indexOf("health_4a")!=-1) {
			sn9.className = "SubNavOn";
			jQuery('#PrintWhiteBack').css('display', 'block');
			jQuery('#PrintDarkBack').css('display', 'none');
			tm.initDeck('health');  //THIS SPECIFIES THE HEALTH SECTION TOUTS
			tm.displayToutById('callout8', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE HEALTH DECK
		}
		else if (pageurl.indexOf("health")!=-1) {
			jQuery('#PrintWhiteBack').css('display', 'block');
			jQuery('#PrintDarkBack').css('display', 'none');
			tm.initDeck('health');  //THIS SPECIFIES THE HEALTH SECTION TOUTS
			tm.displayToutById('callout8', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE HEALTH DECK
		}
		else if (pageurl.indexOf("recipes_1a")!=-1) {
			sn11.className = "SubNavOn";
			//sn12.className = "SubNavOff";
			jQuery('#PrintWhiteBack').css('display', 'block');
			jQuery('#PrintDarkBack').css('display', 'none');
			tm.initDeck('delilah');  //THIS SPECIFIES THE HEALTH SECTION TOUTS
			tm.displayToutById('callout4', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE HEALTH DECK
		}
		else if (pageurl.indexOf("recipes_1b")!=-1) {
			sn11.className = "SubNavOff";
			//sn12.className = "SubNavOn";
			jQuery('#PrintWhiteBack').css('display', 'block');
			jQuery('#PrintDarkBack').css('display', 'none');
			tm.initDeck('angelica');  //THIS SPECIFIES THE RECIPES SECTION TOUTS
			tm.displayToutById('callout4', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE RECIPES DECK
		}
		else if (pageurl.indexOf("recipes_1c")!=-1) {
			sn13.className = "SubNavOn";
			jQuery('#PrintWhiteBack').css('display', 'block');
			jQuery('#PrintDarkBack').css('display', 'none');
			tm.initDeck('conversion');  //THIS SPECIFIES THE CONVERSION SECTION TOUTS
			tm.displayToutById('callout3', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE CONVERSION DECK
		}
		else if (pageurl.indexOf("recipes")!=-1) {
			sn10.className = "SubNavOn";
			jQuery('#PrintWhiteBack').css('display', 'block');
			jQuery('#PrintDarkBack').css('display', 'none');
			tm.initDeck('recipes');  //THIS SPECIFIES THE RECIPES SECTION TOUTS
			tm.displayToutById('callout4', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE RECIPES DECK
		}
		else if (pageurl.indexOf("contactus")!=-1) {
			sn14.className = "SubNavOn";
		}
		else if (pageurl.indexOf("faqs")!=-1) {
			sn15.className = "SubNavOn";
		}
		else if (pageurl.indexOf("legal")!=-1) {
			sn16.className = "SubNavOn";
		}
		else if (pageurl.indexOf("user_settings")!=-1) {
			sn18.className = "SubNavOn";
		}
		else if (pageurl.indexOf("privacy")!=-1) {
			sn19.className = "SubNavOn";
		}
		else if (pageurl.indexOf("special_offers")!=-1) {
			sn17.className = "SubNavOn";
		}
		
		//THIS IS FOR THE MAPS ON THE PRODUCT PAGES
				
		if (pageurl.indexOf("prod_milk_1")!=-1) {
			jQuery('#MapDiv1').css('display', 'block');
			jQuery('#Milk').css('display', 'block');
			jQuery('#IceCream').css('display', 'none');
			jQuery('#OrganicMilk').css('display', 'none');
			jQuery('#Dietary').css('display', 'none');
			document.form1.selectName.options[0].selected = true;
			tm.initDeck('products');  //THIS SPECIFIES THE PRODUCT SECTION TOUTS
			tm.displayToutById('callout1_dark', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE PRODUCT DECK
		}
		else if (pageurl.indexOf("prod_milk_2")!=-1) {
			jQuery('#MapDiv2').css('display', 'block');
			jQuery('#Milk').css('display', 'block');
			jQuery('#IceCream').css('display', 'none');
			jQuery('#OrganicMilk').css('display', 'none');
			jQuery('#Dietary').css('display', 'none');
			document.form1.selectName.options[1].selected = true;
			tm.initDeck('products');  //THIS SPECIFIES THE PRODUCT SECTION TOUTS
			tm.displayToutById('callout1_dark', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE PRODUCT DECK
		}
		else if (pageurl.indexOf("prod_milk_3")!=-1) {
			jQuery('#MapDiv3').css('display', 'block');
			jQuery('#Milk').css('display', 'block');
			jQuery('#IceCream').css('display', 'none');
			jQuery('#OrganicMilk').css('display', 'none');
			jQuery('#Dietary').css('display', 'none');
			document.form1.selectName.options[2].selected = true;
			tm.initDeck('products');  //THIS SPECIFIES THE PRODUCT SECTION TOUTS
			tm.displayToutById('callout1_dark', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE PRODUCT DECK
		}
		else if (pageurl.indexOf("prod_milk_4")!=-1) {
			jQuery('#MapDiv4').css('display', 'block');
			jQuery('#Milk').css('display', 'block');
			jQuery('#IceCream').css('display', 'none');
			jQuery('#OrganicMilk').css('display', 'none');
			jQuery('#Dietary').css('display', 'none');
			document.form1.selectName.options[3].selected = true;
			tm.initDeck('products');  //THIS SPECIFIES THE PRODUCT SECTION TOUTS
			tm.displayToutById('callout1_dark', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE PRODUCT DECK
		}
		else if (pageurl.indexOf("prod_milk_5")!=-1) {
			jQuery('#MapDiv5').css('display', 'block');
			jQuery('#Milk').css('display', 'block');
			jQuery('#IceCream').css('display', 'none');
			jQuery('#OrganicMilk').css('display', 'none');
			jQuery('#Dietary').css('display', 'none');
			document.form1.selectName.options[4].selected = true;
			tm.initDeck('products');  //THIS SPECIFIES THE PRODUCT SECTION TOUTS
			tm.displayToutById('callout1_dark', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE PRODUCT DECK
		}
		else if (pageurl.indexOf("prod_org_1")!=-1) {
			jQuery('#MapDiv11').css('display', 'block');
			jQuery('#Milk').css('display', 'none');
			jQuery('#IceCream').css('display', 'none');
			jQuery('#OrganicMilk').css('display', 'block');			
			jQuery('#Dietary').css('display', 'none');
			document.form3.selectName.options[0].selected = true;
			tm.initDeck('products');  //THIS SPECIFIES THE PRODUCT SECTION TOUTS
			tm.displayToutById('callout1_dark', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE PRODUCT DECK
		}
		else if (pageurl.indexOf("prod_org_2")!=-1) {
			jQuery('#MapDiv12').css('display', 'block');
			jQuery('#Milk').css('display', 'none');
			jQuery('#IceCream').css('display', 'none');
			jQuery('#OrganicMilk').css('display', 'block');
			jQuery('#Dietary').css('display', 'none');
			document.form3.selectName.options[1].selected = true;
			tm.initDeck('products');  //THIS SPECIFIES THE PRODUCT SECTION TOUTS
			tm.displayToutById('callout1_dark', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE PRODUCT DECK
		}
		else if (pageurl.indexOf("prod_diet_1")!=-1) {
			jQuery('#MapDiv13').css('display', 'block');
			jQuery('#Milk').css('display', 'none');
			jQuery('#IceCream').css('display', 'none');
			jQuery('#OrganicMilk').css('display', 'none');
			jQuery('#Dietary').css('display', 'block');
			jQuery('#PrintWhiteBack').css('display', 'none');
			jQuery('#PrintDarkBack').css('display', 'none');
			jQuery('#PrintDarkBuyBack').css('display', 'block');
			document.form4.selectName.options[0].selected = true;
			tm.initDeck('products');  //THIS SPECIFIES THE PRODUCT SECTION TOUTS
			tm.displayToutById('callout1_dark', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE PRODUCT DECK
		}
		else if (pageurl.indexOf("prod_diet_2")!=-1) {
			jQuery('#MapDiv14').css('display', 'block');
			jQuery('#Milk').css('display', 'none');
			jQuery('#IceCream').css('display', 'none');
			jQuery('#OrganicMilk').css('display', 'none');
			jQuery('#Dietary').css('display', 'block');
			jQuery('#PrintWhiteBack').css('display', 'none');
			jQuery('#PrintDarkBack').css('display', 'none');
			jQuery('#PrintDarkBuyBack').css('display', 'block');
			document.form4.selectName.options[1].selected = true;
			tm.initDeck('products');  //THIS SPECIFIES THE PRODUCT SECTION TOUTS
			tm.displayToutById('callout1_dark', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE PRODUCT DECK
		}
		else if (pageurl.indexOf("prod_diet_3")!=-1) {
			jQuery('#MapDiv15').css('display', 'block');
			jQuery('#Milk').css('display', 'none');
			jQuery('#IceCream').css('display', 'none');
			jQuery('#OrganicMilk').css('display', 'none');
			jQuery('#Dietary').css('display', 'block');
			jQuery('#PrintWhiteBack').css('display', 'none');
			jQuery('#PrintDarkBack').css('display', 'none');
			jQuery('#PrintDarkBuyBack').css('display', 'block');
			document.form4.selectName.options[2].selected = true;
			tm.initDeck('products');  //THIS SPECIFIES THE PRODUCT SECTION TOUTS
			tm.displayToutById('callout1_dark', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE PRODUCT DECK
		}
		else if (pageurl.indexOf("prod_ice_1")!=-1) {
			jQuery('#MapDiv6').css('display', 'block');
			jQuery('#Milk').css('display', 'none');
			jQuery('#IceCream').css('display', 'block');
			jQuery('#OrganicMilk').css('display', 'none');
			jQuery('#Dietary').css('display', 'none');
			document.form2.selectName.options[0].selected = true;
			tm.initDeck('products');  //THIS SPECIFIES THE PRODUCT SECTION TOUTS
			tm.displayToutById('callout1_dark', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE PRODUCT DECK
		}
		else if (pageurl.indexOf("prod_ice_2")!=-1) {
			jQuery('#MapDiv7').css('display', 'block');
			jQuery('#Milk').css('display', 'none');
			jQuery('#IceCream').css('display', 'block');
			jQuery('#OrganicMilk').css('display', 'none');
			jQuery('#Dietary').css('display', 'none');
			document.form2.selectName.options[1].selected = true;
			tm.initDeck('products');  //THIS SPECIFIES THE PRODUCT SECTION TOUTS
			tm.displayToutById('callout1_dark', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE PRODUCT DECK
		}
		else if (pageurl.indexOf("prod_ice_3")!=-1) {
			jQuery('#MapDiv8').css('display', 'block');
			jQuery('#Milk').css('display', 'none');
			jQuery('#IceCream').css('display', 'block');
			jQuery('#OrganicMilk').css('display', 'none');
			jQuery('#Dietary').css('display', 'none');
			document.form2.selectName.options[2].selected = true;
			tm.initDeck('products');  //THIS SPECIFIES THE PRODUCT SECTION TOUTS
			tm.displayToutById('callout1_dark', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE PRODUCT DECK
		}
		else if (pageurl.indexOf("prod_ice_4")!=-1) {
			jQuery('#MapDiv9').css('display', 'block');
			jQuery('#Milk').css('display', 'none');
			jQuery('#IceCream').css('display', 'block');
			jQuery('#OrganicMilk').css('display', 'none');
			jQuery('#Dietary').css('display', 'none');
			document.form2.selectName.options[3].selected = true;
			tm.initDeck('products');  //THIS SPECIFIES THE PRODUCT SECTION TOUTS
			tm.displayToutById('callout1_dark', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE PRODUCT DECK
		}
		else if (pageurl.indexOf("prod_ice_5")!=-1) {
			jQuery('#MapDiv10').css('display', 'block');
			jQuery('#Milk').css('display', 'none');
			jQuery('#IceCream').css('display', 'block');
			jQuery('#OrganicMilk').css('display', 'none');
			jQuery('#Dietary').css('display', 'none');
			document.form2.selectName.options[4].selected = true;
			tm.initDeck('products');  //THIS SPECIFIES THE PRODUCT SECTION TOUTS
			tm.displayToutById('callout1_dark', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE PRODUCT DECK
		}
		
		else if (pageurl.indexOf("prod_eggnog")!=-1) {
			jQuery('#MapDiv17').css('display', 'block');
			jQuery('#Milk').css('display', 'none');
			jQuery('#IceCream').css('display', 'none');
			jQuery('#OrganicMilk').css('display', 'none');
			jQuery('#Dietary').css('display', 'none');
			jQuery('#TheWords').css('display', 'none');
			tm.initDeck('products');  //THIS SPECIFIES THE PRODUCT SECTION TOUTS
			tm.displayToutById('callout1_dark', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE PRODUCT DECK
		}
		else if (pageurl.indexOf("prod_cottage_1")!=-1) {
			jQuery('#MapDiv16').css('display', 'block');
			jQuery('#Milk').css('display', 'none');
			jQuery('#IceCream').css('display', 'none');
			jQuery('#OrganicMilk').css('display', 'none');
			jQuery('#Dietary').css('display', 'none');
			jQuery('#TheWords').css('display', 'none');
			tm.initDeck('products');  //THIS SPECIFIES THE PRODUCT SECTION TOUTS
			tm.displayToutById('callout1_dark', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE PRODUCT DECK
		}
		else if (pageurl.indexOf("prod_evap_1")!=-1) {
			jQuery('#Milk').css('display', 'none');
			jQuery('#IceCream').css('display', 'none');
			jQuery('#OrganicMilk').css('display', 'none');
			jQuery('#Dietary').css('display', 'none');
			jQuery('#TheWords').css('display', 'none');
			tm.initDeck('products');  //THIS SPECIFIES THE PRODUCT SECTION TOUTS
			tm.displayToutById('callout1_dark', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE PRODUCT DECK
		}
		else if (pageurl.indexOf("products")!=-1) {
			jQuery('#MapDiv1').css('display', 'block');
			jQuery('#Milk').css('display', 'block');
			jQuery('#IceCream').css('display', 'none');
			jQuery('#OrganicMilk').css('display', 'none');
			jQuery('#Dietary').css('display', 'none');
			tm.initDeck('products');  //THIS SPECIFIES THE PRODUCT SECTION TOUTS
			tm.displayToutById('callout1_dark', 'tout1'); //THIS ONE LOCKS CALLOUT 1 TO TOUT POSTION 1
			tm.displayTout('tout2'); //THIS ONE IS RANDOM BASED ON THE PRODUCT DECK
		}	
});