// 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, -3, 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("insurance"));
		menu1.addItem("Personal Insurance", "http://www.neziol.com/pi_products.cfm"); 
		menu1.addItem("&nbsp; &nbsp; - Home", "http://www.neziol.com/pi_home.cfm"); // send no URL if nothing should happen onclick
		menu1.addItem("&nbsp; &nbsp; - Auto", "http://www.neziol.com/pi_auto.cfm");
		menu1.addItem("&nbsp; &nbsp; - High Valued Homes", "http://www.neziol.com/pi_highvalue.cfm");
		menu1.addItem("&nbsp; &nbsp; - Cottage", "http://www.neziol.com/pi_cottage.cfm");
		menu1.addItem("&nbsp; &nbsp; - Watercraft", "http://www.neziol.com/pi_watercraft.cfm");
		menu1.addItem("&nbsp; &nbsp; - Life", "http://www.neziol.com/pi_life.cfm");
		menu1.addItem("&nbsp; &nbsp; - Home-Based Business", "http://www.neziol.com/pi_home_business.cfm");
		menu1.addItem("Business Insurance", "http://www.neziol.com/bus_products.cfm");
		menu1.addItem("&nbsp; &nbsp; - Student Rentals", "http://www.neziol.com/bus_studentrentals.cfm");
		menu1.addItem("&nbsp; &nbsp; - IT and Computer Consultants", "http://www.neziol.com/bus_computer-consultants.cfm");
		menu1.addItem("Companies We Represent", "http://www.neziol.com/companies.cfm");

		/*var submenu0 = menu1.addMenu(menu1.items[1]);
		submenu0.addItem("Monterosso", "http://youngpup.net/italy/photos/cinqueterre/104_0458.jpg");
		submenu0.addItem("Manorola", "http://youngpup.net/italy/photos/cinqueterre/thumb/104_0474.jpg");
		submenu0.addItem("Corniglia", "http://youngpup.net/italy/photos/cinqueterre/104_0472.jpg");
		submenu0.addItem("Rio Maggiore", "http://youngpup.net/italy/photos/cinqueterre/105_0522.jpg");
		submenu0.addItem("Vernazza", "");
		submenu0.addItem("Apartment", "");
		submenu0.addItem("Via del Amore", "");
		submenu0.addItem("Rocky beach", "");
		submenu0.addItem("Swimming hole", ""); 

    var submenu00 = submenu0.addMenu(submenu0.items[0]);
    submenu00.addItem("foo");
    submenu00.addItem("bar");*/
		//==================================================================================================

		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("claims"));
		menu2.addItem("Report a Claim", "cs_claims.cfm");
		menu2.addItem("What to do when involved <br> in an accident", "http://www.neziol.com/cs_whattodo.cfm");
		menu2.addItem("Fault Determination Rules <br> Chart on Ontario Automobiles", "http://www.neziol.com/cs_fault-determination-chart.cfm");
		menu2.addItem("Collision Reporting Centres", "http://www.neziol.com/cs_collision-reporting-centres.cfm");
		//==================================================================================================

		//==================================================================================================
		var menu3 = ms.addMenu(document.getElementById("resources"));
		menu3.addItem("Testimonials","http://www.neziol.com/tr_testimonials.cfm");
		menu3.addItem("Weblinks","http://www.neziol.com/tr_weblinks.cfm");
		menu3.addItem("Insurance Tips","#");
		menu3.addItem("&nbsp; &nbsp; - Home", "http://www.neziol.com/tr_insurance-tips.cfm");
		menu3.addItem("&nbsp; &nbsp; - Auto", "http://www.neziol.com/tr_insurance-tips_auto.cfm");
		menu3.addItem("&nbsp; &nbsp; - Business", "http://www.neziol.com/tr_insurance-tips_business.cfm");
		menu3.addItem("Newsletters","http://www.neziol.com/tr_newsletters.cfm");
		menu3.addItem("Downloadable Forms","http://www.neziol.com/tr_downloadable.cfm");
		menu3.addItem("Privacy Policy","http://www.neziol.com/tr_privacy.cfm");
		menu3.addItem("Complete Our Survey","http://www.neziol.com/tr_surveys.cfm");
		menu3.addItem("Home Inventory Tool","http://www.neziol.com/tr_inventory-tool.cfm");
		//==================================================================================================

		//==================================================================================================
		var menu4 = ms.addMenu(document.getElementById("locations"));
		menu4.addItem("Ancaster", "http://www.neziol.com/loc_ancaster.cfm");
		menu4.addItem("Brantford", "http://www.neziol.com/loc_brantford.cfm");
		menu4.addItem("Mississauga", "http://www.neziol.com/loc_mississauga.cfm");
		menu4.addItem("Oakville", "http://www.neziol.com/loc_oakville.cfm");
		menu4.addItem("History of Brokerage", "http://www.neziol.com/loc_history.cfm");

		//==================================================================================================

		//==================================================================================================
		var menu5 = ms.addMenu(document.getElementById("news"));
		menu5.addItem("Water damage claims on the rise", "/water-damage-losses-on-the-rise.cfm");
		menu5.addItem("The Neziol Group has partnered with Aviva Elite", "/aviva-elite-partnership.cfm");
		menu5.addItem("Good News for Those Over 50", "http://www.neziol.com/good-news-for-over-50-market.cfm");
		menu5.addItem("Changes to Drivers Training Certificates", "http://www.neziol.com/drivers-training-certificates.cfm");
		menu5.addItem("Enhanced Coverage for Claims Settlement", "http://www.neziol.com/enhanced-coverage-for-claims.cfm");
		menu5.addItem("Good Student Discount", "http://www.neziol.com/student-discount.cfm");
		menu5.addItem("New Group Plan for Chamber Members", "http://www.neziol.com/group_plan.cfm");
		menu5.addItem("Buying a car in the USA?", "http://www.neziol.com/cars-from-USA.cfm");
		menu5.addItem("Umbrella Coverage", "http://www.neziol.com/news-umbrella-coverage.cfm");
		menu5.addItem("Survey winners", "http://www.neziol.com/news_survey-winners.cfm");
		
		//==================================================================================================

		//==================================================================================================
		var menu6 = ms.addMenu(document.getElementById("careers"));
		menu6.addItem("Working at Neziol", "http://www.neziol.com/careers.cfm");
		menu6.addItem("Job Postings", "http://www.neziol.com/job-postings.cfm");
		//==================================================================================================

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