// 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.right, 160, -23, 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("home"));
	
	menu1.addItem("Társasház");
	menu1.addItem("Irodaház");
	menu1.addItem("Középületek");
	menu1.addItem("Ipari épületek");
	menu1.addItem("Sport létesítmények");
	menu1.addItem("Családi házak");

	

	var submenu0 = menu1.addMenu(menu1.items[0]);//tarsas
	submenu0.addItem("Rozsnyai 31 t&aacute;rsash&aacute;z", "rozsnyai31.html");
	submenu0.addItem("Ipari utcai t&aacute;rsash&aacute;z", "ipar23.html");
	submenu0.addItem("Mor utcai t&aacute;rsash&aacute;z", "mor10.html");
	submenu0.addItem("Pesterzs&eacute;beti t&aacute;rsash&aacute;z", "pesterzsebet.htm");
	submenu0.addItem("R&oacute;zsa udvar", "dohany.htm");
	submenu0.addItem("R&oacute;zsah&aacute;zak", "rozsa.htm");
	submenu0.addItem("Teleki téri társasház", "teleki.htm");
	submenu0.addItem("Jobbágy utcai társasház", "jobbagy.htm");
	submenu0.addItem("Nádasdy Udvar társasház", "nadasdy-udvar-tarsashaz.htm");
	
	var submenu1 = menu1.addMenu(menu1.items[1]);//iroda
	submenu1.addItem("Bank-irodah&aacute;z", "becsi.htm");
	submenu1.addItem("MTA Kfki", "kfki.htm");
	submenu1.addItem("Csertex irodaház", "csertex.htm");
	
	var submenu2 = menu1.addMenu(menu1.items[2]);//kozep
	submenu2.addItem("Szabolcsi Bence Zeneiskola", "szabolcsi.htm");
	submenu2.addItem("V. ker&uuml;leti &Ouml;nkorm&aacute;nyzat", "vonko.htm");
	
	var submenu3 = menu1.addMenu(menu1.items[3]);//ipari
	submenu3.addItem("EBM", "sulysap.htm");

	
	var submenu4 = menu1.addMenu(menu1.items[4]);//sport
	submenu4.addItem("Nemzeti Lovarda", "lovi.htm");
	submenu4.addItem("Hungaroring", "hungaro.htm");
	
	var submenu5 = menu1.addMenu(menu1.items[5]);//haz
	
	submenu5.addItem("Laborc utca", "laborc15.html");
	submenu5.addItem("Adyliget", "fekete.htm");
	submenu5.addItem("Angyalf&ouml;ld", "angyalfold.htm");
	submenu5.addItem("Csalán u.", "csalan.htm");
	submenu5.addItem("&Ouml;rd&ouml;g-orom", "ordog.htm");
	submenu5.addItem("Irh&aacute;s &aacute;rok", "irhas.htm");
	submenu5.addItem("Pestszentl&#337;rinc", "peststlorinc.htm");
	submenu5.addItem("Sasad I.", "sasadii.htm");
	submenu5.addItem("Sasad II.", "sasadi.htm");
	submenu5.addItem("Sashalom", "sashalom.htm");
	submenu5.addItem("Szabads&aacute;g hegy, Diana u.", "diana.htm");
	submenu5.addItem("Sz&eacute;pv&ouml;lgy, Cirbolya u.", "cirbolya.htm");
	submenu5.addItem("Testv&eacute;rhegy", "jab.htm");
	submenu5.addItem("Szentendre, M&oacute;kus u", "szentendre.htm");
	submenu5.addItem("Le&aacute;nyfalu, Viola u.", "leanyfalu.htm");
	submenu5.addItem("Solym&aacute;r, T&ouml;r&ouml;kk&uacute;t u.", "solymar.htm");
	

	
	
	
	var menu2 = ms.addMenu(document.getElementById("ceg"));
	
	menu2.addItem("Bemutatkozó", "rolunk.htm");
	menu2.addItem("Cégadat", "cegadat.htm");
	menu2.addItem("Szakembereink", "szakembereink.htm");
	menu2.addItem("Mûszaki, technikai felszereltség", "felszereltseg.htm");
	menu2.addItem("Tevékenységi körök", "tevekenyseg.htm");
	menu2.addItem("Linkek, társoldalak", "links.htm");
	

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