

	// 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("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 + "orthodontics_middleboro_ma/index.html");
menu2.addItem("Teeth & Face Classifications",  active_dir + "orthodontics_middleboro_ma/teeth_face_classifications.html");
menu2.addItem("Impacted & Missing Teeth",  active_dir + "orthodontics_middleboro_ma/impacted_missing_teeth.html");
menu2.addItem("Crowding & Spacing of Teeth",  active_dir + "orthodontics_middleboro_ma/crowding_spacing_teeth.html");
menu2.addItem("Orthodontic Disorders",  active_dir + "orthodontics_middleboro_ma/orthodontic_disorders.html");



// menu : #3
var menu3 = ms.addMenu(document.getElementById("menu3"));
menu3.addItem("Braces", active_dir + "teeth_braces_middleboro_ma/braces.html");
menu3.addItem("Headgear", active_dir + "teeth_braces_middleboro_ma/headgear.html");
menu3.addItem("Appliances", active_dir + "teeth_braces_middleboro_ma/appliances.html");
menu3.addItem("Retainers", active_dir + "teeth_braces_middleboro_ma/retainers.html");



// menu : #4
var menu4 = ms.addMenu(document.getElementById("menu4"));
menu4.addItem("Introduction",  active_dir + "homecare/index.html");
menu4.addItem("Braces",  active_dir + "homecare/braces.html");
menu4.addItem("Retainers & Appliances",  active_dir + "homecare/retainers_appliances.html");
menu4.addItem("Brushing & Flossing",  active_dir + "homecare/brushing_flossing.html");
menu4.addItem("First Aid",  active_dir + "homecare/first_aid.html");



// menu : #5
var menu5 = ms.addMenu(document.getElementById("menu5"));
menu5.addItem("Meet Our Doctors",  active_dir + "orthodontist_middleboro_ma/dr_alfred_bongiorno.html");
menu5.addItem("Meet Our Staff",  active_dir + "orthodontist_middleboro_ma/staff.html");
menu5.addItem("Office Tour",  active_dir + "orthodontist_middleboro_ma/tour.html");



// menu : #6
var menu6 = ms.addMenu(document.getElementById("menu6"));
menu6.addItem("Braces Color Picker",  "javascript:window_open('http://www.pbhs.com/ortho/braces/braces.html', 'New_Window')");
menu6.addItem("Coloring Charts",  active_dir + "games/coloring_charts.html");
menu6.addItem("Online Games",  "javascript:window_open('http://www.pbhs.com/ortho_games/index.html', 'New_Window')");


// menu : #7
var menu7 = ms.addMenu(document.getElementById("menu7"));
menu7.addItem("Patient Registration Form",  active_dir + "forms/registration.html");
menu7.addItem("Doctor Referral Form",  active_dir + "forms/referral.html");


// menu : #8
var menu8 = ms.addMenu(document.getElementById("menu8"));
menu8.addItem("Contact Information",  active_dir + "contact_us/index.html");
menu8.addItem("Office Map",  active_dir + "contact_us/map.html");


// menu : #9
var menu9 = ms.addMenu(document.getElementById("menu9"));
menu9.addItem("Smile Gallery",  active_dir + "gallery/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();
	}


