
function printTransmenus()
{
if (TransMenu.isSupported()) 
{
var ms = new TransMenuSet(TransMenu.direction.down, 0, 1, TransMenu.reference.bottomLeft);  // Changes position left and vertical position of starting menu

//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================
		//var path = "http://localhost/hulettssugar.co.za/";
		var path = "/";
		var menu1 = ms.addMenu(document.getElementById("About"));
		menu1.addItem("Our Profile", path+"about_us_huletts_company_profile"); 
		menu1.addItem("History", path+"about_us_history_huletts_history"); // send no URL if nothing should happen onclick

		
   		var menu2 = ms.addMenu(document.getElementById("Products"));
		menu2.addItem("Product Range Overview", path+"our_products_product_range_overview_product_range_overview");
		menu2.addItem("New Products", path+"our_products_huletts_sugar_new_products");
		menu2.addItem("Retail", path+"our_products_retail_sugars_retail"); //menu2.addMenu(menu2.items[1]
		menu2.addItem("Industrial", path+"our_products_industrial_overview_industrial");
		menu2.addItem("Catering", path+"our_products_catering_overview_catering");
		menu2.addItem("Non-nutritive Sweeteners", path+"our_products_non_nutritive_sugars_overview_non_nutritive_sweeteners");// send no URL if nothing should happen onclick

		//Second tier for Retail//
		var submenu2_01 = menu2.addMenu(menu2.items[2]);
    submenu2_01.addItem("White &amp; Brown sugars", path+"our_products_white_brown_sugars_retail");
    submenu2_01.addItem("Speciality Brown Sugars", path+"our_products_speciality_sugars_retail");
    submenu2_01.addItem("Baking Sugars", path+"our_products_baking_sugars_retail");
    submenu2_01.addItem("Fancy Sugars", path+"our_products_fancy_sugars_retail");
		submenu2_01.addItem("Syrups", path+"our_products_syrups_retail");
		/*submenu2_01.addItem("EquiSweet Classic", path+"our_products_huletts_equisweet_retail");
		submenu2_01.addItem("EquiSweet Sucralose", path+"our_products_huletts_equisweet_retail_0");*/
		submenu2_01.addItem("EquiSweet", "");
		submenu2_01.addItem("SUGAlite", "");
		submenu2_01.addItem("Fructose", path+"our_products_fructose_retail");
		submenu2_01.addItem("Molasses", path+"our_products_molasses_retail");
		
		
	var submenu03_01 = submenu2_01.addMenu(submenu2_01.items[5]);
   	submenu03_01.addItem("EquiSweet Classic", path+"our_products_huletts_equisweet_retail");
	submenu03_01.addItem("EquiSweet Sucralose", path+"our_products_huletts_equisweet_with_sucralose_retail");
    	
	var submenu04_02 = submenu2_01.addMenu(submenu2_01.items[6]);
	submenu04_02.addItem("SUGAlite - Baking Sugar Replacement", path+"our_products_sugalite_retail");
	submenu04_02.addItem("SUGAlite - Baking Premix", path+"our_products_sugalite_premixes_retail");
			
		//Second tier for Industrial//
		var submenu2_02 = menu2.addMenu(menu2.items[3]);
    submenu2_02.addItem("Overview", path+"our_products_industrial_overview_industrial");
    submenu2_02.addItem("White Refined Sugar", path+"our_products_white_refined_sugars_industrial");
    submenu2_02.addItem("Speciality Brown Sugars", path+"our_products_brown_speciality_sugars_industrial");
		submenu2_02.addItem("Liquid Sugars", path+"our_products_liquid_sugars_industrial");
		submenu2_02.addItem("Liquid Fructose", path+"our_products_liquid_fructose_industrial");
		submenu2_02.addItem("Caramels", path+"our_products_caramels_industrial");
		submenu2_02.addItem("Treacles", path+"our_products_treacles_industrial");
		submenu2_02.addItem("Invert Syrups", path+"our_products_invert_syrups_industrial");
		submenu2_02.addItem("Syrups", path+"our_products_golden_syrup_industrial");
		
		//Second tier for Catering//
		var submenu2_03 = menu2.addMenu(menu2.items[4]);
    submenu2_03.addItem("Overview", path+"our_products_catering_overview_catering");
    submenu2_03.addItem("Standard Sachets", path+"our_products_standard_sachets_catering");
    submenu2_03.addItem("Tube Sachets", path+"our_products_tube_sachets_catering");
    submenu2_03.addItem("Combo Box", path+"our_products_combo_box_catering");
		submenu2_03.addItem("Golden Syrup", path+"our_products_golden_syrup_catering");
		submenu2_03.addItem("Sugar Sachet Quotes", path+"sugar_sachet_quotes");
		
	
		//Second tier for Non Nutritive//
		var submenu2_04 = menu2.addMenu(menu2.items[5]);
    submenu2_04.addItem("Overview", path+"our_products_non_nutritive_sugars_overview_non_nutritive_sweeteners");
    submenu2_04.addItem("Cape Sweeteners", path+"our_products_cape_sweeteners_non_nutritive_sugars");
    submenu2_04.addItem("SUGAlite", path+"our_products_sugalite_industrial_non_nutritive_sugars");
    submenu2_04.addItem("Acesulfame K", path+"our_products_acesulfame_k_non_nutritive_sugars");
		submenu2_04.addItem("Aspartame", path+"our_products_aspartame_non_nutritive_sugars");
		submenu2_04.addItem("Sodium Cyclamate", path+"our_products_sodium_cyclamate_non_nutritive_sugars");
		submenu2_04.addItem("Sodium Saccharin", path+"our_products_sodium_saccharin_non_nutritive_sugars");
		submenu2_04.addItem("Polydextrose", path+"our_products_polydextrose_non_nutritive_sugars");
		submenu2_04.addItem("Crystalline Fructose", path+"our_products_crystalline_fructose_non_nutritive_sugars");
		submenu2_04.addItem("Isomalt", path+"our_products_isomalt_non_nutritive_sweeteners");
		submenu2_04.addItem("Neotame", path+"our_products_neotame_non_nutritive_sweeteners");
		submenu2_04.addItem("Sucralose", path+"our_products_sucralose_non_nutritive_sweeteners");
		submenu2_04.addItem("Comparitive Table", path+"our_products_comparison_of_intense_sweeteners_with_sugar_non_nutritive_sweeteners");
		
		
   		var menu3 = ms.addMenu(document.getElementById("Step"));
		menu3.addItem("Recipes", "");
		menu3.addItem("Baking & Cooking Tips", path+"step_into_our_kitchen_baking_and_cooking_tips");
		menu3.addItem("Baking Conversions", path+"step_into_our_kitchen_baking_conversions_baking_step_into_our_kitchen");		
		// send no URL if nothing should happen onclick
		
		//Second tier for Recipes//
		var submenu3_01 = menu3.addMenu(menu3.items[0]);
	//submenu3_01.addItem("Tina's Corner", path+"step_into_our_kitchen_recipes_tinas_corner_tinas_corner_recipes");//
    submenu3_01.addItem("Healthy Living (Low GI)", path+"step_into_our_kitchen_healthy_living_low_gi_recipes");
    submenu3_01.addItem("Decadent Desserts", path+"step_into_our_kitchen_decadent_desserts_recipes");
    submenu3_01.addItem("Teatime Treats", path+"step_into_our_kitchen_teatime_treats_recipes");
    submenu3_01.addItem("Special Occasions", path+"step_into_our_kitchen_special_occasions_recipes");
		submenu3_01.addItem("Sweet & Savoury Sauces", path+"step_into_our_kitchen_sweet_savoury_sauces_recipes");
		submenu3_01.addItem("Thirst Quenchers", path+"step_into_our_kitchen_thirst_quenchers_recipes");
		//submenu3_01.addItem("Quick &acute;n Easy Recipes", path+"step_into_our_kitchen_quick_n_easy_recipes_recipes"); 
		submenu3_01.addItem("Seasons", path+"step_into_our_kitchen_seasons_seasons_recipes");
		submenu3_01.addItem("Back to School", path+"step_into_our_kitchen_back_school_recipes");
		submenu3_01.addItem("Holiday & Party Ideas", path+"step_into_our_kitchen_holiday_and_party_ideas_recipes"); 
		submenu3_01.addItem("Market Day", path+"step_into_our_kitchen_market_day_market_day_recipes"); 
submenu3_01.addItem("Baking for Profit", path+"step_into_our_kitchen_baking_profit_baking_profit");
		submenu3_01.addItem("Cup Cakes", path+"step_into_our_kitchen_cup_cakes_cup_cakes_recipes");
		submenu3_01.addItem("SA Favourites", path+"step_into_our_kitchen_sa_favourites_sa_favourites_recipes");
		
		   		var menu4 = ms.addMenu(document.getElementById("Media"));
		menu4.addItem("Overview", path+"media_room_overview");
		menu4.addItem("Brand &amp; Product News", path+"media_room_whats_new");
		menu4.addItem("Community Involvement", path+"media_room_community_involvement");
		menu4.addItem("News Archive", path+"media_room_archive");
		menu4.addItem("Sugar Sachet Quotes", path+"sugar_sachet_quotes"); 
		menu4.addItem("Testimonals &amp; Stories", path+"media_room_what_is_your_huletts_story_testimonals_stories");
		menu4.addItem("Useful Links", path+"media_room_links");
		// send no URL if nothing should happen onclick
		
		   		var menu5 = ms.addMenu(document.getElementById("FAQ"));
		menu5.addItem("Ask our Dietitian", path+"faqs_ask_our_dietitian");
		menu5.addItem("List of Answered Questions", path+"faq");
		menu5.addItem("Health and Nutrition", path+"faqs_health_nutrition");
		menu5.addItem("Aspartame", path+"faqs_questions_aspartame_diabetes_sucralose#aspartame");
		menu5.addItem("Diabetes", path+"faqs_questions_aspartame_diabetes_sucralose#diabetes");
		menu5.addItem("Sucralose", path+"faqs_questions_aspartame_diabetes_sucralose#sucralose"); // send no URL if nothing should happen onclick<br>
		
		   		var menu6 = ms.addMenu(document.getElementById("Comp"));
		menu6.addItem("Current Competitions", path+"competitions");
		menu6.addItem("Archive", path+"competitions_archive");
		menu6.addItem("Winners", path+"competition_winners");
		
		var menu7 = ms.addMenu(document.getElementById("Contact"));
		menu7.addItem("Contact Details", path+"contact_us");
		menu7.addItem("Enquiry Form", path+"contact_enquiry_form");
		menu7.addItem("Mailing List Registration", path+"mailing_list_registration");
	     
        //Sub menus -start //
	
		
    /*
		
		var submenu01 = menu2.addMenu(menu2.items[0]);
    submenu01.addItem("Aliwal Shoal", "dive_sites_aliwal_shoal.html");
	
		
    var submenu02 = menu2.addMenu(menu2.items[1]);
    submenu02.addItem("Hluhluwe-iMfolozi Game Reserve", "hluhluwe_imfolozi_game_reserve.html");
		
		
		*/

	
	
	
/*

<a href="adrenaline_adventures.html" class="list1" title="adrenaline adventures">ADRENALIN ADVENTURES</a> 
<ul type="square">
<li><a href="oribi_gorge.html" >Oribi Gorge</a> </li>
<li><a href="karkloof_canopy_tour.html">Karkloof Canopy Tour</a> </li>
<li><a href="sani_pass.html" >Sani Pass</a> </li></ul> 


<a href="world_heritage_sites.html" class="list1" title="world heritage site, KwaZulu-Natal, South Africa">

WORLD HERITAGE SITES</a> 
<ul type="square">
<li><a href="st_lucia_estuary.html" >St Lucia Estuary</a></li>
<li><a href="ukhahlamba_drakensberg_park.html" >uKhahlamba-Drakensberg Park</a> </li></ul> 


<a href="zulu_experience_cultural_tours.html" class="list1" title="zulu experience cultural tours, KwaZulu-Natal, South Africa">

ZULU EXPERIENCE</a> 
<ul type="square">
<li><a href="zulu_experience.html" >Zulu experience</a></li>
<li><a href="dumazulu_cultural_village.html" >Dumazulu Cultural Village</a></li>
<li><a href="phezulu_safari_park.html" >Phezulu Safari Park</a></li></ul> 


<a href="day_adventures.html" class="list1" title="day adventures in KwaZulu-Natal">

DAY ADVENTURES</a>
<ul type="square">
<li><a href="crocworld.html" >Crocworld</a></li>
<li><a href="umgeni_river_bird_park.html" >Umgeni River Bird Park</a></li>
<li><a href="ushaka_marine_world.html" class="list1" title="ushaka marine world">
uShaka Marine World</a></li></ul> 
</ul>
		*/
		
	
    
	 //Sub menus -end //
        
     	//==================================================================================================

		//==================================================================================================

		
		
		//==================================================================================================

		//==================================================================================================
		// write drop downs into page
		//==================================================================================================
		// this method writes all the HTML for the menus into the page with document.write(). It must be
		// called within the body of the HTML page.
		//==================================================================================================
	TransMenu.renderAll();
	
	
	
	
	
			if (TransMenu.isSupported()) {
				TransMenu.initialize();
                
//Menu 1	
				menu1.onactivate = function() { document.getElementById("About").className = "other"; };
				menu1.ondeactivate = function() { document.getElementById("About").className = "other"; };

//Menu 2
				menu2.onactivate = function() { document.getElementById("Products").className = "other"; };
				menu2.ondeactivate = function() { document.getElementById("Products").className = "other"; };

//Menu 3
				menu3.onactivate = function() { document.getElementById("Step").className = "other"; };
				menu3.ondeactivate = function() { document.getElementById("Step").className = "other"; };

//Menu 4
				menu4.onactivate = function() { document.getElementById("Media").className = "other"; };
				menu4.ondeactivate = function() { document.getElementById("Media").className = "other"; };

//Menu 5
				menu5.onactivate = function() { document.getElementById("FAQ").className = "other"; };
				menu5.ondeactivate = function() { document.getElementById("FAQ").className = "other"; };






}
	}
	}
