
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, 0, 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("menu_aboutus"));
	menu1.addItem("About Us", "aboutus.php"); 
	menu1.addItem("Corporate Responsibility", "aboutus.php?pid=corporate");


	//==================================================================================================

	//==================================================================================================
	var menu2 = ms.addMenu(document.getElementById("menu_practiceareas"));
	menu2.addItem("Banking, Finance &amp; Capital Markets", "practiceareas.php?pid=bankingfinance1");
	menu2.addItem("Corporate and Mergers &amp; Acquisitions", "practiceareas.php?pid=companylaw1");
	menu2.addItem("Civil &amp; Criminal Litigation and Arbitration", "practiceareas.php?pid=arbitration1");
	menu2.addItem("Energy", "practiceareas.php?pid=energy");
	menu2.addItem("Employment &amp; Social Security", "practiceareas.php?pid=EmploymentandSocialSecurity");
	menu2.addItem("EU, Competition & Antitrust", "practiceareas.php?pid=competitionandantitrust");
	menu2.addItem("Intellectual Property", "practiceareas.php?pid=intellectualproperty");
	menu2.addItem("Insolvency &amp; Restructuring", "practiceareas.php?pid=insolvency");
	menu2.addItem("Project Finance", "practiceareas.php?pid=projectfinance");
	menu2.addItem("Real Estate", "practiceareas.php?pid=realestate");
	menu2.addItem("Shipping", "practiceareas.php?pid=shipping");
	

	//==================================================================================================

	//==================================================================================================
    //var menu3 = ms.addMenu(document.getElementById("menu_recentwork"));
    //var wh_date = new Date();
    //for ( var wh_i = wh_date.getFullYear(); wh_i > 2006; wh_i-- ) { 
    //      menu3.addItem(wh_i, "work_highlights.php?year=" + wh_i);
    //}


	//==================================================================================================

	//==================================================================================================

	//==================================================================================================

	//==================================================================================================
	// 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();
}

