	// 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 browserName = ""; 



					var ua = navigator.userAgent.toLowerCase(); 

					if ( ua.indexOf( "opera" ) != -1 ) { 

					

					} else if ( ua.indexOf( "msie" ) != -1 ) { 

					  var x = 20;

                      var y = 20;

					} else if ( ua.indexOf( "safari" ) != -1 ) { 

					  var x = 0;

                      var y = 0;

					} else if ( ua.indexOf( "mozilla" ) != -1 ) { 

					if ( ua.indexOf( "firefox" ) != -1 ) { 

					  var x = 20;

                      var y = 20;

					} else { 

					browserName = "mozilla";

					} 

					}

		var ms = new mtDropDownSet(mtDropDown.direction.down, x, y, 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("TV &amp; Wall-Mounting", "index.php?main_page=index&cPath=7");
		menu1.addItem("Home Cinema", "index.php?main_page=index&cPath=8");
		menu1.addItem("Wireless Internet", "index.php?main_page=index&cPath=9");
		menu1.addItem("Kitchen", "index.php?main_page=index&cPath=12");
		//menu1.addItem("Bathroom", "index.php?main_page=index&cPath=10");
		//menu1.addItem("Home Electrical", "index.php?main_page=index&cPath=11");
		/*menu1.addItem("TV in Bathroom", "index.php?main_page=index&cPath=17");*/
		
        var subMenu1 = menu1.addMenu(menu1.items[0]);	
		subMenu1.addItem("TV WALL MOUNTING","index.php?main_page=product_info&cPath=7&products_id=14");
		subMenu1.addItem("TABLE TOP TV SETUP","index.php?main_page=product_info&cPath=7&products_id=6");
		subMenu1.addItem("REMOTE CONTROL PROGRAMMING PACKAGE","index.php?main_page=product_info&cPath=7&products_id=7");
		subMenu1.addItem("HOME CINEMA PACKAGE","index.php?main_page=product_info&cPath=7&products_id=8");	
		 var subMenu2 = menu1.addMenu(menu1.items[1]);
			
		
		
		
		subMenu2.addItem("HOME CINEMA PACKAGE","index.php?main_page=product_info&cPath=8&products_id=59");
		subMenu2.addItem("REMOTE CONTROL PROGRAMMING PACKAGE","index.php?main_page=product_info&cPath=8&products_id=60");
		subMenu2.addItem("TABLE TOP TV SETUP","index.php?main_page=product_info&cPath=8&products_id=61");
		subMenu2.addItem("TV WALL MOUNTING","index.php?main_page=product_info&cPath=8&products_id=62");
	 /* var subMenu2 = menu1.addMenu(menu1.items[2]);

		subMenu2.addItem("Small House/Apartment Wireless Network Installation Package","index.php?main_page=product_info&cPath=9&products_id=15");	
		
		subMenu2.addItem("Medium/Large House Wireless Network Installation Package","index.php?main_page=product_info&cPath=9&products_id=16");
		subMenu2.addItem("Already bought a router","index.php?main_page=product_info&cPath=9&products_id=17");*/	
		
		
		
		
	  var subMenu3 = menu1.addMenu(menu1.items[3]);
		
		subMenu3.addItem("ELECTRIC OVEN REPLACEMENT","index.php?main_page=product_info&cPath=12&products_id=18");
		subMenu3.addItem("ELECTRIC HOB REPLACEMENT","index.php?main_page=product_info&cPath=12&products_id=19");	
		subMenu3.addItem("WASHING MACHINE REPLACEMENT","index.php?main_page=product_info&cPath=12&products_id=21");
		subMenu3.addItem("DISHWASHER REPLACEMENT","index.php?main_page=product_info&cPath=12&products_id=57");
		
		
	  /*var subMenu4 = menu1.addMenu(menu1.items[4]);

		subMenu4.addItem("Standard-Sized Bath & Taps Installation Package","index.php?main_page=product_info&cPath=10&products_id=23");	
		
		subMenu4.addItem("Bathroom Sink & Taps Installation Package","index.php?main_page=product_info&cPath=10&products_id=24");
		subMenu4.addItem("Shower & Shower Cubicle Installation Package","index.php?main_page=product_info&cPath=10&products_id=25");	
		
		subMenu4.addItem("Toilet Installation Package.","index.php?main_page=product_info&cPath=10&products_id=26");
		
	
	  var subMenu5 = menu1.addMenu(menu1.items[5]);

		subMenu5.addItem("New Power Socket Installation Package","index.php?main_page=product_info&cPath=11&products_id=29");	
		
		subMenu5.addItem("New Phone Socket Installation Package","index.php?main_page=product_info&cPath=11&products_id=30");
		subMenu5.addItem("Rooftop TV Aerial and Wall Socket Installation Package","index.php?main_page=product_info&cPath=11&products_id=31");	
		
		subMenu5.addItem("Ceiling Light And Light Switch Installation Package","index.php?main_page=product_info&cPath=11&products_id=32");
		
		subMenu5.addItem("Outdoor Power Socket Installation - Great for garden appliances","index.php?main_page=product_info&cPath=11&products_id=33");	
		
		subMenu5.addItem("Recessed Spotlight and Switch Installation Package","index.php?main_page=product_info&cPath=11&products_id=34");*/
		
		//var subMenu2 = menu1.addMenu(menu1.items[1]);

		//subMenu2.addItem("Table-top TV Installation and Setup Package - any size","tv-installation.php#tvhead1");	
		


		//

		// RoboCup Soccer

		//

		/*var menu2 = ms.addMenu(document.getElementById("menu2"));

		menu2.addItem("TV Wall Brackets", "tv-bracket.php");

		menu2.addItem("Wireless Routers", "wireless-router.php");

		menu2.addItem("Cables", "cable.php");
		menu2.addItem("Universal Remotes", "universal-remote.php");
		
		
		var subMenu1 = menu2.addMenu(menu2.items[0]);

		subMenu1.addItem("Fixed TV wall bracket","tv-bracket.php#tvhead1");	
		
		subMenu1.addItem("Tilting TV wall bracket","tv-bracket.php#tvhead2");
		subMenu1.addItem("Cantilever Arm Wall TV Bracket","tv-bracket.php#tvhead3");	
		
	  var subMenu2 = menu2.addMenu(menu2.items[1]);

		subMenu2.addItem("Netgear DG834G Wireless ADSL Modem Router","wireless-router.php#tvhead1");	
		
		subMenu2.addItem("Netgear WPN824 RangeMax MIMO-G  Wireless Cable Router","wireless-router.php#tvhead2");
		subMenu2.addItem("Netgear DG834PN RangeMax MIMO-G Wireless ADSL Modem Router","wireless-router.php#tvhead3");	
		subMenu2.addItem("Netgear DG834N RangeMax NEXT Wireless ADSL Modem Route","wireless-router.php#tvhead4");	
		
		subMenu2.addItem("Netgear WG111 Wireless 54Mbps USB 2.0 Adapter","wireless-router.php#tvhead5");
		subMenu2.addItem("Netgear WGXB102 54 Mbps Wall-Plugged Wireless Range Extender Kit","wireless-router.php#tvhead6");	
		
		
		
		
	  var subMenu3 = menu2.addMenu(menu2.items[2]);
		
		subMenu3.addItem("Aerial Cable","cable.php#tvhead1");
		subMenu3.addItem("Modem/Router Cable","cable.php#tvhead2");	
		subMenu3.addItem("Ethernet Cable","cable.php#tvhead3");
		subMenu3.addItem("HDMI Cable","cable.php#tvhead4");
		subMenu3.addItem("Optical Audio","cable.php#tvhead5");	
		subMenu3.addItem("Phono Black","cable.php#tvhead6");	
		subMenu3.addItem("Scart Cable","cable.php#tvhead7");
		subMenu3.addItem("Speaker Cable","cable.php#tvhead8");
		subMenu3.addItem("Power Cable","cable.php#tvhead9");	
		
	  var subMenu4 = menu2.addMenu(menu2.items[3]);

		subMenu4.addItem("Logitech Harmony 515 Advanced Universal Remote","universal-remote.php#tvhead1");	
		
		subMenu4.addItem("Logitech Harmony 555 Advanced Universal Remote","universal-remote.php#tvhead2");
		subMenu4.addItem("Logitech Harmony One Advanced Universal Control","universal-remote.php#tvhead3");	
		
		subMenu4.addItem("Logitech Harmony 1000 Advanced Universal Control","universal-remote.php#tvhead4");
*/		
		

	
		

    	//

		// RoboCup Rescue

		//

	    

		
		
		
		

		
		/*var menu3 = ms.addMenu(document.getElementById("menu3"));

		menu3.addItem("About ModelKamp","modelkamp.php");	
	
		menu3.addItem("Register","options.php");	

		
		var subMenu3 = menu3.addMenu(menu3.items[0]);

		subMenu3.addItem("Nick Saglimbeni","/robocupJunior/jrDance/");	
		
		subMenu3.addItem("Nick Saglimbeni","/robocupJunior/jrDance/");
		subMenu3.addItem("Nick Saglimbeni","/robocupJunior/jrDance/");	
		
		subMenu3.addItem("Nick Saglimbeni","/robocupJunior/jrDance/");
			//

		// RoboCup Rescue

		//
		
		
		var menu4 = ms.addMenu(document.getElementById("menu4"));

		menu4.addItem("Forum","http://www.slickforce.com/forums/");		
		
		
		var subMenu4 = menu4.addMenu(menu4.items[0]);

		subMenu4.addItem("Nick Saglimbeni","/robocupJunior/jrDance/");	
		
		subMenu4.addItem("Nick Saglimbeni","/robocupJunior/jrDance/");
		subMenu4.addItem("Nick Saglimbeni","/robocupJunior/jrDance/");	
		
		subMenu4.addItem("Nick Saglimbeni","/robocupJunior/jrDance/");
	//

		// RoboCup Rescue

		//



	var menu5 = ms.addMenu(document.getElementById("menu5"));

	

		menu5.addItem("About Slickforce","about-slickforcestudio.php");		

		menu5.addItem("Our Artists","artists.php");


		menu5.addItem("Studio Rental","studio-rental.php");	
		

	//

		// RoboCup Rescue

		//



  var menu6 = ms.addMenu(document.getElementById("menu6"));

		   menu6.addItem("Testimonials", "testimonial.php");	

            menu6.addItem("FAQs", "faq.php");		

        
			menu6.addItem("Contact Us", "contact.php");*/  

		
		
		
		
		
		
		
		
		
		mtDropDown.renderAll();

	}
	
