Yahoo's new photo galleries

How do i achieve a drag and drop effect with images like on yahoo’s new photo gallery pages? u can select a bunch of images just by clicking them individually and then drag them into a slideshow pane.

How is this done? And if there any tutorials that teach this please give me the address. I want to put it on an admin section so my client can easily delete images.