
function printTransmenus()
{
if (TransMenu.isSupported()) 
{
var ms = new TransMenuSet(TransMenu.direction.down, -1, 11, 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
		//==================================================================================================
		
		/*	 <!-- ZA Navigation -->
<!-- 		 <a name="home" id="home" href="index-en.html">Home</a> &nbsp;&nbsp;|&nbsp;&nbsp;<a name="why" id="why" href="why_south_africa.html">Why South Africa?</a> &nbsp;&nbsp;|&nbsp;&nbsp; <a name="breed" id="breed" href="racing_breeding_ownership.html">Racing, Breeding & Ownership</a> &nbsp;&nbsp;|&nbsp;&nbsp; <a name="travel" id="travel" href="kzn_travel_destinations.html">KwaZulu-Natal Travel Destinations</a> &nbsp;&nbsp;|&nbsp;&nbsp; <a name="links" id="links" href="#">Links</a> &nbsp;&nbsp;|&nbsp;&nbsp; <a name="contact" id="contact" href="contact.html">Contact details</a> -->
		<!-- ZA Navigation -->
				 <!-- SE Navigation -->
		<a name="home_se" id="home_se" href="index.html" class="active">Hemsida</a> &nbsp;&nbsp;|&nbsp;&nbsp; <a name="why_se" id="why_se" href="varfor_sydafrika.html">Varför Sydafrika?</a> &nbsp;&nbsp;|&nbsp;&nbsp; <a name="breed_se" id="breed_se" href="racing_uppfodning_aganderatt.html">Racing, Uppfödning & Äganderätt</a>  &nbsp;&nbsp;|&nbsp;&nbsp; <a name="travel_se" id="travel_se" href="kzn_resmal.html">KwaZulu-Natal Resmål</a> &nbsp;&nbsp;|&nbsp;&nbsp; <a name="links_se" id="links_se" href="#">Länkar</a> &nbsp;&nbsp;|&nbsp;&nbsp; <a name="contact_se" id="contact_se" href="kontak.html">Kontaktuppgifter</a>
		<!-- SE Navigation -->*/
		
		
		/*var menu1 = ms.addMenu(document.getElementById("breed"));
		menu1.addItem("> South African Trainers", "south_african_trainers.html");
		menu1.addItem("> South African Breeders", "south_african_breeders.html");
		menu1.addItem("> South African Drivers", "south_african_drivers.html");
		menu1.addItem("> Local HRSA News", "http://www.trotting.co.za/index.html#nametag1");
		menu1.addItem("> About HRSA", "http://www.trotting.co.za/About_HRSA.html#About_us");// send no URL if nothing should happen onclick    


   		var menu2 = ms.addMenu(document.getElementById("travel"));
		menu2.addItem("> Introduction", "travel_introduction.html");
		menu2.addItem("> Beaches", "http://www.kzn.org.za/index.php?thingsto");
		menu2.addItem("> Sport - Fifa World Cup 2010", "http://fifaworldcup.durban.gov.za");
		menu2.addItem("> Wildlife - Ezemvelo", "http://www.kznwildlife.com");// send no URL if nothing should happen onclick	

		
   		var menu3 = ms.addMenu(document.getElementById("links"));
		menu3.addItem("> zulu.org.za", "http://www.zulu.org.za");
		menu3.addItem("> harnessracingsa.co.za", "http://www.harnessracingsa.co.za");
		menu3.addItem("> africanlink.co.za", "http://www.africanlink.co.za");
		menu3.addItem("> fifaworldcup.durban.gov.za", "http://fifaworldcup.durban.gov.za");
		menu3.addItem("> travsport.se" , "http://www.travsport.se");
		menu3.addItem("> More Links.....", "http://www.trotting.co.za/Links.html"); // send no URL if nothing should happen onclick		*/   
		
   		var menu4 = ms.addMenu(document.getElementById("breed_se"));
		menu4.addItem("> Sydafrikanska Trav Tr&auml;nare", "http://www.transydafrika.deepcurrent.co.za/sydafrikanska_trav_tranare.html");
		menu4.addItem("> Sydafrikanska Uppf&ouml;dare", "http://www.transydafrika.deepcurrent.co.za/sydafrikanska_uppfodare.html");
		menu4.addItem("> Sydafrikanska Kuskar", "http://www.transydafrika.deepcurrent.co.za/sydafrikanska_kuskar.html");
		menu4.addItem("> Lokal HRSA Nyhet", "http://www.trotting.co.za/#nametag1");
		menu4.addItem("> Om HRSA", "http://www.trotting.co.za/About_HRSA.html#About_us");// send no URL if nothing should happen onclick     

		
   		var menu5 = ms.addMenu(document.getElementById("travel_se"));
		menu5.addItem("> Introduktion", "http://www.transydafrika.deepcurrent.co.za/resmal_introduktion.html");
		menu5.addItem("> Str&auml;nder", "http://www.kzn.org.za/index.php?thingsto");
		menu5.addItem("> Sport - Fifa World Cup 2010", "http://fifaworldcup.durban.gov.za");
		menu5.addItem("> Wildlife - Ezemvelo", "http://www.kznwildlife.com");// send no URL if nothing should happen onclick		 

		
   		var menu6 = ms.addMenu(document.getElementById("links_se"));
		menu6.addItem("> zulu.org.za", "http://www.zulu.org.za");
		menu6.addItem("> harnessracingsa.co.za", "http://www.harnessracingsa.co.za");
		menu6.addItem("> africanlink.co.za", "http://www.africanlink.co.za");
		menu6.addItem("> fifaworldcup.durban.gov.za", "http://fifaworldcup.durban.gov.za");
		menu6.addItem("> travsport.se" , "http://www.travsport.se");
		menu6.addItem("> Fler L&auml;nkar.....", "http://www.trotting.co.za/Links.html"); // send no URL if nothing should happen onclick		 

	 //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("breed").className = "other"; };
				menu1.ondeactivate = function() { document.getElementById("breed").className = "other"; };

//Menu 2
				menu2.onactivate = function() { document.getElementById("travel").className = "other"; };
				menu2.ondeactivate = function() { document.getElementById("travel").className = "other"; };

                
//Menu 3	
				menu3.onactivate = function() { document.getElementById("links").className = "other"; };
				menu3.ondeactivate = function() { document.getElementById("links").className = "other"; };*/

//Menu 4
				menu4.onactivate = function() { document.getElementById("breed_se").className = ""; };
				menu4.ondeactivate = function() { document.getElementById("breed_se").className = ""; };
				
				                
//Menu 5	
				menu5.onactivate = function() { document.getElementById("travel_se").className = ""; };
				menu5.ondeactivate = function() { document.getElementById("travel_se").className = ""; };

//Menu 6
				menu6.onactivate = function() { document.getElementById("links_se").className = ""; };
				menu6.ondeactivate = function() { document.getElementById("links_se").className = ""; };
				
				//Menu etc...






}
	}
	}
