
	// 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 (TransMenu.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 TransMenuSet(TransMenu.direction.down, 1, 0, TransMenu.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================

		//==================================================================================================
		// Books
		//==================================================================================================
		var menu1 = ms.addMenu(document.getElementById("books"));
		menu1.addItem("How To Get The Best Medical Care", "book/index.htm");
		menu1.addItem("Successful Medical Practise", "book2/index.htm"); 

		//==================================================================================================
		// Doctors
		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("doctors"));
		menu2.addItem("MDConsult India", "mdconsult/index.htm");
		menu2.addItem("Doctors Guide", "doctors/doctorsguide.htm"); 
		menu2.addItem("Ethics in Medicine", "doctors/docethics.htm"); 
		menu2.addItem("Expert System", "doctors/expert.htm"); 
		menu2.addItem("Having Your Own Website", "doctors/website.htm"); 

		//==================================================================================================
		// Patients
		//==================================================================================================
		var menu3 = ms.addMenu(document.getElementById("patients"));
		menu3.addItem("Patients Guide to the Internet", "patients/patientguide.htm");



		//==================================================================================================
		// MDConsult
		//==================================================================================================
		var menu3 = ms.addMenu(document.getElementById("mdconsult"));
		menu3.addItem("About MDConsult", "mdconsult/mdconsult.htm");
		menu3.addItem("Protect yourself from lawsuits!", "mdconsult/legal.htm");
		menu3.addItem("MDConsults unique content", "mdconsult/content.htm");
		menu3.addItem("About MDConsult - India", "mdconsult/mdconsultindia.htm");
		menu3.addItem("Using MDConsult", "mdconsult/using.htm");
		menu3.addItem("Subscriber Testimonials", "mdconsult/subscribers.htm");
		menu3.addItem("TAKE A TOUR", "http://info.mdconsult.com/tour");
		menu3.addItem("For pharma companies", "mdconsult/pharma.htm");
		menu3.addItem("About HELP", "mdconsult/help.htm");
		menu3.addItem("Additional Services", "mdconsult/services.htm");
		menu3.addItem("How to Subscribe", "mdconsult/subscribe.htm");
		menu3.addItem("Contact Us", "mdconsult/contact.htm");





		//==================================================================================================
		// 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.
		//==================================================================================================
		TransMenu.renderAll();
}

