<script>
var xx=0,yy=0
</script>
<img src="01-welcome.gif" style='position:absolute;' ondragstart="this.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="this.releaseCapture();">