$(document).ready(function() {
    $('#cycle_box')
            .cycle({
		fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		speed: 2000, //change the transition speed
		timeout: 0, //change the speed that slides progress
		/*shuffle: { 
	        top:  0, 
	        left:  1200,
		    },  //change transition position */
	        prev: '#cycle_prev',
	        next: '#cycle_next',
	        pager: '#cycle_pager',
	       
	       //create the thumnails from existing mark-up in the wordpress loop
	       pagerAnchorBuilder: function(idx, slide) { 
        // return selector string for existing anchor 
        return '#cycle_pager li:eq(' + idx + ') a'; //the eq: is a jquery selector that selects froma  list --- http://api.jquery.com/eq-selector/
    }     	});
	 $('#channels')
            .cycle({
		fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		speed: 300, //change the transition speed
		timeout: 0, //change the spped that slides progress
		/*shuffle: { 
	        top:  0, 
	        left:  1200,
		    },  //change transition position 
		    */
	        prev: '#tv_prev',
	        next: '#tv_next',
	       pager: '#cycle_pager'

	        	}); 
	
		});
	//end of document ready functions

