// 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
		//==================================================================================================
		var menu1 = ms.addMenu(document.getElementById("sup"));	
		menu1.addItem("Strongbox Resources", "#");
		menu1.addItem("PCI Resources", "#"); 
		menu1.addItem("Webinars", "#"); 

		var submenu1 = menu1.addMenu(menu1.items[0]);
		submenu1.addItem("FAQ", "03_faq-sb.shtml");
		submenu1.addItem("Compatibility", "03_faq-com.shtml");
		submenu1.addItem("Operational Flowchart", "03_flow.shtml");
		submenu1.addItem("Tutorial", "03_tut.shtml");
		submenu1.addItem("Installation", "03_install.shtml");
		submenu1.addItem("Integration", "03_faq-int.shtml");
		submenu1.addItem("Troubleshooting", "03_faq-ts.shtml");
		submenu1.addItem("StrongBox User Manual", "03_faq-sb-man.shtml");
		submenu1.addItem("Medical Version Manual", "03_faq-sb-med.shtml"); 

        var submenu10 = menu1.addMenu(menu1.items[1]); 
		submenu10.addItem("PCI FAQ", "03_faq-pci.shtml");
		submenu10.addItem("PCI Compliance Standards", "03_pdf_pci-stan.shtml");
		submenu10.addItem("PCI Glossary", "03_faq-glos.shtml");
		submenu10.addItem("NIST Security Resources", "http://csrc.nist.gov/publications/");
		
        var submenu11 = menu1.addMenu(menu1.items[2]); 
		submenu11.addItem("Medical Practices Webinar", "03_med-webinar.shtml");
		submenu11.addItem("StrongBox Security Webinar", "03_sec-webinar.shtml");
		submenu11.addItem("StrongBox Flash Tutorial", "03_tut.shtml");
																				
		
		//==================================================================================================

		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("ab"));	   
		
		menu2.addItem("About iTrust", "01_about.shtml");
		menu2.addItem("Our Mission", "01_mis.shtml");
		menu2.addItem("Staff", "01_staff.shtml");
		menu2.addItem("Legal", "01_leg.shtml");
		menu2.addItem("Sitemap", "01_sitemap.shtml"); 
		
		//==================================================================================================

		//==================================================================================================
		var menu3 = ms.addMenu(document.getElementById("news"));
		menu3.addItem("News & Articles", "05_news.shtml");
		menu3.addItem("Security News", "05_rg.shtml"); 
		menu3.addItem("iTrust Blog", "05_blog.shtml");
		//==================================================================================================

		//==================================================================================================
		var menu4 = ms.addMenu(document.getElementById("buy"));
		menu4.addItem("iTrust Products", "#");
		menu4.addItem("Subscriber", "#"); 
		
		var submenu41 = menu4.addMenu(menu4.items[0]);
		submenu41.addItem("iTrust StrongBox<sup></sup> demo", "02_reg.shtml");
		submenu41.addItem("iTrust StrongBox<sup></sup> full version", "http://www.itrustoffice.com/Merchant2/merchant.mvc?Screen=CTGY&Category_Code=strong_box");
		submenu41.addItem("Data Vault", "http://www.itrustoffice.com/Merchant2/merchant.mvc?");
		submenu41.addItem("e-Commerce", "http://www.itrustoffice.com/Merchant2/merchant.mvc?");
		submenu41.addItem("Wireless", "http://www.itrustoffice.com/Merchant2/merchant.mvc?");
		
		var submenu42 = menu4.addMenu(menu4.items[1]); 
		submenu42.addItem("New Purchase", "http://www.itrustoffice.com/Merchant2/merchant.mvc?");	
		submenu42.addItem("Existing Client", "http://www.itrustoffice.com/Merchant2/merchant.mvc?");
		submenu42.addItem("Upgrade Service", "http://www.itrustoffice.com/Merchant2/merchant.mvc?");
		
		//==================================================================================================

		//==================================================================================================
		var menu5 = ms.addMenu(document.getElementById("con"));	
		menu5.addItem("Contact iTrust", "02_con.shtml"); 
		menu5.addItem("Register", "02_reg.shtml"); 
		menu5.addItem("Customer Support", "02_cust.shtml"); 
		menu5.addItem("Technical Support", "02_con.shtml");
		menu5.addItem("iTrust Forum", "02_forum.shtml");

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

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