		/*
		var preloaded = [];

		// here is a lame preloading script i am putting in just for demonstration
		for (var i = 1; i <= 6; i++) {
			preloaded[i-1] = [loadImage("0612_menu" + i + "2.gif"), loadImage("0612_menu" + i + "1.gif")];
		}
		*/

		function init_head() {
			// whatever stuff you need to do onload goes here.
			
			//==========================================================================================
			// 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();
				
				menu0.onactivate = function() { document.getElementById("menu0").className  ="test1"; };
				menu0.ondeactivate = function() { document.getElementById("menu0").className ="test2"; };
				
				menu1.onactivate = function() { document.getElementById("menu1").className  ="test1"; };
				menu1.ondeactivate = function() { document.getElementById("menu1").className ="test2"; };
				
				menu2.onactivate = function() { document.getElementById("menu2").className  ="test1"; };
				menu2.ondeactivate = function() { document.getElementById("menu2").className ="test2"; };
				
				menu3.onactivate = function() { document.getElementById("menu3").className  ="test1"; };
				menu3.ondeactivate = function() { document.getElementById("menu3").className ="test2"; };
		/*		
				menu4.onactivate = function() { document.getElementById("menu4").className  ="test1"; };
				menu4.ondeactivate = function() { document.getElementById("menu4").className ="test2"; };
				
				menu5.onactivate = function() { document.getElementById("menu5").className  ="test1"; };
				menu5.ondeactivate = function() { document.getElementById("menu5").className ="test2"; };
				
				menu6.onactivate = function() { document.getElementById("menu6").className  ="test1"; };
				menu6.ondeactivate = function() { document.getElementById("menu6").className ="test2"; };
				
				menu7.onactivate = function() { document.getElementById("menu7").className  ="test1"; };
				menu7.ondeactivate = function() { document.getElementById("menu7").className ="test2"; };
				
				menu8.onactivate = function() { document.getElementById("menu8").className  ="test1"; };
				menu8.ondeactivate = function() { document.getElementById("menu8").className ="test2"; };
				
				menu9.onactivate = function() { document.getElementById("menu9").className  ="test1"; };
				menu9.ondeactivate = function() { document.getElementById("menu9").className ="test2"; };
	*/
				// 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.
				/*
				menu0.onactivate = function() { swapImage("button1", preloaded[0][0].src) };
				menu0.ondeactivate = function() { swapImage("button1", preloaded[0][1].src) };

				menu1.onactivate = function() { swapImage("button2", preloaded[1][0].src) };
				menu1.ondeactivate = function() { swapImage("button2", preloaded[1][1].src) };

				menu2.onactivate = function() { swapImage("button3", preloaded[2][0].src) };
				menu2.ondeactivate = function() { swapImage("button3", preloaded[2][1].src) };

				menu3.onactivate = function() { swapImage("button4", preloaded[3][0].src) };
				menu3.ondeactivate = function() { swapImage("button4", preloaded[3][1].src) };

				menu4.onactivate = function() { swapImage("button5", preloaded[4][0].src) };
				menu4.ondeactivate = function() { swapImage("button5", preloaded[4][1].src) };
				
				menu5.onactivate = function() { swapImage("button6", preloaded[5][0].src) };
				menu5.ondeactivate = function() { swapImage("button6", preloaded[5][1].src) };
				*/
				//menu1.onactivate = function() { swapImage("button7", preloaded[7][1].src) };
				//menu1.ondeactivate = function() { swapImage("button7", preloaded[7][1].src) };
				
				//menu1.onactivate = function() { swapImage("button8", preloaded[8][1].src) };
				//menu1.ondeactivate = function() { swapImage("button8", preloaded[8][1].src) };
				
			}
		}

		// this is a crappy example preloader. Use whichever one you want.
		function loadImage(sFilename) {
			var img = new Image();
			img.src ="/zft/images/" + sFilename;
			return img;
		}

		// this is a crappy example image swapper. Use whichever you want.
		function swapImage(imgName, sFilename) {
		document.images[imgName].src = sFilename;
		}

