		

		function init() {
			// whatever stuff you need to do onload goes here.

			//==========================================================================================
			// 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 image 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.
				
				hh.onactivate = function() { swapImage('handheld', '../nav-images/handheld-over.gif');  };
				hh.ondeactivate = function() { swapImage('handheld', '../nav-images/handheld.gif');    };
				
				menu2.onactivate = function() { swapImage('automated', '../nav-images/automated-over.gif');    };
				menu2.ondeactivate = function() { swapImage('automated', '../nav-images/automated.gif');   };
				
				menu3.onactivate = function() { swapImage('sample_assay', '../nav-images/sample-assay-over.gif');    };
				menu3.ondeactivate = function() { swapImage('sample_assay', '../nav-images/sample-assay.gif');    };
				
								
			}
		}

		// this is a crappy example preloader. Use whichever one you want.
		function loadImage(sFilename) {
			var img = new Image();
			img.src ="../nav-images/" + sFilename;
			return img;
		}

		// this is a crappy example image swapper. Use whichever you want.
		function swapImage(imgName, sFilename) {
			document.images[imgName].src = sFilename;
		}