

		function init() {
			// 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()) {
				
				//alert(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.
				
				menu32.onactivate = function() { swapImage("nav_golf", "nav_golf", "_over") };
			    menu32.ondeactivate = function() { swapImage("nav_golf", "nav_golf", "") };				

			    menu33.onactivate = function() { swapImage("nav_activities", "nav_activities", "_over") };
			    menu33.ondeactivate = function() { swapImage("nav_activities", "nav_activities", "") };				
		
			    menu35.onactivate = function() { swapImage("nav_weddings", "nav_weddings", "_over") };
			    menu35.ondeactivate = function() { swapImage("nav_weddings", "nav_weddings", "") };						
			
			    menu36.onactivate = function() { swapImage("nav_membership", "nav_membership", "_over") };
			    menu36.ondeactivate = function() { swapImage("nav_membership", "nav_membership", "") };						
			
			    menu37.onactivate = function() { swapImage("nav_about", "nav_about", "_over") };
			    menu37.ondeactivate = function() { swapImage("nav_about", "nav_about", "") };
					
			}
		}


		function loadImage(sFilename) {
			var img = new Image();
			img.src ="/images/" + sFilename;
			
			return img;
		}

		function swapImage(imgName, sFilename, mouseEvent) {
			thisImgSrc = document.images[imgName].src
			
			if (thisImgSrc.indexOf("_on") != -1){
                document.images[imgName].src = "/images/" + sFilename + "_on" + mouseEvent + ".gif"
            }else {
                document.images[imgName].src = "/images/" + sFilename + mouseEvent + ".gif"
            }
			 
			
		}
		