

	// 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 + "leclaire_hoang_endodontics/index.html"); 
menu1.addItem("First Visit",  active_dir + "leclaire_hoang_endodontics/first_visit.html");
menu1.addItem("Scheduling",  active_dir + "leclaire_hoang_endodontics/scheduling.html"); 
menu1.addItem("Financial Policy",  active_dir + "leclaire_hoang_endodontics/financial.html");
menu1.addItem("Insurance",  active_dir + "leclaire_hoang_endodontics/insurance.html");
menu1.addItem("Privacy Policy",  active_dir + "leclaire_hoang_endodontics/privacy_policy.html");
menu1.addItem("FAQ",  active_dir + "leclaire_hoang_endodontics/faq.html");



// menu : #2

var menu2 = ms.addMenu(document.getElementById("menu2"));
menu2.addItem("Before Endodontic Treatment",  active_dir + "instructions/before_treatment.html");
menu2.addItem("Post-op",  active_dir + "instructions/post-op.html");
menu2.addItem("Discomfort",  active_dir + "instructions/discomfort.html");


// menu : #3
var menu3 = ms.addMenu(document.getElementById("menu3"));
menu3.addItem("Root Canal Treatment", active_dir + "root_canal_sunnyvale_ca/root_canal_treatment.html");
menu3.addItem("Root Canal Retreatment", active_dir + "root_canal_sunnyvale_ca/root_canal_retreatment.html");
menu3.addItem("Apicoectomy", active_dir + "root_canal_sunnyvale_ca/apicoectomy.html");
menu3.addItem("Cracked Teeth", active_dir + "root_canal_sunnyvale_ca/cracked_teeth.html");
menu3.addItem("Traumatic Injuries", active_dir + "root_canal_sunnyvale_ca/traumatic_injuries.html");



// menu : #4
var menu4 = ms.addMenu(document.getElementById("menu4"));
menu4.addItem("Meet Dr. Hoang",  active_dir + "endodontist_sunnyvale_ca/doa_b_hoang_dmd.html");
menu4.addItem("Meet Dr. LeClaire",  active_dir + "endodontist_sunnyvale_ca/arthur_j_leclaire_dmd_ms.html");
menu4.addItem("Meet the Staff", active_dir + "endodontist_sunnyvale_ca/staff.html");
menu4.addItem("Office Tour", active_dir + "endodontist_sunnyvale_ca/tour.html");



// menu : #5
var menu5 = ms.addMenu(document.getElementById("menu5"));
menu5.addItem("Links of Interest",  active_dir + "links/index.html");



// menu : #6
var menu6 = ms.addMenu(document.getElementById("menu6"));
menu6.addItem("Contact Information",  active_dir + "contact_us/index.html");
menu6.addItem("Online Map / Directions",  active_dir + "contact_us/map.html"); 


// menu : #7
//var menu7 = ms.addMenu(document.getElementById("menu7"));
//menu7.addItem("Contact Information",  active_dir + "contact/index.html");
//menu7.addItem("Office Map",  active_dir + "contact/index.html"); 
//menu7.addItem("Email Us",  active_dir + "contact/index.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();
	}


