    $(window).load(function() {
         $('#slider').nivoSlider({
        effect:'fade', // Specify sets like: 'fold,fade,sliceDown'
        slices:15, // For slice animations
        boxCols: 8, // For box animations
        boxRows: 4, // For box animations
        animSpeed:400, // Slide transition speed
        pauseTime:4500, // How long each slide will show
        startSlide:0, // Set starting Slide (0 index)
        directionNavHide:true, // Only show on hover
        controlNav:false, // 1,2,3... navigation
        keyboardNav:true, // Use left right arrows
        pauseOnHover:true, // Stop animation while hovering
        captionOpacity:0.8, // Universal caption opacity
        prevText: 'Prev', // Prev directionNav text
        nextText: 'Next' // Next directionNav text
    });      
    });
    
    $(document).ready(function() {
			$('.facebook_top').hover(function(){
				$(this).stop().animate({top:'-165px'},{queue:false,duration:100});
			}, function(){
				$(this).stop().animate({top:'-155px'},{queue:false,duration:50});
			});
				$('.logo').hover(function(){
				$(this).stop().animate({top:'-44px'},{queue:false,duration:50});
			}, function(){
				$(this).stop().animate({top:'-42px'},{queue:false,duration:50});
			});	
		});
		

