var ms = new TransMenuSet(TransMenu.direction.down, 1, -1, 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("Sub Menu 1", ""); 
		//menu1.addItem("Sub Menu 2", ""); // send no URL if nothing should happen onclick

		//var submenu0 = menu1.addMenu(menu1.items[1]);
		//submenu0.addItem("Sub Sub Menu 1", "");
		//submenu0.addItem("Sub Sub Menu 2", "");
		//submenu0.addItem("Sub Sub Menu 3", "");
		//submenu0.addItem("Sub Sub Menu 4", "");
	

		//==================================================================================================
	//	var menu2 = ms.addMenu(document.getElementById("About Us"));
		//menu2.addItem("Sample Menu", "");
		//menu2.addItem("Sample Menu", "");
		//menu2.addItem("Sample Menu", "");

		//==================================================================================================

		//==================================================================================================
		//var menu5 = ms.addMenu(document.getElementById("Contact Us"));
		//menu5.addItem("Sub Menu 1");
	

		//==================================================================================================

		//==================================================================================================
		//var productmenu = ms.addMenu(document.getElementById("Products & Services"));
		//productmenu.addItem("Sample Menu","");

		
		//var productsubmenu1 = productmenu.addMenu(productmenu.items[8]);
		//productsubmenu1.addItem("Sample Menu","");
		//productsubmenu1.addItem("Sample Menu","");
		
		//var productsubmenu2 = productmenu.addMenu(productmenu.items[9]);
		//productsubmenu2.addItem("Sample Menu","");
		//productsubmenu2.addItem("Sample Menu","");
				
		//==================================================================================================
		
		var servicesmenu = ms.addMenu(document.getElementById("services"));
		servicesmenu.addItem("Remortgages", "remortgage.php");
		servicesmenu.addItem("Self Cert Mortgages", "self_cert.php");
		servicesmenu.addItem("Bad Credit", "bad_credit.php");

		
		
		var applymenu = ms.addMenu(document.getElementById("ApplyOnline"));
		applymenu.addItem("Mortgage Enquiry Form", "http://www.i-maps.co.uk/cgi-bin/refresh/edipc_b2c.exe");
		applymenu.addItem("Full Mortgage Application Form", "http://www.i-maps.co.uk/onlineapp/html/mortgage_fulldirect_intro.asp?sk=refresh");
		
		

	
		//==================================================================================================
		// 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();