$(document).ready(function(){//var photoheight = $('.slideshow img').height();//	photoheight = photoheight-1;	// fade the main photo if there are more than one.//$('.slideshow').height(photoheight);  $('.slideshow').cycle({    fx: 'fade',	//after: onAfter  });  });function onAfter(curr,next,opts) {	//var caption = 'Image ' + (opts.currSlide + 1) + ' of ' + opts.slideCount;	var theone = opts.currSlide + 1;	theone = theone - 1;	var pickles = $('#mycaptions').find('li:eq('+theone+')').text();		$('#inner_photo_caption').html(pickles);			}
