Reordering table rows on MouseMove

How can I move the rows of the table by dragging it? The code below is self-explanatory with comments. It works in IE6

The javascript for the above table is below: