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()><b><font style="font-size:12px;">关闭</font></b></A></TD></TR>');
document.write('<TR><TD><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="195" height="157"><param name="movie" value="images/195x157.swf"><param name="wmode" value="transparent"><param name="quality" value="high"><embed src="images/195x157.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="195" height="157"></embed></object></TD></TR>');
<!-- document.write('<TR><TD><a href="cj.htm" target="_blank"><img src="cj.jpg" border="0"></a></TD></TR>'); -->
document.write('</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 
