<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">

    <meta charset="gbk" />

    <title>到处乱飘的广告</title>

    <meta name="keywords" content="" />

    <meta name="description" content=""    />

</head>

<body>

<div id="piaofu" style="position:absolute; border:0px solid #ccc;">

    <div style="text-align:right;">

        <a href="javascript:void(0)" onclick="javascript:closePiaofu()" style="background-color: #A00;color:#fff; padding:0px 5px; text-decoration:none; font-size:12px;">[关闭]</a>

    </div>

    <a href="http://www.web100.cc" target="_blank" style="">

        <img src="http://www.web100.cc/webui/images/logo.png" border="0" width="315" height="81" />

    </a>

</div>

<script>

function closePiaofu(){

    document.getElementById("piaofu").style.display = "none";

}

var x = 50,y = 160;

var xin = true, yin = true;

var step = 0.8;

var delay = 10;

var obj=document.getElementById("piaofu");

function piaofu(){

    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; }

}

var itl = setInterval("piaofu()", delay);    

obj.onmouseover=function(){clearInterval(itl)}

obj.onmouseout=function(){itl=setInterval("piaofu()", delay)}

</script>

<p>&nbsp;

<p>&nbsp;

<p>&nbsp;

<p>&nbsp;

<p>&nbsp;

<p>&nbsp;

<p>&nbsp;

<p>&nbsp;

<p>&nbsp;

<p>&nbsp;

<p>&nbsp;

<p>&nbsp;

<p>&nbsp;

<p>&nbsp;

<p>&nbsp;

<p>&nbsp;

<p>&nbsp;

<p>&nbsp;

<p>&nbsp;

<p>&nbsp;

<p>&nbsp;

<p>&nbsp;

<p>&nbsp;

<p>&nbsp;

<p>&nbsp;

03-15 03:19