document.write('<div id="ad" style="position:absolute; z-index: 10;">');
document.write('<TABLE cellSpacing=0 cellPadding=0 border=0><TR>');
document.write('<TD align="right"><A style="CURSOR: hand" onclick=closepiao()><font style="font-size:12px;"><b>¹Ø±Õ</b></font</A></TD></TR>');
document.write('<TR><TD><img src="/images/tz.jpg" width="419" height="225">');
document.write('</TD></TR></TABLE></div>');

// Begin
var x = 50,y = 200 
var xin = true, yin = true 
var step = 1 
var delay = 25
var obj=document.getElementById("ad") 
function floatAD() { 
var L=T=0 
var R= document.body.clientWidth-obj.offsetWidth 
var B = document.body.clientHeight-obj.offsetHeight 
obj.style.left = x + document.body.scrollLeft 
obj.style.top = y + document.body.scrollTop 
x = x + step*(xin?1:-1) 
if (x < L) { xin = true; x = L} 
if (x > R){ xin = false; x = R} 
y = y + step*(yin?1:-1) 
if (y < T) { yin = true; y = T } 
if (y > B) { yin = false; y = B } 
} 
function closepiao()
{
document.all("ad").style.display = "none";
}
var itl= setInterval("floatAD()", delay) 
obj.onmouseover=function(){clearInterval(itl)} 
obj.onmouseout=function(){itl=setInterval("floatAD()", delay)} 
// End 

