Good Morning:

I'm trying to create a event that I saw on another website for a website that I am currently developing . The link is below: http://www.ralphlauren.com/family/in..._men_cs1_polos

As you can see, when you click a colored swatch below, the image above changes to match the color. How is this done? What "event" is this in JavaScript? Is there an easier way to do this in J-Query? Any information you have or a solution, would be greatly appreciated.

Thanks.