



		function initTrans() {
			
//==========================================================================================
		// if supported, initialize TransMenus
			
//==========================================================================================
			
// Check isSupported() so that menus aren't accidentally sent to non-supporting browsers.
			
// This is better than server-side checking because it will also catch browsers which would
			
// normally support the menus but have javascript disabled.
		//
			
// If supported, call initialize() and then hook whatever image rollover code you need to do
			
// to the .onactivate and .ondeactivate events for each menu.
			
//==========================================================================================
			if (TransMenu.isSupported()) {
				TransMenu.initialize();

				
// hook all the highlight swapping of the main toolbar to menu activation/deactivation
				
// instead of simple rollover to get the effect where the button stays hightlit until
				// the menu is closed.
				
menu1.onactivate = function() { document.getElementById("menuA").className = "hover"; };
				menu1.ondeactivate = function() { document.getElementById("menuA").className = ""; };

				menu2.onactivate = function() { document.getElementById("menuB").className = "hover"; };
				menu2.ondeactivate = function() { document.getElementById("menuB").className = ""; };

				menu3.onactivate = function() { document.getElementById("menuC").className = "hover"; };
				menu3.ondeactivate = function() { document.getElementById("menuC").className = ""; };

				menu4.onactivate = function() { document.getElementById("menuD").className = "hover"; };
				menu4.ondeactivate = function() { document.getElementById("menuD").className = ""; };

				menu5.onactivate = function() { document.getElementById("menuE").className = "hover"; };
				menu5.ondeactivate = function() { document.getElementById("menuE").className = ""; };

				
			}
		}
	
	
	
	
// 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("menuA"));

menu1.addItem("Home", "index.html");
		
menu1.addItem("About Us", "about.html");

menu1.addItem("Office Access Print Supplies", "http://www.officeaccess.biz");

menu1.addItem("Custom Computers/Servers", "computers.html");
		
menu1.addItem("Location", "location.html");
		
menu1.addItem("Contact", "contact.html");
		
menu1.addItem("Company News", "news.html");

//==================================================================================================

		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("menuB"));  
////Solutions
		
menu2.addItem("Banks/Financial Institutions", "bank_use.html");
		
menu2.addItem("Education Use", "education_use.html");
		
menu2.addItem("Library Use", "library_use.html");
		
menu2.addItem("Public Use", "public_use.html");
		
//==================================================================================================

		//==================================================================================================
		var menu3 = ms.addMenu(document.getElementById("menuC")); 
////Products
		
menu3.addItem("Print Cartridges", "http://www.officeaccess.biz");

menu3.addItem("Custom Computers/Servers", "computers.html");

menu3.addItem("Micrographic Supplies", "micrographic_supplies.html");

menu3.addItem("Digital Retrieval Products", "DRS.html");
		
menu3.addItem("Readers", "readers.html"); 
		
menu3.addItem("Cameras", "cameras.html");
		
menu3.addItem("Microfilm Processors/Duplicators", "microfilm_processors_duplicators.html");
		
menu3.addItem("Microfilm Storage", "microfilm_storage.html");
	
menu3.addItem("Check Encoders", "encoders.html");
				
menu3.addItem("Currency Equipment", "currency_equipment.html");

menu3.addItem("Scanners", "scanners.html");
		
		//==================================================================================================

		//==================================================================================================
		var menu4 = ms.addMenu(document.getElementById("menuD"));  
////Customers
	
menu4.addItem("Dealer Locations", "dealer_locations.html");
		//==================================================================================================

		//==================================================================================================
		var menu5 = ms.addMenu(document.getElementById("menuE"));  
////Support
		
menu5.addItem("Contact EyeCom Sales", "contact_sales.html");

menu5.addItem("Contact Office Access Sales", "contact_OA_sales.html");
	
menu5.addItem("Contact Support", "contact_support.html");
	
menu5.addItem("Downloads", "downloads.html");

menu5.addItem("Troubleshooting", "troubleshooting.html");

menu5.addItem("Frequently Asked Questions", "faq.html");

menu5.addItem("Request Literature", "request_literature.html");
		
		//==================================================================================================

		//==================================================================================================
		
// 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();
	}
	
