Cycle Plugin: thumbnail pager controls with DIVs as slides?

Cycle Plugin: thumbnail pager controls with DIVs as slides?

Hello,

I'm using the example code off the Cycle demo to create thumbnails on-the-fly to use as pager controls for my slideshow. Everything works great until I wrap my images in DIVs which then become the slides.  Is there any way to have DIVs as my slides and still create thumbnails on-the-fly?  My function code is just like the function code in the demo:
  1.        pagerAnchorBuilder: function(idx, slide) {
  2.             return '<li><a href="#"><img src="' + slide.src + '" width="50" height="50" /></a></li>';
  3.         }
I know this won't cut it, but I'm wondering if there is a simple modification that would accomplish my task.  I'm very unskilled with javascript and jquery, so any help and suggestions would be greatly appreciated!

Thanks,
Amanda