I've got:
j=0;
an = $("#thumbSlider" + j + " a").eq(1);
ap = $("#thumbSlider" + j + " a").eq(0);
jQuery("div#thumbSlider" + j + " a").each(function(z) {
jQuery(this).bind("click", function(){
ad = jQuery("#thumbSlider" + j + " a").eq(1);
alert(ad.length);
. .
The first alert returns 1, but the second, on click, returns 0. Why is that?