$(document).ready(function() {
	$('.slideshow') 
	.before('<div id="nav">') 
	.cycle({ 
		fx:     'scrollLeft', 
		speed:   500, 
		timeout: 4000, 
		pager:  '#nav', 
		// callback fn that creates a thumbnail to use as pager anchor 
		pagerAnchorBuilder: function(idx, slide) { 
			return '<a href="#"></a>'; 
		} 
	});
});
