

	// 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 + "patient/first_visit.html"); 
menu1.addItem("Scheduling",  active_dir + "patient/scheduling.html"); 
menu1.addItem("Financial Policy",  active_dir + "patient/financial.html");
menu1.addItem("Insurance Information",  active_dir + "patient/insurance.html");
menu1.addItem("Privacy Policy",  active_dir + "patient/privacy_policy.html");
menu1.addItem("Online Videos",  active_dir + "patient/videos.html");
menu1.addItem("Contact Us & Location",  active_dir + "patient/contact.html");




// menu : #2

var menu2 = ms.addMenu(document.getElementById("menu2"));
menu2.addItem("Dental Implants",  active_dir + "dental_implants/index.html");
menu2.addItem("Bone Grafting",  active_dir + "oral_surgery/bone_grafts.html");
menu2.addItem("Pre-prosthetic Surgery",  active_dir + "oral_surgery/pre_prosthetic.html");
menu2.addItem("Wisdom Teeth",  active_dir + "oral_surgery/wisdom_teeth.html");
menu2.addItem("Impacted Canines",  active_dir + "oral_surgery/impacted_canines.html");
menu2.addItem("Facial Trauma",  active_dir + "oral_surgery/facial_trauma.html");
menu2.addItem("Jaw Surgery",  active_dir + "oral_surgery/jaw_surgery.html");
menu2.addItem("Oral Pathology",  active_dir + "oral_surgery/oral_pathology.html");
menu2.addItem("Tmj Disorders",  active_dir + "oral_surgery/tmj.html");
menu2.addItem("Platelet Rich Plasma",  active_dir + "oral_surgery/platelet_rich_plasma.html");
menu2.addItem("BOTOX&reg; Cosmetic",  active_dir + "oral_surgery/botox_cosmetic.html");



//var subMenu2 = menu2.addMenu(menu2.items[1]);
//subMenu2.addItem("Botox", "../inventory/index.php?search=Category&record=agtr&sortby=Brand"); 
//subMenu2.addItem("Facelift", "../inventory/index.php?search=Category&record=aegtr&sortby=Brand"); 






// menu : #3
var menu3 = ms.addMenu(document.getElementById("menu3"));
menu3.addItem("Meet Dr. Rigo Cornejo", active_dir + "meet/dr_cornejo.html"); 
menu3.addItem("Meet Dr. David C. Neal", active_dir + "meet/dr_neal.html"); 
menu3.addItem("Meet Dr. J. Leon Ramirez", active_dir + "meet/dr_ramirez.html"); 
menu3.addItem("Meet Our Staff", active_dir + "meet/staff.html"); 
menu3.addItem("Office Tour", active_dir + "meet/office_tour.html"); 

// menu : #4
var menu4 = ms.addMenu(document.getElementById("menu4"));
menu4.addItem("Before Anesthesia",  active_dir + "surgical_instructions/before_anesthesia.html");
menu4.addItem("After Dental Implant Surgery",  active_dir + "surgical_instructions/after_dental_implants.html");
menu4.addItem("After Wisdom Tooth Removal",  active_dir + "surgical_instructions/after_wisdom_teeth_removal.html");
menu4.addItem("After Exposure of an Impacted Tooth",  active_dir + "surgical_instructions/impacted_tooth_exposure.html");
menu4.addItem("After Multiple Extractions",  active_dir + "surgical_instructions/after_multiple_extractions.html");

// menu : #5
var menu5 = ms.addMenu(document.getElementById("menu5"));
menu5.addItem("Online Patient Registration",  active_dir + "forms/index.html"); 


// menu : #6
var menu6 = ms.addMenu(document.getElementById("menu6"));
menu6.addItem("Referral Form",  active_dir + "referring/index.html");
menu6.addItem("Study Club",  active_dir + "referring/study_club.html"); 
menu6.addItem("Links of Interest",  active_dir + "referring/links.html");
menu6.addItem("Referring Doctors Blog",  active_dir + "../blog");

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

