var s = jQuery.noConflict();

s(document).ready(function() {
    s('#slider').cycle({
		fx:     'fade', 
    speed:  'slow',
	delay: 5000,
    timeout: 5000,
		pager:   '#slconlinks',
        pagerAnchorBuilder: pagerFactory
		
		});
		
		s('.newsslider').cycle({
		fx:     'turnDown', 
    speed:  'slow',
	delay: 3000,
    timeout: 3000
		
		});
	
	function pagerFactory(idx, slide) {
        var s = idx > 2 ? ' style="display:none"' : '';
        return '<a href="#">'+(idx+1)+'</a>';
    };
	
});
