// menu 20100126, v1.1
var numMenu=1;var speed=10;function menuDown(id){__starDisplay(id,speed)}function menuUp(id){__starDisplay(id,-(speed))}var d=document;var beginHeight=0;disTimerM=new Array();disTimer=new Array();actualHeightM=new Array();actualHeight=new Array();menuHeight=new Array();for(var i=0;i<numMenu;i++){disTimerM[i]=null;actualHeightM[i]=beginHeight;actualHeight[i]=0}function __starDisplay(id,px){__stopDisplay(id);disTimer[id]=window.setInterval(function(){__displayTo(id,px)},10);return true}function __stopDisplay(id){window.clearInterval(disTimer[id]);return true}function __displayTo(id,px){menuHeight[id]=d.getElementById('lsMenu'+id).offsetHeight;actualHeight[id]+=px;if(actualHeight[id]<beginHeight){actualHeight[id]=beginHeight;__stopDisplay(id)}if(actualHeight[id]>menuHeight[id]){actualHeight[id]=menuHeight[id];__stopDisplay(id)}d.getElementById('outMenu'+id).style.height=actualHeight[id]+"px";return true}
