// JavaScript Document

		function init() {
			//==========================================================================================
			// 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 highlight 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.

				document.getElementById("Home").onmouseover = function() {
					ms.hideCurrent();
					this.className = "hover";
				}
				document.getElementById("Home").onmouseout = function() { this.className = ""; }

				document.getElementById("Noticeboard").onmouseover = function() {
					ms.hideCurrent();
					this.className = "hover";
				}
				document.getElementById("Noticeboard").onmouseout = function() { this.className = ""; }

/*				document.getElementById("Shopping").onmouseover = function() {
					ms.hideCurrent();
					this.className = "hover";
				}
				document.getElementById("Shopping").onmouseout = function() { this.className = ""; }

				document.getElementById("Lounge").onmouseover = function() {
					ms.hideCurrent();
					this.className = "hover";
				}
				document.getElementById("Lounge").onmouseout = function() { this.className = ""; }
*/
				document.getElementById("Story").onmouseover = function() {
					ms.hideCurrent();
					this.className = "hover";
				}
				document.getElementById("Story").onmouseout = function() { this.className = ""; }

				document.getElementById("Box").onmouseover = function() {
					ms.hideCurrent();
					this.className = "hover";
				}
				document.getElementById("Box").onmouseout = function() { this.className = ""; }

/*				document.getElementById("Studio").onmouseover = function() {
					ms.hideCurrent();
					this.className = "hover";
				}
				document.getElementById("Studio").onmouseout = function() { this.className = ""; }

				document.getElementById("Hire").onmouseover = function() {
					ms.hideCurrent();
					this.className = "hover";
				}
				document.getElementById("Hire").onmouseout = function() { this.className = ""; }
*/
				document.getElementById("Contact").onmouseover = function() {
					ms.hideCurrent();
					this.className = "hover";
				}
				document.getElementById("Contact").onmouseout = function() { this.className = ""; }

				document.getElementById("Links").onmouseover = function() {
					ms.hideCurrent();
					this.className = "hover";
				}
				document.getElementById("Links").onmouseout = function() { this.className = ""; }

}
				//menu1.onactivate = function() { document.getElementById("Home").className = "hover"; };
				//menu1.ondeactivate = function() { document.getElementById("Home").className = ""; };


}

