// DOM Loaded 
$(function(){ 
     
    //init js styles 
    $('body').addClass('hasJS'); 

// -----------------------------------------------------------------------------------------------------
// homepage news ticker (removed) 
// -----------------------------------------------------------------------------------------------------

  $('#news-ticker').cycle({ 
		 pause: 1,
		 sync: 0,
		 speed: 5000,
		 timeout: 2000,
		 height: 20,
		 fx: 'scrollLeft'

  });

// -----------------------------------------------------------------------------------------------------
// homepage rotator 
// -----------------------------------------------------------------------------------------------------

    $('#slide_main').cycle({ 
        fx:'scrollHorz', 
        easing: 'swing', 
        inDelay:    250, 
		speed: 'fast',
        drop:       40, 
        timeout:    7000,
        pause:      true,
        pager:      '#slide_thumbs',
	    pagerEvent: 'mouseover' ,
		
		pagerAnchorBuilder: function(idx, slide) {
            return '#slide_thumbs li:eq(' + (idx) + ') a';
        }

		
    });
	
// -----------------------------------------------------------------------------------------------------
// Radio Stations on home page 
// -----------------------------------------------------------------------------------------------------
	$('#icons').cycle({ 
        fx:'fade', 
        easing: 'swing', 
        inDelay:    250, 
		speed: 1000,
        drop:       40, 
        timeout:    3500,
        pause:      true,
		
		/*pagerAnchorBuilder: function(idx, slide) {
            return '#slide_thumbs li:eq(' + (idx) + ') a';
        }*/
    });
	
	
/*	$(function() {
		jQuery('#icons').jcarousel({
			scroll:1
		});
	});
*/
         
}); 
 
 
