function mousedown(e)
{
e = e||window.event;
obj = e.srcElement||e.target;
}
function mousemove(e)
{
e = e||window.event;
if (obj) {
obj.style.left = e.clientX + document.body.scrollLeft;
obj.style.top = e.clientY + document.body.scrollTop;
return false;
}
}
function mouseup()
{
obj = null;
}