You'll need to use javascript for that, as it's client side stuff. There's an appropriate jQuery library called
Image Area Select. I think that's what you need.
Oh, and by the way - I found this in less then 10 seconds searching on Google. You should get used to using Google for questions like this.