	//-------------------------------------------------------------------------
	//	Name: ChangeClassName
	//	Abstract: Change the class name of source object.  This will cause a
	//			ripple effect with making submenus visible or hidden.
	//-------------------------------------------------------------------------
	function ChangeClassName( objSource, strNewClassName )
	{

		try
		{

			objSource.className = strNewClassName;

		}
		catch( expError )
		{

			alert( "Menu1.js::ChangeClassName( ).\n" +
					"Error:" + expError.number + ", " + expError.description );

		}

	}


	// -------------------------------------------------------------------------
	//  Name: InitializeMenu
	//  Abstract: Initialize the main menu.  Add mouseover and mouseout event
	//			handlers.  If there is a submenu to the right add an arrow image
	// -------------------------------------------------------------------------
	function InitializeMenu( )
	{

		try
		{

			var divMainMenu = 0;
			var aliMenuItems = 0;
			var liCurrentMenuItem = 0;
			var objChildNode = 0;
			var intIndex = 0;
			var intChildIndex = 0;

			// Get a reference to the main menu
			divMainMenu = document.getElementById( "idMainMenu" );
			
			// Get a list of all the LI tags in the menu
			aliMenuItems = divMainMenu.getElementsByTagName( "li" );

			// Loop through all the list items in the menu
			for( intIndex = 0; intIndex < aliMenuItems.length; intIndex += 1 )
			{

				// Get the current item in the array
				liCurrentMenuItem = aliMenuItems[ intIndex ];

				// Add event handlers
				liCurrentMenuItem.onmouseover = new Function( "ChangeClassName( this, 'clsSelected' )" );
				liCurrentMenuItem.onmouseout = new Function( "ChangeClassName( this, '' )" );

				// Look for a child submenu (unordered list)
				for( intChildIndex = 0; intChildIndex < liCurrentMenuItem.childNodes.length; intChildIndex += 1)
				{
					
					// Next child
					objChildNode = liCurrentMenuItem.childNodes[ intChildIndex ];

					// SubMenu To Right?
					if( objChildNode.nodeName == "UL" && objChildNode.className == "clsSubMenuToRight" )
					{

						// Yes, add an arrow image for the current menu item
						liCurrentMenuItem.style.backgroundImage = "url(/Images/ArrowRight1.gif)";
						liCurrentMenuItem.style.backgroundPosition = "center right";
						liCurrentMenuItem.style.backgroundRepeat = "no-repeat";
						
						// Stop looping
						break;	
					}

				}

			}

		}
		catch( expError )
		{

			alert( "Menu1.js::InitializeMenu( ).\n" +
					"Error:" + expError.number + ", " + expError.description );

		}

	}
