<script>
//Dhtml:用ondrag事件简单的实现鼠标拖动物件.
//原作:风云舞
var xx=0,yy=0
</script>
<img src="http://www.lshdic.com/bbs/image/shajia.jpg" style='position:absolute;' ondragstart="setCapture();xx=event.x-this.offsetLeft;yy=event.y-this.offsetTop;" ondrag='this.style.left=event.x-xx;this.style.top=event.y-yy' ondragend="releaseCapture();">