//==================================================================================================
// This javascript file is powering all the links for the menu of UNEP DTIE SCP Website.
// The first level of the navigation have to be change directly on all templates due to the subnavigation.
// ATTENTION! THIS SCRIPT SUPPORT ONLY FULL DIRECT LINKS! (example: http://www.unep.fr/scp/communications/)
//==================================================================================================	
if (TransMenu.isSupported()) {
				TransMenu.updateImgPath('http://www.unep.fr/scp/navscript/');
				var ms = new TransMenuSet(TransMenu.direction.right, 0, 0, TransMenu.reference.topRight);
				TransMenu.subpad_x = 3;
				TransMenu.subpad_y = 0;

			
				document.getElementById("menu100").onmouseover = function() {
					ms.hideCurrent();
				}
				
//==================================================================================================
// Home (menu100)
//==================================================================================================		
//==================================================================================================
// About (menu 200)
//==================================================================================================
//==================================================================================================
// 10 Year Framework (menu300)
//==================================================================================================
//==================================================================================================
// International Meetings (menu400)
//==================================================================================================
var tmenu400 = ms.addMenu(document.getElementById("menu400"));
tmenu400.addItem("Introduction", "http://www.unep.fr/scp/marrakech/consultations/international/", 0, 0);

tmenu400.addItem("2007 - Stockholm", "http://www.unep.fr/scp/marrakech/consultations/international/07stockholm.htm", 0, 0);

tmenu400.addItem("2005 - Costa Rica", "http://www.unep.fr/scp/marrakech/consultations/international/05costarica.htm", 0, 0);
	
tmenu400.addItem("2003 - Marrakech", "http://www.unep.fr/scp/marrakech/consultations/international/03marrakech.htm", 0, 0);

//==================================================================================================
// Regional Consultations (menu1000)
//==================================================================================================
var tmenu1000 = ms.addMenu(document.getElementById("menu1000"));
tmenu1000.addItem("Introduction", "http://www.unep.fr/scp/marrakech/consultations/regional/", 0, 0);

tmenu1000.addItem("Africa", "http://www.unep.fr/scp/marrakech/consultations/regional/africa.htm", 0, 0);

tmenu1000.addItem("Asia-Pacific", "http://www.unep.fr/scp/marrakech/consultations/regional/asiapacific.htm", 0, 0);
	
tmenu1000.addItem("Europe", "http://www.unep.fr/scp/marrakech/consultations/regional/europe.htm", 0, 0);

tmenu1000.addItem("Latin America", "http://www.unep.fr/scp/marrakech/consultations/regional/latinamerica.htm", 0, 0);

tmenu1000.addItem("North America", "../marrakech/consultations/regional/northamerica.htm", 0, 0);

tmenu1000.addItem("West-Asia", "http://www.unep.fr/scp/marrakech/consultations/regional/westasia.htm", 0, 0);

//==================================================================================================
// National Roundtables (menu1100)
//==================================================================================================
var tmenu1100 = ms.addMenu(document.getElementById("menu1100"));
tmenu1100.addItem("Introduction", "http://www.unep.fr/scp/marrakech/consultations/national/", 0, 0);

tmenu1100.addItem("2007 Brazil", "http://www.unep.fr/scp/marrakech/consultations/national/07brazil.htm", 0, 0);

tmenu1100.addItem("2006/2007 India", "http://www.unep.fr/scp/marrakech/consultations/national/0607india.htm", 0, 0);
	
tmenu1100.addItem("2006 China", "http://www.unep.fr/scp/marrakech/consultations/national/06china.htm", 0, 0);

//==================================================================================================
// Task Forces
//==================================================================================================
var tmenu500 = ms.addMenu(document.getElementById("menu500"));
tmenu500.addItem("Introduction", "http://www.unep.fr/scp/marrakech/taskforces/", 0, 0);

tmenu500.addItem("Cooperation with Africa", "http://www.unep.fr/scp/marrakech/taskforces/africa.htm", 0, 0);

tmenu500.addItem("Education for Sustainable Consumption", "http://www.unep.fr/scp/marrakech/taskforces/education.htm", 0, 0);

tmenu500.addItem("Sustainable Buildings & Construction", "http://www.unep.fr/scp/marrakech/taskforces/bc.htm", 0, 0);

tmenu500.addItem("Sustainable Lifestyles", "http://www.unep.fr/scp/marrakech/taskforces/lifestyles.htm", 0, 0);

tmenu500.addItem("Sustainable Products", "http://www.unep.fr/scp/marrakech/taskforces/products.htm", 0, 0);

tmenu500.addItem("Sustainable Public Procurement", "http://www.unep.fr/scp/marrakech/taskforces/procurement.htm", 0, 0);

tmenu500.addItem("Sustainable Tourism", "http://www.unep.fr/scp/marrakech/taskforces/tourism.htm", 0, 0);


//==================================================================================================
// Stakeholders Forums: Business, NGO, Dialogue, Researchers
//==================================================================================================


//==================================================================================================
// Publications
//==================================================================================================
var tmenu700 = ms.addMenu(document.getElementById("menu700"));
tmenu700.addItem("Marrakech Process Publications", "http://www.unep.fr/scp/marrakech/publications/", 0, 0);

tmenu700.addItem("Newsletter", "http://www.unep.fr/scp/marrakech/publications/newsletter/", 0, 0);



				TransMenu.renderAll();
			}
			init1=function(){TransMenu.initialize();}
			if (window.attachEvent) {
				window.attachEvent("onload", init1);
			}else{
				TransMenu.initialize();			
			}