	// 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 (mtDropDown.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 mtDropDownSet(mtDropDown.direction.down, 0, 0, mtDropDown.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================
		// menu
		//var menu1 = ms.addMenu(document.getElementById("menu1"));
		//menu1.addItem("Menu1 jfdk kljsk", "untitled-2.htm"); 
		//menu1.addItem("Menu2", "web-dev-process.htm"); 
		//menu1.addItem("Menu3", "rms.htm");
		//menu1.addItem("Menu4", "hosting-solutions.htm"); 
		//menu1.addItem("Menu5", "search-engine-optimization.htm");
		//menu1.addItem("Menu6", "web-request-form.htm");


		// menu
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("About Us", "eazyads/aboutus.aspx");
		menu2.addItem("Carrier", "eazyads/career.aspx");
		
		// submenu
		//var subMenu2 = menu2.addMenu(menu2.items[0]);
		//subMenu2.addItem("Basic Site", "basicsite.htm");
		//subMenu2.addItem("e-Commerce Solutions", "e-solutions.htm");
		//subMenu2.addItem("Graphics Design", "graphics-design.htm");
		//subMenu2.addItem("Database Integration", "database-integration.htm");


		//==================================================================================================

		//==================================================================================================
		// 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])
		//==================================================================================================


		// menu 
		var a5="Rent Property";
        a5=a5.replace(" ","+");
        var a6="Everything Else";
        a6=a6.replace(" ","+");
        
		var menu3 = ms.addMenu(document.getElementById("menu3"));
		menu3.addItem("Sale", "#");
		menu3.addItem("Purchase", "#");
		menu3.addItem("Recruitment", "eazyads/adslisting.aspx?Cat=Recruitment");
		menu3.addItem("Rent Property", "eazyads/adslisting.aspx?Cat="+a5);		
		menu3.addItem("Everything Else", "eazyads/adslisting.aspx?Cat="+a6);
		
		var a3="Sales Goods";
        a3=a3.replace(" ","+");
        var a4="Sale Property";
        a4=a4.replace(" ","+");
        
		var submenu3 = menu3.addMenu(menu3.items[0]);
		submenu3.addItem("Sale Goods", "eazyads/adslisting.aspx?Cat="+a3);
		submenu3.addItem("Sale Property", "eazyads/adslisting.aspx?Cat="+a4);


        var a1="Purchase Goods";
        a1=a1.replace(" ","+");
        var a2="Purchase Property";
        a2=a2.replace(" ","+");
        
		var submenu3 = menu3.addMenu(menu3.items[1]);
		submenu3.addItem("Purchase Goods", "eazyads/adslisting.aspx?Cat="+a1);
		submenu3.addItem("Purchase Property", "eazyads/adslisting.aspx?Cat="+a2);


		// menu
		//var menu4 = ms.addMenu(document.getElementById("menu4"));
		//menu4.addItem("Company Portfolio &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;", "portfolio.htm");
		//menu4.addItem("Case Studies ", "case_studies.htm");	
		//menu4.addItem("Feedback ", "feedback.htm");	
		
		// menu 
		//var menu5 = ms.addMenu(document.getElementById("menu5"));
		//menu5.addItem("Partners & Associates", "partners.htm");

		// menu 
		//var menu6 = ms.addMenu(document.getElementById("menu6"));
		//menu6.addItem("Company Profile", "company-profile.htm");
		//menu6.addItem("Client List 		", 		"client-list.htm");
		//menu6.addItem("Client Testimonials", "testimonials.htm");
		//menu6.addItem("Career Opportunities", "careers.htm");
		//menu6.addItem("Articles", "articles-2.htm");
		//menu6.addItem("Sitemap", "sitemap-2.html");
		
		
		// menu 
		var menu7 = ms.addMenu(document.getElementById("menu7"));
		menu7.addItem("Email Us","mailto:sales@impexonweb.com");
		menu7.addItem("Feedback","eazyads/feedback.aspx");
		menu7.addItem("Contact Us","eazyads/contactus.aspx");		
		
		

		//==================================================================================================
		// 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();
	}

