var varHeight = 10;

divShow = function(){
var divBlock = document.getElementById("menu_bottom");
var menuHeight = document.getElementById("menu_pos").clientHeight;
var divHeight = divBlock.style.height = (menuHeight+varHeight)-180 + 'px';
}
divHide = function(){
var divBlock = document.getElementById("menu_bottom");
var divHeight = divBlock.style.height =varHeight + 'px';
}
/*-------------*/

//---------------------------------
var jshover = function() {
	var sfEls = document.getElementById("ull").getElementsByTagName("li");
	for (var i=0; i<sfEls.length; i++) 
	{
		sfEls[i].onmouseover=function()
		{
			this.className+=" jshover";
			divShow();
			//alert('yf');
		}
		sfEls[i].onmouseout=function() 
		{
			this.className=this.className.replace(new RegExp(" jshover\\b"), "");
			divHide();
		}
	}
}
if (window.addEventListener) {
	window.addEventListener("load", jshover,false);
}
else if (window.attachEvent) {
	window.attachEvent("onload",jshover);
}