PongBounce (#2 in the Gratuitous Javascript Series)
<script type="text/javascript" src="http://dren.ch/rel/pongbounce/pongbounce.js"><script> <script type="text/javascript"> PongBounce(document.images[Math.floor(Math.random(document.images.length))]); </script>
PongBounce() takes one argument: a DOM object that has width and height properties like <img> and <object>. The above example picks a random image on the page and applies the "PongBounce" effect.
See it in action at zomno.org.
Apr 12, 2006 : link