		var preloaded = [];

		// here is a preloading script i am putting in just for demonstration
		
		/* // DO - remove images
		for (var i = 1; i <= 10; i++) {
			preloaded[i] = [loadImage(i + "-0.gif"), loadImage(i + "-1.gif")];
		}*/

		function init(menu) {
			// whatever stuff you need to do onload goes here.

			//==========================================================================================
			// if supported, initialize dropdowns
			//==========================================================================================
			// 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 (DropDown.isSupported()) {
				DropDown.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.
				
  // DO -- we don't use images any longer
			/*menu1.onactivate = function() { swapImage("button1", preloaded[1][1].src) };
				menu1.ondeactivate = function() { swapImage("button1", preloaded[1][0].src) };
				*/
				

			}
		}

		// this is an example preloader. Use whichever one you want.
		function loadImage(sFilename) {
/* // DO
			var img = new Image();
			img.src ="/images/links/" + sFilename;
			return img;
			*/
		}

		// this is an  example image swapper. Use whichever you want.
		function swapImage(imgName, sFilename) {
//			 document.images[imgName].src = sFilename; // DO
		}
		

		// Dave's additions to handle select boxes...
		function showSelectBoxes(visible) {
			var IE = (document.all) ? 1 : 0;
			var visText = "";
			if (visible)
				visText = "visible";
			else
				visText = "hidden";
			
			if (IE) {
				var select_boxes = document.getElementsByTagName("select");
				for(var i = 0; i < select_boxes.length; i++) {  // Loop through the returned tags
//					if (select_boxes[i].className.indexOf('hideForMenu') >= 0)
						select_boxes[i].style.visibility = visText;
				} 
			}
			
			var divs = document.getElementsByTagName("div");
			for(var i = 0; i < divs.length; i++) {  // Loop through the returned tags
				if (divs[i].className.indexOf('hideForMenu') >= 0)
						divs[i].style.visibility = visText;
			} 
		}