<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>上下浮动条幅</title>
</head>
<body>
<div id="lovewei33" style="position:absolute;top:0px; left:10px"><img src="images/left.gif" border="0" usemap="#Map" />
</div>
<div id="lovewei99" style="position:absolute;top:0px; right:10px;"><img src="images/right.gif" border="0" />
</div>
<script language="javascript">
style1=(document.documentElement.clientWidth-780)/2-110;
document.getElementById("lovewei33").style.left=style1+"px";
document.getElementById("lovewei99").style.right=style1+"px";
function wen8(){
if (document.documentElement && document.documentElement.scrollTop)
var dtop = document.documentElement.scrollTop;
else if (document.body)
var dtop = document.body.scrollTop;
else
{/*Netscape stuff*/}
var lovewei33=document.getElementById("lovewei33");
var lovewei99=document.getElementById("lovewei99");
if(dtop<=100){lovewei33.style.top=100+"px";lovewei99.style.top=100+"px";}
else{lovewei33.style.top=dtop+5+"px";lovewei99.style.top=dtop+5+"px";}};
window.onscroll=function(){wen8();
style1=(document.documentElement.clientWidth-780)/2-110;
lovewei33.style.left=style1+"px";
lovewei99.style.right=style1+"px";
}
</script>
<div style="width:{bfb}; height:1024px;"> </div>
</body>
</html>