高分求分析代码的浏览器兼容性
<div style=" position:relative;">
<script language="javascript">
function move(x, y) {
if (document.all) {
object1.style.pixelLeft += x;
object1.style.pixelTop += y;
}
else
if (document.layers) {
document.object1.left += x;
document.object1.top += y;
}
};
function position() {
document.object1.left += -200;
document.object1.top += 0;
document.object1.visibility = "show"
};
function makeStatic() {
if (document.all) { object1.style.pixelTop = document.body.scrollTop + 100 }
else { eval('document.object1.top=eval(window.pageYOffset+20)'); }
setTimeout("makeStatic()", 0);
}
</script>
<layer class=NS onmouseover="move(580,0)" onmouseout="move(-580, 0)" left="0" name="object1" visibility="hide" top="20">
<script language="javascript">
if (document.all)
document.write('<DIV ID="object1" style="Position : Absolute ;Left : -125px ;Top : 20px ;Width : 0px ;Z-Index : 1">')
</script>
<TABLE onmouseover="move(120,0)" onmouseout="move(-120, 0)" cellSpacing=1 cellPadding=2 border=0 >
<TBODY>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width=118 align=center border=0>
<TBODY>
<TR>
<TD><IMG alt="" src="/images/qq/ad/servicepic_01.jpg" width=118 border=0 name=servicepic_01></TD></TR>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width=118 align=left border=0 background="/images/qq/ad/qqbg.jpg">
<TBODY>
<%
&nb