
// 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, 0, TransMenu.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================
		
		//==================================================================================================

		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("additional"));
		menu2.addItem("Sediu Social", "http://www.rolegal.com/sediu-social.html");
		menu2.addItem("Birou Virtual ", "http://www.rolegal.com/birou-virtual.html");
		menu2.addItem("Conturi Bancare", "http://www.rolegal.com/conturi-bancare.html");
		//==================================================================================================

		//==================================================================================================
		/*var menu3 = ms.addMenu(document.getElementById("servicii"));
		menu3.addItem("Servicii Proprietate Industriala", "http://www.romarkip.ro/servicii-proprietate-industriala.html");
		menu3.addItem("Reprezentare in Instanta", "http://www.romarkip.ro/reprezentare-instanta-proprietate-intelectuala.html");
		*/
		//==================================================================================================

		//==================================================================================================
	/*	var menu4 = ms.addMenu(document.getElementById("news"));
		menu4.addItem("news Nationale", "http://www.romarkip.ro/inregistrare-news-inventie.html#nationale");
		menu4.addItem("news Regionale", "http://www.romarkip.ro/inregistrare-news-inventie.html#regionale");
		menu4.addItem("news Internationalee", "http://www.romarkip.ro/inregistrare-news-inventie.html#internationale");
	*/
		//==================================================================================================

		//==================================================================================================
	var menu5 = ms.addMenu(document.getElementById("practiceareas"));
	
		menu5.addItem("Drept Comercial", "http://www.rolegal.com/drept-comercial.html");
		menu5.addItem("Litigii", "http://www.rolegal.com/avocati-litigii-bucuresti.html");
		menu5.addItem("Recuperare Creante", "http://www.rolegal.com/recuperare-creante.html");
		menu5.addItem("Recuperari Proprietati", "http://www.rolegal.com/avocati-retrocedari.html");
		menu5.addItem("Servicii Consultanta", "http://www.rolegal.com/consultanta-juridica.html");
		menu5.addItem("Permise Speciale si Licente", "http://www.rolegal.com/permise-speciale-si-licente.html");
		var submenu11 = menu5.addMenu(menu5.items[5]);
				submenu11.addItem("Licenta Jocuri de Noroc", "http://www.rolegal.com/licenta-jocuri-de-noroc.html");
				submenu11.addItem("Licenta Transport Marfa", "http://www.rolegal.com/licenta-transport-marfa.html");
				submenu11.addItem("Licenta Transport Public", "http://www.rolegal.com/licenta-transport-public.html");
				
		menu5.addItem("Drept Fiscal", "http://www.rolegal.com/infiintari-firme/infiintare-firma.html");
		menu5.addItem("Drept Imobiliar", "http://www.rolegal.com/infiintari-firme/infiintare-firma.html");
		menu5.addItem("Proprietate Intelectuala", "http://www.rolegal.com/proprietate-intelectuala.html");
				var submenu1 = menu5.addMenu(menu5.items[8]);
				submenu1.addItem("Inregistrare Marci", "http://www.rolegal.com/inregistrare-marci.html");
				submenu1.addItem("Inregistrare Desene", "http://www.rolegal.com/inregistrare-desene.html");
				submenu1.addItem("Inregistrare Brevete", "http://www.rolegal.com/inregistrare-brevete.html");
		menu5.addItem("Fuziuni si Achizitii", "http://www.rolegal.com/fuziuni-achizitii.html");
		menu5.addItem("Legea de Imigratiei", "http://www.rolegal.com/dobandire-cetatenie-romana/cetatean-roman.html");
		
		var submenu7 = menu5.addMenu(menu5.items[10]);
				submenu7.addItem("Informatii Generale", "http://www.rolegal.com/vize-romania.html");
				submenu7.addItem("Viza de Scurta Sedere", "http://www.rolegal.com/viza-de-scurta-sedere.html");
				submenu7.addItem("Viza de Lunga Sedere", "http://www.rolegal.com/viza-de-lunga-sedere.html");
				submenu7.addItem("Drept de Sedere Permanenta", "http://www.rolegal.com/dreptul-de-sedere-permanenta.html");
		menu5.addItem("Cetatenie Romana", "http://www.rolegal.com/dobandire-cetatenie-romana/cetatean-roman.html");		
		menu5.addItem("Dreptul Muncii", "http://www.rolegal.com/dreptul-muncii.html");
		  
		 var submenu0 = menu5.addMenu(menu5.items[0]);
				submenu0.addItem("Informatii Generale", "http://www.rolegal.com/infiintare-firma/infiintari-firme.html");
				submenu0.addItem("Societate Raspundere Limitata (SRL)", "http://www.rolegal.com/infiintare-firma-srl.html");
				submenu0.addItem("Societate pe Actiuni (SA)", "http://www.rolegal.com/infiintare-firma-sa.html");
				submenu0.addItem("Infiintare Filiala", "http://www.rolegal.com/infiintare-filiala.html");
				submenu0.addItem("Infiintare Sucursala", "http://www.rolegal.com/infiintare-sucursala.html");
				submenu0.addItem("Infiintare Reprezentanta", "http://www.rolegal.com/infiintare-reprezentanta.html");
				submenu0.addItem("Infiintare Asociatii/Fundatii", "http://www.rolegal.com/infiintare-asociatii-fundatii.html");
				submenu0.addItem("Societati deja Create", "http://www.rolegal.com/societati-deja-create.html");
				submenu0.addItem("Dizolvare/Lichidare Firma", "http://www.rolegal.com/dizolvare-lichidare-firma.html");
				submenu0.addItem("Suspendare Activitate Firma", "http://www.rolegal.com/suspendare-activitate-firma.html");
		
				      
		//==================================================================================================
/*var menu6 = ms.addMenu(document.getElementById("howtoformacompany1"));
		menu6.addItem("Business Licenses", "http://www.romania-company.com/romania-business-licenses.php");
		menu6.addItem("Bank Account ", "http://www.romania-company.com/romania-business-licenses.php");
		menu6.addItem("Taxes", "http://www.romania-company.com/romania-taxes.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();
	}