$(document).ready(function() {


    $('#featured-videos').each(function() {
	if ($(this).find('ol').children().length > 1){
	        $(this).find('ol').cycle({
        	            fx: 'scrollHorz',
                	    timeout: 0,
	                    next: '#featured-videos .next',
        	            prev: '#featured-videos .prev',
                	    nowrap: 0,
	         });
	}
    });



    $('#featured-photos').each(function() {
	if ($(this).find('ol.ssContainer').children().length > 1){
	        $(this).find('ol.ssContainer').cycle({
        	            fx: 'scrollHorz',
	                    timeout: 0,
        	            next: '#featured-photos .next',
                	    prev: '#featured-photos .prev',
	                    nowrap: 0,
        	    });
	}
    });

    $('#featured-audio').each(function() {
	if ($(this).find('ol.ssContainer').children().length > 1){
	        $(this).find('ol.ssContainer').cycle({
        	            fx: 'scrollHorz',
                	    timeout: 0,
	                    next: '#featured-audio .next',
        	            prev: '#featured-audio .prev',
                	    nowrap: 0,
	            });
	}
    });

});			
