
// 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, 0, 0, TransMenu.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================

		var menu2 = ms.addMenu(document.getElementById("button2"));
		menu2.addItem("Child Abuse - What is it?", "child.php");
		menu2.addItem("Types of Child Abuse", "child_types.php");
		menu2.addItem("Recognizing Child Abuse", "child_recognizing.php");
		menu2.addItem("Effects of Child Abuse", "child_effects.php");
		menu2.addItem("Abuse Prevalence", "child_prevalence.php");
		menu2.addItem("Factors that Contribute to Child Abuse and Neglect", "res_factors.php");
		menu2.addItem("Peer Abuse", "child_peer.php");
		menu2.addItem("Don't Shake the Baby", "child_shake.php");
		menu2.addItem("Induced Illness", "res_Munchausen.php");
		menu2.addItem("How to Keep Your Child Safe From Sexual Abuse", "child_keepsafe.php");
		menu2.addItem("Pedophiles and Child Molesters", "res_pedo.php");
		menu2.addItem("Type of sexual predators", "pred_sex.php");
		menu2.addItem("Domestic Violence", "DomesticViolence.php");
		menu2.addItem("Child Fatality Prevalence", "res_child.php");
		menu2.addItem("Child Abuse Treatment", "child_treatment.php");
		menu2.addItem("Child Abuse Information You Can Use", "child_links.php");
		menu2.addItem("Child Abuse Prevention - What can I do?", "whatcanido.php");

		//==================================================================================================
		//==================================================================================================

		var menu3 = ms.addMenu(document.getElementById("button3"));
		menu3.addItem("Emergency", "emergency.php");
		menu3.addItem("US & International", "em_us.php");
		menu3.addItem("Crisis Contacts", "em_crisis.php");

		var menu4 = ms.addMenu(document.getElementById("button4"));
		menu4.addItem("Medical Resources", "med_law.php");
		menu4.addItem("Law Enforcement", "law_enf.php");
		menu4.addItem("Reports", "res_reports.php");
		menu4.addItem("Training", "res_train.php");
		menu4.addItem("Tracking & Investigating", "tracking.php");
		menu4.addItem("Investigations", "AWWanted.php");
		menu4.addItem("Missing Persons", "http://www.abusewatch.net/res_missing.php");
		menu4.addItem("Wanted", "tracking_inv.php");

		
		var menu5 = ms.addMenu(document.getElementById("button5"));
		menu5.addItem("Victim Services", "victim.php");
		menu5.addItem("Child Abuse Glossary/Acronyms", "vic_glossary.php");
		menu5.addItem("Abuse Prevention/Treatment", "vic_links.php");
		
		var menu6 = ms.addMenu(document.getElementById("button6"));
		menu6.addItem("US History of Child Abuse", "res_us.php");
		menu6.addItem("Federal Statutes & National Resources", "resources.php");
		menu6.addItem("Statistics", "res_stats.php");
		menu6.addItem("Prevention Advocates", "res_edu.php");
		menu6.addItem("Recommended Reading", "rec_reading.php");
		menu6.addItem("Online Resource Directory", "education.php");
		menu6.addItem("Legislative Contacts", "res_legislative.php");
		menu6.addItem("Child Abuse Cases", "links.php");
		
		//==================================================================================================
		//==================================================================================================
		// 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();
	}


