// JavaScript Document

$(window).load(function() {
        $('#slider #slider-content').nivoSlider({
                effect:'fade', //Specify sets like: 'fold,fade,sliceDown'
                slices:15,
                animSpeed:500,
                pauseTime:3000,
                directionNav:false, //Next  Prev
                directionNavHide:true, //Only show on hover
                controlNav:true, //1,2,3...
                controlNavThumbs:true, //Use thumbnails for Control Nav
       		controlNavThumbsFromRel:true, //Use image rel for thumbs
                controlNavThumbsSearch: '.jpg', //Replace this with...
                controlNavThumbsReplace: '_thumb.jpg', //...this in thumb Image src
                keyboardNav:true, //Use left right arrows
                pauseOnHover:true, //Stop animation while hovering
                manualAdvance:false, //Force manual transitions
                captionOpacity:0.8, //Universal caption opacity
                beforeChange: function(){},
                afterChange: function(){},
                slideshowEnd: function(){} //Triggers after all slides have been shown
        });
});

 
$(document).ready(function(){
        $("#more a").click(function(){
                $("#topbar").slideToggle("slow");
                $(this).toggleClass("active");
        });
});     


                        $(document).ready(function(){                   
                                $('.boxgrid.peek, .block').hover(function(){
                                        $(".cover", this).stop().animate({top:'125px'},{queue:false,duration:300});
                                }, function() {
                                        $(".cover", this).stop().animate({top:'0px'},{queue:false,duration:300});
                                });
                        });






//portfolio




//$(document).ready(function() {
 //   $('#mycarousel').jcarousel({
   //     vertical: true,
     //   scroll: 2,
		
//    });
//});








