You can also disable the control in the onclick event, and then re-enable it at the end of your meaty bit of processing.
Good luck!
Edward "Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door