

	// 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 + "patient_information/index.html"); 
menu1.addItem("First Visit",  active_dir + "patient_information/first_visit.html");
menu1.addItem("Scheduling",  active_dir + "patient_information/scheduling.html"); 
menu1.addItem("Financial Policy",  active_dir + "patient_information/financial.html");
menu1.addItem("Insurance",  active_dir + "patient_information/insurance.html"); 
menu1.addItem("Infection Control",  active_dir + "patient_information/infection_control.html"); 
menu1.addItem("Home Instructions",  active_dir + "patient_information/home_instructions.html");
menu1.addItem("Privacy Policy",  active_dir + "patient_information/privacy_policy.html");
menu1.addItem("FAQ",  active_dir + "patient_information/faq.html");



// menu : #2
var menu2 = ms.addMenu(document.getElementById("menu2"));
menu2.addItem("Introduction", active_dir + "dental_services_sunnyvale_ca/index.html");
menu2.addItem("Fillings", active_dir + "dental_services_sunnyvale_ca/fillings.html");
menu2.addItem("Sealants", active_dir + "dental_services_sunnyvale_ca/sealants.html");
menu2.addItem("Veneers", active_dir + "dental_services_sunnyvale_ca/veneers.html");
menu2.addItem("Inlays/Onlays", active_dir + "dental_services_sunnyvale_ca/inlays_onlays.html");
menu2.addItem("Bonding", active_dir + "dental_services_sunnyvale_ca/bonding.html");
menu2.addItem("Dental Implants", active_dir + "dental_services_sunnyvale_ca/dental_implants.html");
menu2.addItem("Extractions", active_dir + "dental_services_sunnyvale_ca/extractions.html");
menu2.addItem("Bleaching", active_dir + "dental_services_sunnyvale_ca/bleaching.html");
menu2.addItem("Bridges", active_dir + "dental_services_sunnyvale_ca/bridges.html");
menu2.addItem("Crowns", active_dir + "dental_services_sunnyvale_ca/crowns.html");
menu2.addItem("Endo (Root Canal)", active_dir + "dental_services_sunnyvale_ca/root_canals.html");
menu2.addItem("Dentures", active_dir + "dental_services_sunnyvale_ca/dentures.html");
menu2.addItem("Sports Guards", active_dir + "dental_services_sunnyvale_ca/sports_guards.html");
menu2.addItem("Night Guards", active_dir + "dental_services_sunnyvale_ca/night_guards.html");
menu2.addItem("Retainers", active_dir + "dental_services_sunnyvale_ca/retainers.html");
menu2.addItem("Partial Dentures", active_dir + "dental_services_sunnyvale_ca/partial_dentures.html");




// menu : #3
var menu3 = ms.addMenu(document.getElementById("menu3"));
menu3.addItem("Introduction",  active_dir + "dental_health_sunnyvale_ca/index.html");
menu3.addItem("Oral Hygiene",  active_dir + "dental_health_sunnyvale_ca/oral_hygiene.html");
menu3.addItem("Children's Dentistry",  active_dir + "dental_health_sunnyvale_ca/childrens_dentistry.html");
menu3.addItem("Periodontal Maintenance",  active_dir + "dental_health_sunnyvale_ca/periodontal_maintenance.html");
menu3.addItem("Dental Specialties",  active_dir + "dental_health_sunnyvale_ca/dental_specialties.html");
menu3.addItem("Fluoride Treatments",  active_dir + "dental_health_sunnyvale_ca/fluoride_treatments.html");




// menu : #4
var menu4 = ms.addMenu(document.getElementById("menu4"));
menu4.addItem("Intraoral Camera",  active_dir + "advanced_technology/intraoral_camera.html");
menu4.addItem("Gum Therapy (Scaling & Root Planing)",  active_dir + "advanced_technology/scaling_root_planing.html");
menu4.addItem("Digital Imaging", active_dir + "advanced_technology/digital_imaging.html");
menu4.addItem("All Ceramic Crowns & Bridges",  active_dir + "advanced_technology/ceramic_crowns_bridges.html");
menu4.addItem("Dental Implant Prosthetics",  active_dir + "advanced_technology/dental_implant_prosthetics.html");
menu4.addItem("Restoration of Fully Edentulous Cases with Implants",  active_dir + "advanced_technology/restoration.html");


// menu : #5
var menu5 = ms.addMenu(document.getElementById("menu5"));
menu5.addItem("Meet Dr. Lucero",  active_dir + "dentist_sunnyvale_ca/dr_alexia_r_lucero_dds.html");
menu5.addItem("Meet the Staff",  active_dir + "dentist_sunnyvale_ca/staff.html"); 
menu5.addItem("Office Tour",  active_dir + "dentist_sunnyvale_ca/tour.html");



// menu : #6
var menu6 = ms.addMenu(document.getElementById("menu6"));
menu6.addItem("Contact Information",  active_dir + "contact/index.html");
menu6.addItem("Map/Directions",  active_dir + "contact/map.html"); 



// menu : #7
var menu7 = ms.addMenu(document.getElementById("menu7"));
menu7.addItem("Patient Resgistration",  active_dir + "form/index.html");



// menu : #8
//var menu8 = ms.addMenu(document.getElementById("menu8"));
//menu8.addItem("Contact Information",  active_dir + "contact/index.html");
//menu8.addItem("Map/Directions",  active_dir + "contact/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();
	}


