if (TransMenu.isSupported()) {
	
	var ms = new TransMenuSet(TransMenu.direction.down, 0, 0, TransMenu.reference.bottomLeft);
	// var msp = new TransMenuSet(TransMenu.direction.down, -50, 0, TransMenu.reference.bottomLeft);

	//==================================================================================================
	// create a dropdown menu
	//==================================================================================================
	// the first parameter should be the HTML element which will act actuator for the menu
	//==================================================================================================
	
	// NOTE - use only relative or absolute paths in this file (no rails-style links)
	//==================================================================================================
	
	var menu1 = ms.addMenu(document.getElementById("nav_about_us"));
	menu1.addItem("Philosophy", "/philosophy");
	menu1.addItem("Staff", "/staff");
	menu1.addItem("Facility", "/facility");
	menu1.addItem("Employment", "/jobs");
	menu1.addItem("Research", "/research");
	menu1.addItem("Virtual Tours", "/tours");
	menu1.addItem("Upcoming Events ", "/events");
		
	//==================================================================================================
	
	var menu2 = ms.addMenu(document.getElementById("nav_prostate_cancer"));
	menu2.addItem("What is it?", "/what_is_it");
	menu2.addItem("Diagnosis", "/diagnosis");
	menu2.addItem("Treatment Options", "/treatment_options");
	
	//==================================================================================================
	
	var menu3 = ms.addMenu(document.getElementById("nav_brachytherapy"));
	menu3.addItem("Procedure", "/procedure");
	menu3.addItem("Why Brachytherapy?", "/why_brachytherapy");
	menu3.addItem("Medical Physics/Quality Assurance", "/medical_physics");
	
	//==================================================================================================
	
	var menu4 = ms.addMenu(document.getElementById("nav_patient_info"));
	menu4.addItem("Initial Visit", "/initial_visit");
	menu4.addItem("New Patient Forms", "/documents/list");
	menu4.addItem("Volume Study", "/volume_study");
	menu4.addItem("Seed Implant", "/seed_implant");
	menu4.addItem("Follow Up", "/follow_up");
	menu4.addItem("Resources", "/patient_resources");
		
	//==================================================================================================
	
	var menu5 = ms.addMenu(document.getElementById("nav_myths"));
	menu5.addItem("Top 3 Myths", "/top_3");
	menu5.addItem("Patient Testimonials", "/testimonials");
	menu5.addItem("Video Testimonials", "/videos");
	menu5.addItem("Other FAQ's", "/faqs");
	
	//==================================================================================================
	
	var menu6 = ms.addMenu(document.getElementById("nav_news"));
		
	//==================================================================================================
	
	var menu7 = ms.addMenu(document.getElementById("nav_contact"));
	
	//==================================================================================================
	//==================================================================================================
	// 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();
}