At Coffeescripter jQuery AD Gallery, you can find the jQuery plugin called AD Gallery. In the comments, you can read that two people want to know how to destroy the gallery so that they can reset it (search for ‘destroy’ on the page if you’re interested).
I’ve had the issue of wanting to reset the gallery as well, because it doesn’t work well with jQuery’s .hide() and .show() methods, which you’ll encounter if you ever use a tabbed layout for a page with the gallery on one of these tabs. (At my job, AD Gallery has been used for quite a while and we haven’t gotten around to trying out other galleries yet. Since using a tabbed layout is also new, I only encountered this problem recently.)