http://odyniec.net/projects/imgareaselect/
I have been using this excellent jQuery plugin which allows the user to draw a lasso around several objects to highlight then and bulk change them. However, they way I was using it, meant that the div that the event was bound to always drew the selection object. And I needed it to be draggable at the same time (like a switch)
So it was easy really, I used the unbind() event:
$(‘#object’).unbind();
Job done