/**  
 * @fileoverview This file contains functions related to the Bowdoin global menu.
 * @author Mark Hendrickson <mhendric@bowdoin.edu>
 * @version 1.0
 */

/**
 * Initiates the global menu for Internet Explorer 6.
 */
function initGlobalMenu()
{
	if (document.all&&document.getElementById) 
	{
		navRoot = document.getElementById("globalmenu");
		for (i=0; i<navRoot.childNodes.length; i++) 
		{
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") 
			{
				node.onmouseover=function() 
				{
					this.className+=" over";
				}
				node.onmouseout=function() 
				{
					this.className=this.className.replace(" over", "");
				} 
			} 
		} 
	} 
}