$(document).ready(function() {
	$('#grant-slides').css("display", "block");
	$('.photo-carousel').css("display", "block");
	$('.grant-thumbs').css("display", "block");
	$('#grant-slides').jCarouselLite({
		btnNext: '.arrow-next',
		btnPrev: '.arrow-prev',
		//auto: 6800,
      	speed: 600
	});
	$('.grant-thumbs').jCarouselLite({
		btnNext: '#sidebar .next',
		btnPrev: '#sidebar .back',
		//auto: 6800,
      	speed: 600,
      	visible: 2
     });
	/*$('.elf-news').jCarouselLite({
		btnPrev: '.news-newer',
		btnNext: '.news-older',
		vertical: true,
      	speed: 600,
      	circular: false
	});*/
	$('a.fancy-img').fancybox({
		'zoomSpeedIn':	300, 
		'zoomSpeedOut':	300,
		'easingIn'	: 'easeOutQuad',
		'easingOut'	: 'easeInQuad',
		'overlayOpacity': .75 
	});
	is_animate = false;
	$('#nav ul li a:not(.active)').hover(function(){
      		$(this).stop('true').animate({ 
        		backgroundColor: '#2fb92c',
        		color: '#fff'
      		}, 200);

    },function () {
      	$(this).animate({
      		backgroundColor: '#D8EEFF',
        	color: '#666'
      	}, 200);
      }
    );
    
    $('.drop-desc').animate({ 
         top: '0px'       
      }, 800, 'easeOutQuad' ); 
 });
