Click to view more

Free Facebook Likes $(document).ready $(function() { thumbnails = $('img[src*="/products/"]').not(':first'); $.each(thumbnails, function() { var $thumbnail = $(this); $thumbnail.parent().bind('click', function() { var image = $thumbnail.attr('src').split('?')[0].replace(/(_thumb\.)|(_small\.)|(_compact\.)|(_medium\.)|(_large\.)|(_grande\.)/,'.'); if (typeof variantImages[image] !== 'undefined') { } }); }); });