<!DOCTYPE HTML Public "-//W3C//DTD XHTML 1.0 transitional//en" "http://www.w3.org/TR/xhtml1/DTD/ Xhtml1-transitional.dtd "><HTMLxmlns= "http://www.w3.org/1999/xhtml"><Head><styletype= "Text/css">#main Div{position:Absolute;width:220px;Height:150px;Border:1px solid #999;}</style><Scripttype= "Text/javascript">varA;document.onmouseup=function(){if(!a)return;d Ocument.all?a.releasecapture (): Window.captureevents (Event.mousemove|event.mouseup); a="";}; Document.onmousemove=function(d) {if(!a)return;if(!d) d=Event;a.style.left=(D.clientx-b)+"px"; A.style.top=(D.clienty-c)+"px";};function$ (o,e) {a=O;document.all?a.setcapture (): Window.captureevents (event.mousemove); b=E.clientx-parseint (a.style.left); C=E.clienty-parseint (a.style.top);}</Script></Head><Body> <DivID= "Main"> <Divstyle= "Left:100px;top:100px;background: #fc9;"onmousedown= "$ (this,event)">1</Div> <Divstyle= "Left:400px;top:100px;background: #9cf;"onmousedown= "$ (this,event)">2</Div> <Divstyle= "Left:700px;top:100px;background: #f9c;"onmousedown= "$ (this,event)">3</Div> <Divstyle= "Left:100px;top:300px;background: #9fc;"onmousedown= "$ (this,event)">4</Div> <Divstyle= "Left:400px;top:300px;background: #c9f;"onmousedown= "$ (this,event)">5</Div> <Divstyle= "Left:700px;top:300px;background: #cf9;"onmousedown= "$ (this,event)">6</Div> </Div></Body></HTML>