Setup the onclick event for the polygons, try it out