</DIV><IMG height=47 name=bounce

src="c:\Aqui o enderešo da figura que vai voar"

style="LEFT: 0px; POSITION: absolute; TOP: 0px" width=47> <!--webbot bot="HTMLMarkup" startspan

alt="[&lt;b&gt;This is the Bounce Script&lt;/b&gt;]" -->

<SCRIPT language=JavaScript>

 

function bounce1(){

window.tm=setInterval('bounceIt()',2);

}

 

function bounce2(){

clearInterval(window.tm);

}

 

      var x=5;

      var y=2;

      var offsetx=5;

      var offsety=5;

  

      function bounceIt() {

        var el = document.all.bounce;

        x+=offsetx;

        y+=offsety;

        if ((x+el.offsetWidth>document.body.clientWidth+document.body.scrollLeft) || (x<=document.body.scrollLeft)) {

          offsetx=-offsetx;

          if (x<document.body.scrollLeft) x=document.body.scrollLeft;

          if (x+el.width>document.body.clientWidth+document.body.scrollLeft)

            x=document.body.clientWidth-el.offsetWidth+document.body.scrollLeft;

        };

        if ((y+el.offsetHeight>document.body.clientHeight+document.body.scrollTop) || (y<=document.body.scrollTop)) {

          offsety=-offsety;

          if (y<document.body.scrollTop) y=document.body.scrollTop;      

          if (y+el.offsetHeight>document.body.clientHeight+document.body.scrollTop)

            y=document.body.clientHeight-el.offsetHeight+document.body.scrollTop;

        };

        el.style.posTop = y;

        el.style.posLeft = x;

      }

 

setTimeout("bounce1()",2500);

window.onunload=bounce2;

</SCRIPT>