Use the HTML DOM to assign "ondragstart", "ondrag", "ondragover" and "ondrop" events to the document object.
Drag the text up and down between the two rectangles:
Drag me!