﻿	function buildMenu()
	{
		if (document.all && document.getElementById) 
		{

		    menu = document.getElementById('main-menu');
			navItems = menu.getElementsByTagName("li");
			
			for (i=0; i < navItems.length; i++) 
			{
				node = navItems[i];
				node.onmouseover = function() { this.className+=" over"; }
				node.onmouseout  = function() { this.className=this.className.replace(" over", ""); }
			}
		}
	}
