/*
 * Menu function(s) to work in conjunction with fs.js
 * 
 * Rick Burton 8/1/2010
 * Data Pathways
 * http://www.datapathways.com
 */

	// Set up menu system
	startList = function()
	{
		if (document.all && document.getElementById)
		{
			// Look for the <ul> with id="nav"
			navRoot = document.getElementById("nav");

			// Walk through the child nodes looking for the <li>s
			for (i = 0; i < navRoot.childNodes.length; i++)
			{
				node = navRoot.childNodes[i];

				if (node.nodeName == "li")
				{
					// Set mouseover and mouseout event handlers for the <li>s
					node.onmouseover = function()
					{
						this.className += " over";
					}
					node.onmouseout = function()
					{
						this.className = this.className.replace(" over", "");
					}
				}
			}
		}
	}
	// Both startlist and openLine() must happen here and not in <body onload=
	// else, older versions of IE disregard the code handled here
	window.onload = startList; setTimeout("openLine();", 1000);



