jQuery().ready(function(){ 
$('#images').cycle({				
fx: 'fade',
speed: 2000,
cleartype: true, 
cleartypeNoBg: true, 
timeout: 8000,
autostop: 0});
$('#featured-info').cycle({				
fx: 'fade',
cleartype: true, 
cleartypeNoBg: true, 
speed: 2000,
timeout: 8000,
autostop: 0});
$('#spotlight').cycle({				
fx: 'fade',
speed: 2000,
prev:    '#prev', 
next:    '#next', 
timeout: 10000,
cleartype:  1, // enable cleartype corrections 
autostop: 0});
$('#stop_button').click(function() { 
    $('#spotlight').cycle('pause'); 
});
$('#restart_button').click(function() { 
    $('#spotlight').cycle('resume'); 
});
$('div.home-videos').jCarouselLite({//slider for homepage blog posts
btnNext: '#home-videos-nav .next',
btnPrev: '#home-videos-nav .prev',
easing:'easeInOutExpo',
vertical: false,
speed:1000,
visible:3
});
$("ul.sf-menu").supersubs({ 
minWidth:    12,   // minimum width of sub-menus in em units 
maxWidth:    27,   // maximum width of sub-menus in em units 
extraWidth:  1     // extra width can ensure lines don't sometimes turn over 
}).superfish();  
});	 
//$('#spotlight').jCarouselLite({ //slider for homepage featured section info text
//btnPrev:   '#spotlight-nav .prev', 
//btnNext:   '#spotlight-nav .next',  
//speed:750,
//auto: 2500,  
//vertical:false,
//visible:1
//}); 
//$('#stop_button').click(function () {
//  $(document).trigger('pauseCarousel');
//});
//$('#restart_button').click(function () {
//  $(document).trigger('resumeCarousel');
//});
//end of page functions