$.fn.cycle.defaults.timeout = 2500;
$(function() {   
    $('#top_scroller') .cycle({
		fx: 'fade',
		speed:  'slow',
		timeout: 2500,
	});
});

$(function() {
    $('#news').cycle({
        fx:      'scrollHorz',
        timeout:  5000,
        prev:    '#prev',
        next:    '#next',
        pager:   '#numbers',
        pagerAnchorBuilder: pagerFactory
    });

    function pagerFactory(idx, slide) {
        var s = idx > 2 ? ' style=""' : '';
        return '<li'+s+'><a href="#">'+(idx+1)+'</a></li>';
    };
    
});
