function buildMenu()
{
	//alert("buildMenu();");
	var MSIE = navigator.appVersion.indexOf('MSIE')+5;
	var semi = navigator.appVersion.indexOf(';',MSIE);
	var vers = parseInt(navigator.appVersion.substr(MSIE,(semi-MSIE)));
	if (document.all&&document.getElementById&&vers<7)
	{
		var navRoot = document.getElementById("nav");
		
		for (var i = 0; i < navRoot.childNodes.length; i++)
		{
			navRoot.childNodes[i].onmouseover = function()
			{
				this.className = this.id+'_over';
			}
			navRoot.childNodes[i].onmouseout = function()
			{
				this.className = this.id;
			}
			
			/*
			var secondRoot = navRoot.childNodes[i].childNodes[2].childNodes;
			//alert(navRoot.childNodes[i].id +': '+secondRoot.length);
			for (var j = 0; j < secondRoot.length; j++)
			{
				secondRoot[j].onmouseover = function()
				{
					this.className = this.id+'_over';
				}
				secondRoot[j].onmouseout = function()
				{
					this.className = this.id;
				}
			}
			*/
		}
	}	
}
