The variable next is going to be a random integer representing the index of the next image to be scrolled to. That variable is then concatenated with another string to create a selector, used by the scrollTo function to select the relevant img element in the page. If next is 5, you’ll end up with the selector ‘#pic_scroller>img:eq(5)’.
So the “+” sign is used as a concatenation. Got it. Now that I look at it, I see it. Thank you so much. This is exactly the explanation I was looking for.