/* Author:
  http://css-tricks.com/snippets/jquery/smooth-scrolling/
*/



$(document).ready(function() {
    $('a[href*=#]').bind('click',function(event){
        event.preventDefault();
        var $anchor = $(this);
        
        $('html, body').stop().animate({
            scrollTop: $($anchor.attr('href')).offset().top
        }, 1400,'easeOutExpo');
        /*
        if you don't want to use the easing effects:
        $('html, body').stop().animate({
            scrollTop: $($anchor.attr('href')).offset().top
        }, 1000);
        */
        
    });
});

