

	// 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 (DropDown.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 DropDownSet(DropDown.direction.down, 0, 0, DropDown.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================
	

 
 //menu : #1
var menu1 = ms.addMenu(document.getElementById("menu1"));
menu1.addItem("Welcome",  active_dir + "yorkville-dental-associates/patient-information.html"); 
menu1.addItem("First Visit",  active_dir + "yorkville-dental-associates/first-visit.html");
menu1.addItem("Scheduling",  active_dir + "yorkville-dental-associates/scheduling.html"); 
menu1.addItem("Financial Policy",  active_dir + "yorkville-dental-associates/financial.html");
menu1.addItem("Insurance",  active_dir + "yorkville-dental-associates/insurance.html"); 
menu1.addItem("Infection Control",  active_dir + "yorkville-dental-associates/infection-control.html"); 
menu1.addItem("Home Instructions",  active_dir + "yorkville-dental-associates/home-instructions.html");
menu1.addItem("Privacy Policy",  active_dir + "yorkville-dental-associates/privacy-policy.html");
menu1.addItem("Before and After Photo Gallery",  active_dir + "yorkville-dental-associates/photo-gallery.html");
menu1.addItem("Links of Interest",  active_dir + "yorkville-dental-associates/links.html");



// menu : #2
var menu2 = ms.addMenu(document.getElementById("menu2"));
menu2.addItem("Introduction", active_dir + "cosmetic-dental-toronto/dental-services.html");
menu2.addItem("Fillings", active_dir + "cosmetic-dental-toronto/fillings.html");
menu2.addItem("Sealants", active_dir + "cosmetic-dental-toronto/dental-sealants.html");
menu2.addItem("Veneers", active_dir + "cosmetic-dental-toronto/porcelain-veneers.html");
menu2.addItem("Inlays/Onlays", active_dir + "cosmetic-dental-toronto/inlays-onlays.html");
menu2.addItem("Bonding", active_dir + "cosmetic-dental-toronto/dental-bonding.html");
menu2.addItem("Dental Implants", active_dir + "cosmetic-dental-toronto/dental-implants.html");
menu2.addItem("Teeth Whitening", active_dir + "cosmetic-dental-toronto/teeth-whitening.html");
menu2.addItem("Bridges", active_dir + "cosmetic-dental-toronto/dental-bridges.html");
menu2.addItem("Crowns", active_dir + "cosmetic-dental-toronto/dental-crowns.html");



// menu : #3
var menu3 = ms.addMenu(document.getElementById("menu3"));
menu3.addItem("Oral Hygiene",  active_dir + "dental-health-toronto/oral-hygiene.html");
menu3.addItem("Children's Dentistry",  active_dir + "dental-health-toronto/childrens-dentistry.html");
menu3.addItem("Periodontal Maintenance",  active_dir + "dental-health-toronto/periodontal-maintenance.html");
menu3.addItem("Fluorides",  active_dir + "dental-health-toronto/fluorides.html");



// menu : #4
var menu4 = ms.addMenu(document.getElementById("menu4"));
menu4.addItem("Intraoral Camera",  active_dir + "advanced-technology/intraoral-camera.html");
menu4.addItem("Zoom Whitening",  active_dir + "advanced-technology/zoom-whitening.html");
menu4.addItem("Lumineers",  active_dir + "advanced-technology/lumineers.html");
menu4.addItem("Sapphire One Hour Bleaching",  active_dir + "advanced-technology/sapphire-whitening.html");



// menu : #5
var menu5 = ms.addMenu(document.getElementById("menu5"));
menu5.addItem("Meet Dr. Veisman",  active_dir + "cosmetic-dentist-toronto/dr-andrea-veisman.html");
menu5.addItem("Meet Dr. Riccardi",  active_dir + "cosmetic-dentist-toronto/dr-milene-riccardi.html");
menu5.addItem("Meet Dr. Tam",  active_dir + "cosmetic-dentist-toronto/dr-laura-tam.html");
menu5.addItem("Meet Dr. Chong",  active_dir + "cosmetic-dentist-toronto/dr-gordon-chong.html");
menu5.addItem("Office Tour",  active_dir + "cosmetic-dentist-toronto/office-tour.html");



// menu : #6
var menu6 = ms.addMenu(document.getElementById("menu6"));
menu6.addItem("Patient Registration Form",  active_dir + "forms/patient-registration.html");



// menu : #7
var menu7 = ms.addMenu(document.getElementById("menu7"));
menu7.addItem("Contact Information",  active_dir + "contact-us/contact-toronto-dentist.html");
menu7.addItem("Online Map / Directions",  active_dir + "contact-us/map.html");  



		//==================================================================================================
		// 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.
		//==================================================================================================
		DropDown.renderAll();
	}

