

	// 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 + "willow_glen_dentistry/index.html"); 
menu1.addItem("First Visit",  active_dir + "willow_glen_dentistry/first_visit.html");
menu1.addItem("Scheduling",  active_dir + "willow_glen_dentistry/scheduling.html"); 
menu1.addItem("Financial Policy",  active_dir + "willow_glen_dentistry/financial.html");
menu1.addItem("Insurance",  active_dir + "willow_glen_dentistry/insurance.html"); 
menu1.addItem("Infection Control",  active_dir + "willow_glen_dentistry/infection_control.html"); 
menu1.addItem("Home Instructions",  active_dir + "willow_glen_dentistry/home_instructions.html");
menu1.addItem("Privacy Policy",  active_dir + "willow_glen_dentistry/privacy_policy.html");
menu1.addItem("FAQ",  active_dir + "willow_glen_dentistry/faq.html");



// menu : #2

var menu2 = ms.addMenu(document.getElementById("menu2"));
menu2.addItem("Introduction", active_dir + "dental_services_san_jose_ca/index.html");
menu2.addItem("Cerec", active_dir + "dental_services_san_jose_ca/cerec.html");
menu2.addItem("Fillings", active_dir + "dental_services_san_jose_ca/fillings.html");
menu2.addItem("Sealants", active_dir + "dental_services_san_jose_ca/sealants.html");
menu2.addItem("Veneers", active_dir + "dental_services_san_jose_ca/veneers.html");
menu2.addItem("Inlays/Onlays", active_dir + "dental_services_san_jose_ca/inlays_onlays.html");
menu2.addItem("Bonding", active_dir + "dental_services_san_jose_ca/bonding.html");
menu2.addItem("Dental Implants", active_dir + "dental_services_san_jose_ca/dental_implants.html");
menu2.addItem("Extractions", active_dir + "dental_services_san_jose_ca/extractions.html");
menu2.addItem("Bleaching", active_dir + "dental_services_san_jose_ca/bleaching.html");
menu2.addItem("Bridges", active_dir + "dental_services_san_jose_ca/bridges.html");
menu2.addItem("Crowns", active_dir + "dental_services_san_jose_ca/crowns.html");
menu2.addItem("Dentures", active_dir + "dental_services_san_jose_ca/dentures.html");



// menu : #3
var menu3 = ms.addMenu(document.getElementById("menu3"));
menu3.addItem("Introduction",  active_dir + "dental_health_san_jose_ca/index.html");
menu3.addItem("Oral Hygiene",  active_dir + "dental_health_san_jose_ca/oral_hygiene.html");
menu3.addItem("Children's Dentistry",  active_dir + "dental_health_san_jose_ca/childrens_dentistry.html");
menu3.addItem("Periodontal Maintenance",  active_dir + "dental_health_san_jose_ca/periodontal_maintenance.html");
menu3.addItem("Dental Specialties",  active_dir + "dental_health_san_jose_ca/dental_specialties.html");
menu3.addItem("Fluorides", active_dir + "dental_health_san_jose_ca/fluorides.html");



// menu : #4
var menu4 = ms.addMenu(document.getElementById("menu4"));
menu4.addItem("Cerec",  active_dir + "dental_services_san_jose_ca/cerec.html");
menu4.addItem("Laser Dentistry",  active_dir + "advanced_technology/laser_dentistry.html");
menu4.addItem("Gum Disease Laser Therapy",  active_dir + "advanced_technology/gum_disease_laser_therapy.html");
menu4.addItem("Intraoral Camera",  active_dir + "advanced_technology/intraoral_camera.html");
menu4.addItem("Precision Dentistry",  active_dir + "advanced_technology/precision_dentistry.html");
menu4.addItem("Digital Imaging", active_dir + "advanced_technology/digital_imaging.html");
menu4.addItem("Tooth Bleaching",  active_dir + "dental_services_san_jose_ca/bleaching.html");




// menu : #5
var menu5 = ms.addMenu(document.getElementById("menu5"));
menu5.addItem("Meet Dr. Pisacane",  active_dir + "dentist_san_jose_ca/john_m_pisacane.html");
menu5.addItem("Meet the Staff",  active_dir + "dentist_san_jose_ca/staff.html"); 
menu5.addItem("Office Tour",  active_dir + "dentist_san_jose_ca/tour.html");



// menu : #6
var menu6 = ms.addMenu(document.getElementById("menu6"));
menu6.addItem("Our Patients",  active_dir + "gallery/index.html");



// menu : #7
var menu7 = ms.addMenu(document.getElementById("menu7"));
menu7.addItem("Patient Resgistration Form",  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();
	}

