function init() {

	if (TransMenu.isSupported()) {
		TransMenu.initialize();
		
		document.getElementById("nhome").onmouseover = function() {ms.hideCurrent();this.className = "hover";}
		document.getElementById("nhome").onmouseout = function() { this.className = ""; }
		
		document.getElementById("nwelcome").onmouseover = function() {ms.hideCurrent();this.className = "hover";}
		document.getElementById("nwelcome").onmouseout = function() { this.className = ""; }
						
		menu1.onactivate = function() 	{ document.getElementById("njoin").className = "hover"; };
		menu1.ondeactivate = function() { document.getElementById("njoin").className = ""; };

		menu2.onactivate = function() 	{ document.getElementById("nboard").className = "hover"; };
		menu2.ondeactivate = function() { document.getElementById("nboard").className = ""; };
		
		document.getElementById("nnews").onmouseover = function() {ms.hideCurrent();this.className = "hover";}
		document.getElementById("nnews").onmouseout = function() { this.className = ""; }
		
		document.getElementById("ncal").onmouseover = function() {ms.hideCurrent();this.className = "hover";}
		document.getElementById("ncal").onmouseout = function() { this.className = ""; }
		
		document.getElementById("nocean").onmouseover = function() {ms.hideCurrent();this.className = "hover";}
		document.getElementById("nocean").onmouseout = function() { this.className = ""; }
		
		document.getElementById("ncontact").onmouseover = function() {ms.hideCurrent();this.className = "hover";}
		document.getElementById("ncontact").onmouseout = function() { this.className = ""; }
		
	}
}


function initIndex() {

	if (TransMenu.isSupported()) {
		TransMenu.initialize();
			
		menu1.onactivate = function() 	{ document.getElementById("njoin").className = "hover"; };
		menu1.ondeactivate = function() { document.getElementById("njoin").className = ""; };

		menu2.onactivate = function() 	{ document.getElementById("nboard").className = "hover"; };
		menu2.ondeactivate = function() { document.getElementById("nboard").className = ""; };
		
	}
}
