

	// 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 : #1
 
 //menu : #1
var menu1 = ms.addMenu(document.getElementById("menu1"));
menu1.addItem("First Visit",  active_dir + "firstvisit.html");
menu1.addItem("Office Gallery",  active_dir + "gallery.html");
menu1.addItem("Smile Gallery",  active_dir + "gallery2.html");
menu1.addItem("Contact Us",  active_dir + "contact.html");




// menu : #2

var menu2 = ms.addMenu(document.getElementById("menu2"));
menu2.addItem("Dr. Forni",  active_dir + "drforni.html");
menu2.addItem("Dr. Kwong",  active_dir + "drkwong.html");
menu2.addItem("Office Manager",  active_dir + "manager.html");
menu2.addItem("Staff",  active_dir + "staff.html");
menu2.addItem("Contact Us",  active_dir + "contact.html");


// menu : #3
var menu3 = ms.addMenu(document.getElementById("menu3"));
menu3.addItem("Our Services", active_dir + "services.html"); 
menu3.addItem("General Dentistry", active_dir + "general.html"); 
menu3.addItem("Cosmetic Dentistry", active_dir + "cosmetic.html"); 
menu3.addItem("Implants", active_dir + "implants.html"); 
menu3.addItem("Invisalign", active_dir + "invisalign.html"); 
menu3.addItem("Hygiene", active_dir + "hygiene.html");
menu3.addItem("Sedation", active_dir + "sedationservice.html"); 
menu3.addItem("New Technology", active_dir + "innovation.html"); 
menu3.addItem("Products", active_dir + "products.html"); 

// menu : #4
var menu4 = ms.addMenu(document.getElementById("menu4"));
menu4.addItem("Post-Op Extraction",  active_dir + "extraction.html");
menu4.addItem("Post-Op Root Canal",  active_dir + "rootcanal.html");
menu4.addItem("Post-Op Implant",  active_dir + "implant.html");
menu4.addItem("Post-Op Sedation",  active_dir + "sedation.html");
menu4.addItem("Denture Guidelines",  active_dir + "dentures.html");
menu4.addItem("TMJ Guidelines",  active_dir + "tmj.html");
menu4.addItem("Bisphosphonates Info",  active_dir + "bisphosphonates.html");

// menu : #5
var menu5 = ms.addMenu(document.getElementById("menu5"));
menu5.addItem("Patient Information Form",  active_dir + "forms/PatientInfoSheet2.pdf"); 
menu5.addItem("Notice of Private Practice",  active_dir + "forms/NoticeofPrivacyPractice.pdf");
menu5.addItem("Appointment Policy",  active_dir + "forms/ApptPolicyAddendum.pdf"); 
menu5.addItem("Sedation Packet",  active_dir + "forms/sedation.zip");

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