Little snippet to empty the current selection.

Tested in pretty much everything (IE7+). Here’s a POC: http://jsfiddle.net/moagrius/jrHNY/