function initPage()
{
	var navRoot = document.getElementById("nav_729022");
	var lis = navRoot.getElementsByTagName("li");
	for (var i=0; i<lis.length; i++)
	{
		lis[i].onmouseover = function()
		{
			this.className += " hover";
			var cul = this.getElementsByTagName("ul")[0];
			var _thisWidth = this.offsetWidth - 12;
			if (cul){
				var _a = cul.getElementsByTagName('a');
				var _maxWidth = 0;
				for (var j=0; j<_a.length; j++){
					if(_maxWidth < _a[j].offsetWidth) _maxWidth = _a[j].offsetWidth;
				}
				if (_maxWidth < _thisWidth) _maxWidth = _thisWidth;
				cul.style.width = _maxWidth+'px';
			}

		}
		lis[i].onmouseout = function()
		{
			this.className = this.className.replace("hover","");
		}
	}
}

if (window.addEventListener)
	window.addEventListener("load", initPage, false);
else if (window.attachEvent)
	window.attachEvent("onload", initPage);

	