$(function() {
    $('#home-rotating-images').cycle({
        fx:     'fade',
        speed:  'slow',
        timeout: 5000,
        pager:  '#home-rotating-nav',
        pagerAnchorBuilder: function(idx, slide) {
            return '#home-rotating-nav li:eq(' + (idx) + ') a';
        }
    });
    $('#home-left').cycle({
        fx:     'fade',
        speed:  'slow',
        timeout: 5000
        //pager:  '#home-stories',
        //pagerEvent: 'mouseover',
        //pagerAnchorBuilder: function(idx, slide) {
        //    return '#home-stories li:eq(' + (idx) + ')';
        //}
    });
    $('#header-content').cycle({
        fx:     'fade',
        speed:  'slow',
        timeout: 7500
    });
    $('#ad-space').cycle({
        fx:     'fade',
        speed:  'slow',
        timeout: 7500
    });	
});
