	// set up drop downs anywhere in the body of the page. I think the bottom of the page is better.. 
	// but you can experiment with effect on loadtime.
	if (mtDropDown.isSupported()) {

		//==================================================================================================
		// create a set of dropdowns
		//==================================================================================================
		// the first param should always be down, as it is here
		//
		// The second and third param are the top and left offset positions of the menus from their actuators
		// respectively. To make a menu appear a little to the left and bottom of an actuator, you could use
		// something like -5, 5
		//
		// The last parameter can be .topLeft, .bottomLeft, .topRight, or .bottomRight to inidicate the corner
		// of the actuator from which to measure the offset positions above. Here we are saying we want the 
		// menu to appear directly below the bottom left corner of the actuator
		//==================================================================================================
		var ms = new mtDropDownSet(mtDropDown.direction.down, 0, 0, mtDropDown.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================

		//
		// About Robocup2004
		//
		/*var menu1 = ms.addMenu(document.getElementById("menu1"));
		
		menu1.addItem("About", "/aboutRobocup2004/");
		menu1.addItem("What is Robocup?", "/aboutRobocup2004/whatIsRobocup");
		menu1.addItem("Why Portugal?", "/aboutRobocup2004/whyPortugal");
		menu1.addItem("Venue", "/aboutRobocup2004/venue");
		menu1.addItem("Local Organizing Committee", "/aboutRobocup2004/orgCommittee");
		menu1.addItem("Schedule", "/aboutRobocup2004/schedule");
		menu1.addItem("General Public/Publico", "/aboutRobocup2004/visitors");*/
		//==================================================================================================

		//==================================================================================================
		// add a sub-menu
		//==================================================================================================
		// to add a sub menu to an existing menu object, call it's addMenu method and pass it the item from
		// the parent menu which should act as it's actuator. To add a submenu to the fourth item of a menu
		// called "theMenu", you would do theMenu.addMenu(theMenu.items[3])
		//==================================================================================================		

		//
		// RoboCup Soccer
		//
		
		
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("High Mast Towers","high-mast-tower.html");
		menu2.addItem("Octogonal Galvanized Pole","octogonal-poles.html");		
		menu2.addItem("Conical Galvanized Pole","conical.html");	
		menu2.addItem("Circular Round Pole","circular-round-poles.html");
	    menu2.addItem("Swaged Pole","swaged-pole.html");
		menu2.addItem("Hinged Pole","cctv-poles.html");
		menu2.addItem("CCTV Pole","cctv-poles.html");
		menu2.addItem("Accesories","accesories-foundation-cctv-lights.html");
		
		
		
		
		//var subMenu21 = menu2.addMenu(menu2.items[1]);
	    //subMenu21.addItem("About","/robocupSoccer/eleague/");
		//subMenu21.addItem("Qualification", "/robocupSoccer/eleague/eleagueQualification/");    
		//subMenu21.addItem("Schedule", "/robocupSoccer/eleague/eleagueSchedule/");    
		//subMenu21.addItem("Rules", "/robocupSoccer/eleague/eleagueRules/");    
		//subMenu21.addItem("Teams", "/robocupSoccer/eleague/eleagueTeams/");    
		//subMenu21.addItem("Committees", "/robocupSoccer/eleague/eleagueCommittees/"); 
		//subMenu21.addItem("Results", "/robocupSoccer/eleague/eleagueResults/"); 

		//var subMenu22 = menu2.addMenu(menu2.items[2]);
		//subMenu22.addItem("About","/robocupSoccer/simulation/");
		//subMenu22.addItem("Qualification", "/robocupSoccer/simulation/socSimulQualification/");    
		//subMenu22.addItem("Schedule", "/robocupSoccer/simulation/socSimulSchedule/");    
		//subMenu22.addItem("Rules", "/robocupSoccer/simulation/socSimulRules/");    
		//subMenu22.addItem("Teams", "/robocupSoccer/simulation/socSimulTeams/");    
	//subMenu22.addItem("Committees", "/robocupSoccer/simulation/socSimulCommittees/"); 
	//subMenu22.addItem("Results", "/robocupSoccer/simulation/socSimulResults/"); 

		//var subMenu23 = menu2.addMenu(menu2.items[3]);
		//subMenu23.addItem("About","/robocupSoccer/smallSized/");
		//subMenu23.addItem("Qualification", "/robocupSoccer/smallSized/sslQualification/");    
		//subMenu23.addItem("Schedule", "/robocupSoccer/smallSized/sslSchedule/");    
		//subMenu23.addItem("Rules", "/robocupSoccer/smallSized/sslRules/");    
		//subMenu23.addItem("Teams", "/robocupSoccer/smallSized/sslTeams/");    
		//subMenu23.addItem("Committees", "/robocupSoccer/smallSized/sslCommittees/"); 
		//subMenu23.addItem("Results", "/robocupSoccer/smallSized/sslResults/"); 

		//var subMenu24 = menu2.addMenu(menu2.items[4]);
		//subMenu24.addItem("About","/robocupSoccer/middleSized/");
		//subMenu24.addItem("Qualification", "/robocupSoccer/middleSized/mslQualification/");    
		//subMenu24.addItem("Schedule", "/robocupSoccer/middleSized/mslSchedule/");    
		//subMenu24.addItem("Rules", "/robocupSoccer/middleSized/mslRules/");    
		//subMenu24.addItem("Teams", "/robocupSoccer/middleSized/mslTeams/");    
		//subMenu24.addItem("Committees", "/robocupSoccer/middleSized/mslCommittees/");        
		//subMenu24.addItem("Results", "/robocupSoccer/middleSized/mslResults/");        

		//var subMenu25 = menu2.addMenu(menu2.items[5]);
		//subMenu25.addItem("About","/robocupSoccer/4legged/");
		//subMenu25.addItem("Qualification", "/robocupSoccer/4legged/4legQualification/");    
		//subMenu25.addItem("Schedule", "/robocupSoccer/4legged/4legSchedule/");    
		//subMenu25.addItem("Rules", "/robocupSoccer/4legged/4legRules/");    
		//subMenu25.addItem("Teams", "/robocupSoccer/4legged/4legTeams/");    
		//subMenu25.addItem("Committees", "/robocupSoccer/4legged/4legCommittees/"); 
		//subMenu25.addItem("Results", "/robocupSoccer/4legged/4legResults/"); 

		//var subMenu26 = menu2.addMenu(menu2.items[6]);
		//subMenu26.addItem("Foundation Accesories","accesories-foundation-cctv-lights.html#foundation");
		//subMenu26.addItem("CCTV", "accesories-foundation-cctv-lights.html#cctv");    
		//subMenu26.addItem("Lights", "accesories-foundation-cctv-lights.html#lights");    
		//subMenu26.addItem("Rules", "/robocupSoccer/humanoid/humRules/");    
		//subMenu26.addItem("Teams", "/robocupSoccer/humanoid/humTeams/");    
		//subMenu26.addItem("Committees", "/robocupSoccer/humanoid/humCommittees/"); 
		//subMenu26.addItem("Results", "/robocupSoccer/humanoid/humResults/"); 

		var subMenu27 = menu2.addMenu(menu2.items[7]);
		subMenu27.addItem("Foundation Accesories","accesories-foundation-cctv-lights.html#foundation");
		subMenu27.addItem("CCTV", "accesories-foundation-cctv-lights.html#cctv");    
		subMenu27.addItem("Lights", "accesories-foundation-cctv-lights.html#lights");    
		

		//
		// RoboCup Rescue
		//
	      var menu3 = ms.addMenu(document.getElementById("menu3"));
            menu3.addItem("Products", "products.html");		
            menu3.addItem("Services", "services.html");	
			

		//var subMenu31 = menu3.addMenu(menu3.items[0]);
        //subMenu31.addItem("Lighting Luminairs", "lighting-luminairs.html");
		//subMenu31.addItem("LED Luminairs", "led.html");    
		//subMenu31.addItem("Solar Luminairs", "solar-luminairs.html");    
		//subMenu31.addItem("Architectural Lights", "architectural-lights.html");    
		
		

		//var subMenu32 = menu3.addMenu(menu3.items[1]);
        //subMenu32.addItem("Luminairs Developments", "luminairs-deve-sports.html");
		//subMenu32.addItem("Sports Lighting", "luminairs-deve-sports.html#sports");    
		
		
		
		
		// Robocup Junior
		var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("Access Control System","access-control-system.html");		
		menu4.addItem("Building Management Systems","bilding-management-systems.html");
		menu4.addItem("Boom Barriers","boom-barriers.html");		
		menu4.addItem("CCTV Systems","cctv-systems.html");
		menu4.addItem("Fire/ Intrusion Alarm Systems","fire-alarm-systems.html");		
		menu4.addItem("License Plate Recognition System ( LPRS )","license-plate.html");		
		menu4.addItem("Under Vehicle Inspection","under-vehicle-inspection.html");
		

		//var subMenu41 = menu4.addMenu(menu4.items[0]);
		//subMenu41.addItem("Why ERP?","/GrapesWebsite/products.html");		
		//subMenu41.addItem("Production and Planning Module", "/product_planning.html");    
		//subMenu41.addItem("Inventory & Warehouse ", "/inventory_wherehouse.html");    
		//subMenu41.addItem("HR/Payroll System ", "/hr-payroll.html");    
		//subMenu41.addItem("Purchase Module ", "/purchase_module.html"); 
		//subMenu41.addItem("Quality Control Management  ", "/quality_control.html");    
		//subMenu41.addItem("Sales Management  ", "/sales_management.html");  
		//subMenu41.addItem("Software Administration  ", "/software_administrator.html");  
		//subMenu41.addItem("Third Party Outsourcing   ", "/third_party_outsourching.html");  
		
		

		/*var subMenu42 = menu4.addMenu(menu4.items[1]);
		subMenu42.addItem("Why CRM?","/robocupJunior/jrRescue/");		
		subMenu42.addItem("Qualification", "/robocupJunior/jrRescue/jrRescueQualification/");    
		subMenu42.addItem("Schedule", "/robocupJunior/jrRescue/jrRescueSchedule/");    
		subMenu42.addItem("Rules", "/robocupJunior/jrRescue/jrRescueRules/");    
		subMenu42.addItem("Teams", "/robocupJunior/jrRescue/jrRescueTeams/");    */

	
		//
		// Symposium
		//
		//var menu5 = ms.addMenu(document.getElementById("menu5"));
		//menu5.addItem("GSM", "gsm.html");
		//menu5.addItem("SCADA","scada.html");
		
		//var subMenu51 = menu5.addMenu(menu5.items[0]);
		//subMenu51.addItem("Microsoft.Net", "/microsoft_dotnet.html");
		//subMenu51.addItem("Java/J2EE","/java_j2ee.html");
		//subMenu51.addItem("PHP/MySQL (LAMP)","/php_lamp.html");
		//subMenu51.addItem("AJAX","/ajax.html");		
		
		//
		// Participants
		//
		//var menu6 = ms.addMenu(document.getElementById("menu6"));
		//menu6.addItem("About", "/participants/");
		//menu6.addItem("News","/participants/participantsNews/");
		//menu6.addItem("Schedule","/participants/participantsSchedule/");
		//menu6.addItem("Registration","/participants/participantsRegistration/");
		//menu6.addItem("Travel Arrangements","/participants/travelArrangements/");    
		//menu6.addItem("Visa and Cargo Shipping","/participants/visaAndCargo/");    
    
		//
		// NewsRoom
		//
           // var menu7 = ms.addMenu(document.getElementById("menu7"));
			//menu7.addItem("About", "/newsRoom/");
          //  menu7.addItem("Press Releases","/newsRoom/pressReleases/");
          //  menu7.addItem("Media Accreditation", "/newsRoom/mediaAccreditation/");
          //  menu7.addItem("Media Facilities","/newsRoom/mediaFacilities/");
          //  menu7.addItem("Media Events","/newsRoom/mediaEvents/");
          //  menu7.addItem("Media Clipping","/newsRoom/mediaClipping/");

		//==================================================================================================
		// 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.
		//==================================================================================================
		mtDropDown.renderAll();
	}

