	if (mtDropDown.isSupported()) {
		var ms = new mtDropDownSet(mtDropDown.direction.down, 12, 6, mtDropDown.reference.bottomLeft);
		

		var menu3 = ms.addMenu(document.getElementById("menu3"));
		if(page5==1)
		{
		menu3.addItem("General","promotions_general.php?id=5");
		}
		if(page6==1)
		{
		menu3.addItem("Land","promotions_general.php?id=6");
		}
		if(page7==1)
		{
		menu3.addItem("Legal","promotions_general.php?id=7");
		}
		if(page8==1)
		{
		menu3.addItem("Making Your Move","promotions_general.php?id=8");
		}
		if(page9==1)
		{
		menu3.addItem("Why Cyprus?","promotions_general.php?id=9");
		}
		if(page10==1)
		{
		menu3.addItem("Buying and Aftercare","promotions_general.php?id=10");
		}
		if(page11==1)
		{
		menu3.addItem("Insurance","promotions_general.php?id=11");
		}
		if(page12==1)
		{
		menu3.addItem("Mortgages","promotions_general.php?id=12");
		}
		if(page13==1)
		{
		menu3.addItem("Design and Build","promotions_general.php?id=13");
		}
		var menu4 = ms.addMenu(document.getElementById("menu4"));
		if(page14==1)
		{
		menu4.addItem("How to Get Here", "cyprus_how_to_get.php?id=14");
		}
		if(page15==1)
		{
		menu4.addItem("Where to Stay", "cyprus_how_to_get.php?id=15");
		}
		if(page17==1)
		{
		menu4.addItem("Local Area Information", "cyprus_how_to_get.php?id=17");
		}
		if(page18==1)
		{
		menu4.addItem("Useful Phrases", "cyprus_how_to_get.php?id=18");
		}
		
				
		
		//==================================================================================================
		// add a sub-menu
		//==================================================================================================
		// to add a sub menu to an existing menu object, call it's addMenu method and pass it the item from
		// the parent menu which should act as it's actuator. To add a submenu to the fourth item of a menu
		// called "theMenu", you would do theMenu.addMenu(theMenu.items[3])
		//==================================================================================================
	
			
	
		//==================================================================================================
		// 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.
		//==================================================================================================
		mtDropDown.renderAll();
	}
