// JavaScript Document


$(document).ready(function() {
  
  	//first put a <ol> tag to use later to hold all of the slide navigation
  	$('#slideshowNav').html("<ol></ol>");
	
	//now fill the ol with links to the slides
	$('#slideshowContent').cycle({ 
		fx:     'scrollVert', 
		timeout: 6000,
		pager:  '#slideshowNav ol',
		pagerAnchorBuilder: function(idx, slide) { 
				return '<li id="slide'+(idx+1)+'"><a href="#">' + (idx+1) + '</a></li>';
		},
		speed: 2000
	});
  
});
