		function init() {
			// whatever stuff you need to do onload goes here.
			
			SetMidTableHeight();

			//==========================================================================================
			// if supported, initialize mtdropdowns
			//==========================================================================================
			// 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 (mtDropDown.isSupported()) {
				mtDropDown.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.
				menu1.onactivate = function() {};
				menu1.ondeactivate = function() {};

				menu2.onactivate = function() {};
				menu2.ondeactivate = function() {};

				menu3.onactivate = function() {};
				menu3.ondeactivate = function() {};

				menu4.onactivate = function() {};
				menu4.ondeactivate = function() {};
				
				


				//menu5.onactivate = function() { swapImage("button5", preloaded[5][1].src) };
				//menu5.ondeactivate = function() { swapImage("button5", preloaded[5][0].src) };
			
			}
		}
