//==================================================================================================
// 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 SUPPORTS ONLY FULL DIRECT LINKS! (example: http://www.unep.fr/scp/communications/)
//==================================================================================================	
if (TransMenu.isSupported()) {
				TransMenu.updateImgPath('http://www.unep.fr/scp/navscript/');
				//KMunn code - added to correct for different alignment behaviours between IE and other browsers
				// for the first fly-out menus relative to the parent (fixed) menus.  Original code:
				// var ms = new TransMenuSet(TransMenu.direction.right, 0, 0, TransMenu.reference.topRight);
				if (ie) {
					var ms = new TransMenuSet(TransMenu.direction.right, 13, 15, TransMenu.reference.topRight);
				} else {
					var ms = new TransMenuSet(TransMenu.direction.right, 3, 0, TransMenu.reference.topRight);
				}
				// end KMunn code
				TransMenu.subpad_x = 3;
				TransMenu.subpad_y = 0;

			
				document.getElementById("menu100").onmouseover = function() {
					ms.hideCurrent();
				}
				
//==================================================================================================
// About the branch
//==================================================================================================		
var tmenu100 = ms.addMenu(document.getElementById("menu100"));
//tmenu100.addItem("Activities", "http://www.chem.unep.ch/about/activities.htm", 0, 0);
tmenu100.addItem("Staff contacts", "http://www.chem.unep.ch/chemicals/contacts.htm", 0, 0);
tmenu100.addItem("Location", "http://www.chem.unep.ch/chemicals/location.htm", 0, 0);
tmenu100.addItem("Newsletters", "http://www.chem.unep.ch/chemicals/newsletters.htm", 0, 0);


//==================================================================================================
// Mercury
//==================================================================================================
var tmenu200 = ms.addMenu(document.getElementById("menu200"));
tmenu200.addItem("Mercury programme", "http://www.unep.org/hazardoussubstances/Mercury/tabid/434/Default.aspx", 0, 0);

tmenu200.addItem("Lead and cadmium activities", "http://www.unep.org/hazardoussubstances/LeadCadmium/tabid/29372/Default.aspx", 0, 0);

//==================================================================================================
// POPs
//==================================================================================================
var tmenu300 = ms.addMenu(document.getElementById("menu300"));
tmenu300.addItem("Info on POPs and alternatives", "http://www.chem.unep.ch/Pops/newlayout/infpopsalt.htm", 0, 0);
	var tmenu301 = tmenu300.addMenu(tmenu300.items[0]);
	tmenu301.addItem("DDT Information System", "http://www.chem.unep.ch/ddt/Default.html", 0, 0);
	tmenu301.addItem("Termiticide Information System", "http://www.chem.unep.ch/termites/Default.html", 0, 0);
	tmenu301.addItem("Plans to reduce POPs releases", "http://www.chem.unep.ch/Pops/actplan.html", 0, 0);	
	
tmenu300.addItem("POPs analysis capacity / projects", "http://www.chem.unep.ch/Pops/GMP/default.htm", 0, 0);
	var tmenu302 = tmenu300.addMenu(tmenu300.items[1]);
	tmenu302.addItem("POPs laboratory database", "http://212.203.125.2/databank/Home/Welcome.aspx", 0, 0);
	
tmenu300.addItem("Dioxin / furan activities", "http://www.chem.unep.ch/Pops/pcdd_activities/default.htm", 0, 0);
	var tmenu303 = tmenu300.addMenu(tmenu300.items[2]);
	tmenu303.addItem("PCDD/PCDF inventories", "http://www.chem.unep.ch/Pops/pcdd_activities/inventories/default.htm", 0, 0);
	tmenu303.addItem("Toolkit methodology", "http://www.chem.unep.ch/Pops/pcdd_activities/toolkit/default.htm", 0, 0);
	tmenu303.addItem("Projects", "http://www.chem.unep.ch/Pops/pcdd_activities/projects/default.htm", 0, 0);
	tmenu303.addItem("Toolkit Experts meetings", "http://www.chem.unep.ch/Pops/pcdd_activities/toolkit%20experts%20meetings/default.htm", 0, 0);
	tmenu303.addItem("Training workshops", "http://www.chem.unep.ch/Pops/pcdd_activities/training_workshops/default.htm", 0, 0);
	
tmenu300.addItem("PCB activities", "http://www.chem.unep.ch/Pops/pcb_activities/default.htm", 0, 0);
	var tmenu305 = tmenu300.addMenu(tmenu300.items[3]);
	tmenu305.addItem("PCB destruction capacity", "http://www.chem.unep.ch/Pops/pcb_activities/questionnaire/default.htm", 0, 0);
	tmenu305.addItem("UNEP guidance on PCB", "http://www.chem.unep.ch/Pops/pcb_activities/default.htm#Guidance", 0, 0);
	
//tmenu300.addItem("Global monitoring of POPs", "http://www.chem.unep.ch/gmn/default.htm", 0, 0);

//tmenu300.addItem("GEF projects on POPs", "http://gefonline.org/home.cfm", 0, 0);

tmenu300.addItem("Reports / documents on POPs", "http://www.chem.unep.ch/Pops/newlayout/repdocs.html", 0, 0);
	var tmenu308 = tmenu300.addMenu(tmenu300.items[4]);
	tmenu308.addItem("Workshop proceedings", "http://www.chem.unep.ch/Pops/POPs_Inc/proceedings/coverpgs/procovers.htm", 0, 0);

//==================================================================================================
// Mainstreaming
//==================================================================================================
var tmenu470 = ms.addMenu(document.getElementById("menu470"));
tmenu470.addItem("UNDP/UNEP Partnership Initiative", "http://www.chem.unep.ch/unepsaicm/mainstreaming/UNEP_UNDP_PI_default.htm", 0, 0);
tmenu470.addItem("UNEP LIRA Guidance", "http://www.chem.unep.ch/unepsaicm/mainstreaming/IntegGuidOnDevOfLegAndInstInfra_default.htm", 0, 0);
tmenu470.addItem("Global Chemicals Outlook", "http://www.chem.unep.ch/unepsaicm/mainstreaming/GlobChemOutllook_default.htm", 0, 0);
tmenu470.addItem("Cost of Inaction", "http://www.chem.unep.ch/unepsaicm/mainstreaming/CostsOfInaction/default.htm", 0, 0);
tmenu470.addItem("Children Environmental Health Project", "http://www.chem.unep.ch/unepsaicm/mainstreaming/CEH/default.htm", 0, 0);
	

//==================================================================================================
// SAICM at UNEP
//==================================================================================================
var tmenu450 = ms.addMenu(document.getElementById("menu450"));
tmenu450.addItem("The Chemicals in Products Project", "http://www.chem.unep.ch/unepsaicm/cip/default.htm", 0, 0);
//tmenu450.addItem("The Lead in Paint Partnership", "http://www.chem.unep.ch/Pb_and_Cd/default.htm", 0, 0);
//tmenu450.addItem("Informal Workshop on Stakeholders’ Information Needs on Chemicals in Articles/Products", "http://www.chem.unep.ch/unepsaicm/cheminprod_dec08/default.htm", 0, 0);
//tmenu450.addItem("Workshop on Managing Perfluorinated Chemicals and Transitioning to Safer Alternatives", "http://www.chem.unep.ch/unepsaicm/cheminprod_dec08/PFCWorkshop/default.htm", 0, 0);
tmenu450.addItem("UNEP 26th Governing Council Decision 26/3 on chemicals and waste", 
				 "http://hqweb.unep.org/gc/gc26/", 0, 0);
//tmenu450.addItem("Illegal chemicals traffic", "http://www.chem.unep.ch/unepsaicm/prague_nov06/default.html", 0, 0);
	
//==================================================================================================
//  Pesticides activities - added 25 June, 2009 - Kevin Munn
//==================================================================================================
var tmenu480 = ms.addMenu(document.getElementById("menu480"));
tmenu480.addItem("Toxicology In The Classroom", "http://www.chem.unep.ch/Pesticides/ToxicologyInTheClassroom/default.htm", 0, 0);
tmenu480.addItem("All pesticide publications", "http://www.chem.unep.ch/Pesticides/default.htm", 0, 0);


//==================================================================================================
// Other activities
//==================================================================================================
var tmenu500 = ms.addMenu(document.getElementById("menu500"));	
tmenu500.addItem("The Chemicals in Products Project", "http://www.chem.unep.ch/unepsaicm/cip/default.htm", 0, 0);
tmenu500.addItem("CIEN", "http://jp1.estis.net/communities/cien/", 0, 0);
	var tmenu501 = tmenu500.addMenu(tmenu500.items[1]);
	tmenu501.addItem("CIEN Network", "http://jp1.estis.net/communities/cien/", 0, 0);
	tmenu501.addItem("Chemicals e-forums", "http://www.reic-cien.com/dokeos/index.php", 0, 0);
	
tmenu500.addItem("POPs laboratory database", "http://212.203.125.2/databank/Home/Welcome.aspx", 0, 0);
	
tmenu500.addItem("DDT Information System", "http://www.chem.unep.ch/ddt/Default.html", 0, 0);

tmenu500.addItem("Termiticide Information System", "http://www.chem.unep.ch/termites/Default.html", 0, 0);

tmenu500.addItem("Legal Issues", "http://www.chem.unep.ch/Legal/default.htm", 0, 0);

tmenu500.addItem("Existing sources and approaches to risk assessment and management of pesticides", "http://www.chem.unep.ch/Pesticides/RiskAssessmentWorkshop/MeetingDocs/Risk%20assessment%20and%20risk%20management%20of%20pesticides_Resource%20document_Final.pdf",0, 0);

tmenu500.addItem("Screening information datasets (SIDS)", "http://www.chem.unep.ch/irptc/sids/OECDSIDS/sidspub.html", 0, 0);
	
	
//==================================================================================================
// Meetings / Events - removed 21 April, 2008 - KMunn
//==================================================================================================
//var tmenu600 = ms.addMenu(document.getElementById("menu600"));
//tmenu600.addItem("For this year", "http://www.unep.fr/scp/bc/", 0, 0);
//	var tmenu601 = tmenu600.addMenu(tmenu600.items[0]);
//	tmenu601.addItem("Meeting 1", "http://www.chem.unep.ch/meetings/2008/meeting1.htm", 0, 0);
//	tmenu601.addItem("Meeting 2", "http://www.chem.unep.ch/meetings/2008/meeting2.htm", 0, 0);
//	tmenu601.addItem("Meeting 3", "http://www.chem.unep.ch/meetings/2008/meeting3.htm", 0, 0);
	

//==================================================================================================
// Publications / Documents - removed 11 Jan, 2010 - KMunn
//==================================================================================================
//var tmenu700 = ms.addMenu(document.getElementById("menu700"));
//tmenu700.addItem("Guidance", "http://portalserver.unepchemicals.ch/Publications/Forms/All.htm?FilterField1=Information_Type&FilterValue1=Guidance", 0, 0);
//tmenu700.addItem("Reports", "http://portalserver.unepchemicals.ch/Publications/Forms/All.htm?FilterField1=Information_Type&FilterValue1=Report", 0, 0);
//tmenu700.addItem("Proceedings", "http://portalserver.unepchemicals.ch/Publications/Forms/All.htm?FilterField1=Information_Type&FilterValue1=Proceedings", 0, 0);
//tmenu700.addItem("Newsletters", "http://portalserver.unepchemicals.ch/Publications/Forms/All.htm?FilterField1=Information_Type&FilterValue1=Newsletter", 0, 0);
//tmenu700.addItem("Tools & resources?", "http://dbserver.irptc.unep.ch/irptc/owa/ini.init", 0, 0);


//==================================================================================================
// Resources - removed 21 April, 2008 - KMunn
//==================================================================================================
//var tmenu800 = ms.addMenu(document.getElementById("menu800"));
//tmenu800.addItem("Mercury resources", "http://www.chem.unep.ch/mercury/Guidance-training-materials.htm", 0, 0);
//tmenu800.addItem("Dioxins and furans toolkit", "http://www.chem.unep.ch/Pops/pcdd_activities/toolkit/default.htm", 0, 0);
//tmenu800.addItem("POPs laboratory database", "http://www.chem.unep.ch/databank/Search/Result.aspx", 0, 0);
//tmenu800.addItem("POPs alternatives database", "http://dbserver.irptc.unep.ch/irptc/owa/ini.init", 0, 0);
//tmenu800.addItem("DDT Information System", "http://www.chem.unep.ch/ddt/Default.html", 0, 0);
//tmenu800.addItem("Termiticide Information System", "http://www.chem.unep.ch/termites/Default.html", 0, 0);



//==================================================================================================
// Useful links 
//==================================================================================================
var tmenu900 = ms.addMenu(document.getElementById("menu900"));
tmenu900.addItem("Basel Convention", "http://www.basel.int/", 0, 0);
tmenu900.addItem("Rotterdam Convention", "http://www.pic.int/", 0, 0);
tmenu900.addItem("Stockholm Convention", "http://www.pops.int/", 0, 0);
tmenu900.addItem("Montreal Protocol (Ozone)", "http://ozone.unep.org/", 0, 0);

// end of menu specification


				TransMenu.renderAll();
			}
			init1=function(){TransMenu.initialize();}
			if (window.attachEvent) {
				window.attachEvent("onload", init1);
			}else{
				TransMenu.initialize();			
			}
