ctv_carousel gallery.js does a few things, some of them are: checks to see if there are enough images to warrant the initialization of a jcarousel instance totals all image widths to set carousel container's scroll width