	// 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 (TransMenu.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 TransMenuSet(TransMenu.direction.down, 1, 2, TransMenu.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================
		
		//==================================================================================================
		var menu1 = ms.addMenu(document.getElementById("markets"));
		menu1.addItem("Broadcast", "markets_broadcast.php");
		menu1.addItem("Consumer", "markets_consumer.php");
		menu1.addItem("Security / Surveillance", "markets_security.php");
		
		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("technology"));
		menu2.addItem("ISP", "technologies_isp.php");
		menu2.addItem("Video and Codecs", "technologies_videos.php");
		menu2.addItem("IP", "technologies_ip.php");
		
		//==================================================================================================
		var menu3 = ms.addMenu(document.getElementById("products"));
		menu3.addItem("Overview", "products.php");
		menu3.addItem("NI-9065", "products_ni_9065.php");
		menu3.addItem("Am2045", "products_am2045_overview.php");
		menu3.addItem("Silicon IP", "products_silicon.php");
		
		//==================================================================================================
		var menu4 = ms.addMenu(document.getElementById("news"));
		menu4.addItem("News", "/news/us_news.php"); 
		menu4.addItem("Editorial Contact", "media_contact.php"); 
		menu4.addItem("Press Releases", "press.php"); 
		menu4.addItem("Events", "events.php"); 
		menu4.addItem("Downloads", "downloads.php"); 
		
		//==================================================================================================
		var menu5 = ms.addMenu(document.getElementById("contact"));
		menu5.addItem("Corporate", "contact.php");
		menu5.addItem("Request Info", "request.php");
		
		//==================================================================================================
		var menu6 = ms.addMenu(document.getElementById("company"));
		menu6.addItem("Background", "company.php"); 
		menu6.addItem("Management", "management.php"); // send no URL if nothing should happen onclick
		menu6.addItem("Careers", "careers.php"); // send no URL if nothing should happen onclick	
		

		
		
		
		
	

		
		//menu5.addItem("Japan News", "news/japan_news.php");	
		//menu5.addItem("Korean News", "news/korean_news.php");	
		//menu5.addItem("Chinese News", "news/chinese_news.php");	
		//==================================================================================================
		
	
		//==================================================================================================
		// 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();
	}
