// 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()) {
	
	if(navigator.appName == 'Microsoft Internet Explorer') {
		var ms = new TransMenuSet(TransMenu.direction.down, 1, -7, TransMenu.reference.bottomLeft);
	}
	else {
		var ms = new TransMenuSet(TransMenu.direction.down, 1, 4, TransMenu.reference.bottomLeft);
	}

	// the first parameter should be the HTML element which will act actuator for the menu
	//=============================================================================================
	var menu1 = ms.addMenu(document.getElementById("dept"));
	menu1.addItem("Statement of Vision &amp; Goals", "/deptinfo/mission.php"); 
	menu1.addItem("Areas of Excellence", "/deptinfo/areasofexcellence.php");
	//menu1.addItem("Locations", "/deptinfo/locations.php");
	
	//var submenu0 = menu1.addMenu(menu1.items[1]);
	//var submenu1 = menu1.addMenu(menu1.items[2]);
	
	//submenu0.addItem("CET", "/deptinfo/cet.php");
	//submenu0.addItem("PCA", "/deptinfo/pca.php");
	//submenu0.addItem("Disaster Preparedness", "/deptinfo/biodefense.php");
	//submenu0.addItem("MAP", "/deptinfo/map.php");
	//submenu0.addItem("Pharmacy Care Clinic", "/deptinfo/apcc.php");
	
	//submenu1.addItem("Athens", "/deptinfo/athens.php");
	//submenu1.addItem("Augusta", "/deptinfo/augusta.php");
	//submenu1.addItem("Albany", "/deptinfo/albany.php");
	//submenu1.addItem("Atlanta", "/deptinfo/atlanta.php");
	//submenu1.addItem("Savannah", "/deptinfo/savannah.php");
	//=============================================================================================

	//=============================================================================================
	var menu2 = ms.addMenu(document.getElementById("grad"));
	menu2.addItem("Degree Programs", "/gradprograms/degreeprograms.php");
	menu2.addItem("Residency", "/gradprograms/residency.php");
	menu2.addItem("How to Apply", "/gradprograms/apply.php");
	menu2.addItem("Financial Aid", "/gradprograms/financialaid.php");
	menu2.addItem("Awards &amp; Publications", "/gradprograms/awards.php");
	menu2.addItem("Student Life", "/gradprograms/studentlife.php");
	
	var submenu2 = menu2.addMenu(menu2.items[0]);
	//var submenu3 = menu2.addMenu(menu2.items[1]);
	
	submenu2.addItem("CET", "/gradprograms/cet.php");
	submenu2.addItem("PCA", "/gradprograms/pca.php");
	
	//submenu3.addItem("MCG", "http://www.hi.mcg.edu/hospital/pharm/residency_program_index.htm");
	//submenu3.addItem("Community Pharmacy", "/gradprograms/communitypharmacy.php");
	//=============================================================================================

	//=============================================================================================
	var menu3 = ms.addMenu(document.getElementById("staff"));
	menu3.addItem("Faculty", "/facultystaff/faculty.php?id=1");
	menu3.addItem("Adjunct Faculty", "/facultystaff/faculty.php?id=2");
	menu3.addItem("Staff", "/facultystaff/faculty.php?id=3");
	menu3.addItem("Residents", "/facultystaff/faculty.php?id=4");
	menu3.addItem("Graduate Students", "/gradprograms/graduatestudents.php");
	//menu3.addItem("Area of Interest", "/facultystaff/interest.php");
	//=============================================================================================

	//=============================================================================================
	var menu4 = ms.addMenu(document.getElementById("student"));
	menu4.addItem("Athens", "/locations/athens.php");
	menu4.addItem("Augusta", "/locations/augusta.php");
	menu4.addItem("Albany", "/locations/albany.php");
	menu4.addItem("Atlanta", "/locations/atlanta.php");
	menu4.addItem("Savannah", "/locations/savannah.php");
	//=============================================================================================

	
	TransMenu.renderAll();
}