https://files.cnblogs.com/xsmhero/Scroll_Div.js
<script type="text-javascript">
Scroll_Div('my_menu1', document.all.menu1, document.all.menu1_title);
var x = (document.body.clientWidth - my_menu1.root.offsetWidth);
var y = (document.body.clientHeight - my_menu1.root.offsetHeight) / 2;
my_menu1.move(x, y);
my_menu1.close();
</script>
<input type='button' value='保存策略' class='button' onclick='javascript:my_menu1.open();' />
<input type='button' value='查询策略' class='button' onclick='javascript:my_menu2.open();' />
<table id='menu1' width='50%' border='0' cellpadding='4' cellspacing='1' style='background-color:#666666;'>
<tr><td id='menu1_title' style='100%; background-color:#009900; text-align:center;'>保存检索策略</td></tr>
<tr><td style='background-color:#FFFFFF; text-align:center; height:150px; vertical-align:top;'>
<table border="0" cellpadding="1" cellspacing="0">
<tr><td>
策略标题:<input type="text" name="queryTitle" value="" />
</td></tr>
<tr><td>
<input type="button" class="button_style" value="保存" onclick="my_save()" />
<input type="button" class="button_style" value="隐藏" onclick="my_menu1.close()" />
</td></tr>
</table>
</td></tr>
</table>