参考如下修改:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" >
<title>无标题文档 </title>
</head><body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div id=divMenu style="Z-INDEX: 1; LEFT: 900px; WIDTH: 80px; POSITION: absolute;
TOP: 84px; HEIGHT: 191px; background-color: #330033; layer-background-color: #330033; border: 1px none #000000;">
<a style="cursor:hand;" onclick="document.all('divMenu').style.visibility='hidden'">关闭 </a>
</div>
<script language="javascript" type="text/javascript">
function $(id) { return document.getElementById(id); }
function CheckUIElements()
{
var yMenuFrom, yMenuTo, yButtonFrom, yButtonTo, yOffset, timeoutNextCheck;
yMenuFrom = parseInt($("divMenu").style.top, 10);
yMenuTo = typeof(top.pageYOffset) != "undefined" ? top.pageYOffset + 295 : document.body.scrollTop + 300;
timeoutNextCheck = 500; if (Math.abs(yButtonFrom - (yMenuTo + 152)) < 6 && yButtonTo < yButtonFrom)
{
setTimeout ("CheckUIElements()", timeoutNextCheck);
return;
} if (yButtonFrom != yButtonTo)
{
yOffset = Math.ceil(Math.abs(yButtonTo - yButtonFrom) / 10);
if ( yButtonTo < yButtonFrom ) yOffset = -yOffset;
var oldtop = parseInt($("divLinkButton").style.top, 10);
$("divLinkButton").style.top = (oldtop + yOffset) + "px";
timeoutNextCheck = 10;
}
if (yMenuFrom != yMenuTo)
{
yOffset = Math.ceil(Math.abs(yMenuTo - yMenuFrom) / 20);
if (yMenuTo < yMenuFrom) yOffset = -yOffset;
var oldtop = parseInt($("divMenu").style.top, 10);
$("divMenu").style.top = (oldtop + yOffset) + "px";
timeoutNextCheck = 10;
} setTimeout ("CheckUIElements()", timeoutNextCheck);
}function OnLoad()
{
var y;
if (top.frames.length)
{
$("divMenu").top = top.pageYOffset + 135;
$("divMenu").visibility = "visible";
}
CheckUIElements();
return true;
}
OnLoad();
</script><table width="778" height="1500" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="f4f4f4">
  <tr>
<td>&nbsp; </td>
  </tr>
</table>
</BODY>
</HTML>