$(document).ready(function() {

    $('#cycler').cycle({
        fx:     'scrollHorz',
        speed:  'slow',
		pager:  '#cycle-nav',
       timeout: 0,
         next: '#next',
        prev: '#prev',
		nowrap: true,
		pagerAnchorBuilder: function(idx, slide) {
            // return sel string for existing anchor
           return '#cycle-nav li:eq(' + (idx) + ') a';
        }
   
    });
	  });
