var ms=0;
function did(obj){//¿ØÖÆÒ³ÃæµÄÒªËصÄÒƶ¯
ms=obj;
event.srcElement.setCapture();
x=document.all(ms).style.pixelLeft-event.x;
y=document.all(ms).style.pixelTop-event.y;
}
function document.onmousemove(){
if(ms!=""){
document.all(ms).style.pixelLeft=x+event.x;
document.all(ms).style.pixelTop=y+event.y;
}
}