old_contents: $(document).ready(function() {  
    // nav
    // nav clase
    $(".nav a").on("click", function(){
     $(".nav").find(".active").removeClass("active");
     $(this).parent().addClass("active");
  });
    
    
    function makeParallax() {
      $('.parallax-window-1').parallax({imageSrc: 'images/Aitor1.jpg'});
    };
    
    makeParallax();
    
    // nav tag
       $('nav').affix({
        offset: {
          top: function() { return  $('#imagen-inicial').height(); }
        }
       });
    
    $('nav').on('affix.bs.affix', makeParallax()); 
    
    // end nav  
    
    $('a[href*="#"]:not([href="#"])').click(function() {
      if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
        var target = $(this.hash);
        target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
        if (target.length) {
          $('html, body').animate({
            scrollTop: target.offset().top
          }, 1000);
          return false;
        }
      }
    });
  
    // Animación
    var $window           = $(window),
        win_height_padded = $window.height() * 1.1,
        isTouch           = Modernizr.touch;
  
    if (isTouch) { $('.revealOnScroll').addClass('animated'); }
    
    $window.on('scroll', revealOnScroll);
  
    function revealOnScroll() {    
      var scrolled = $window.scrollTop(),
          win_height_padded = $window.height() * 1.1;
  
      // Showed...
      $(".revealOnScroll:not(.animated)").each(function () {
        var $this     = $(this),
            offsetTop = $this.offset().top;
  
        if (scrolled + win_height_padded > offsetTop) {
          if ($this.data('timeout')) {
            window.setTimeout(function(){
              $this.addClass('animated ' + $this.data('animation'));
            }, parseInt($this.data('timeout'),10));
          } else {
            $this.addClass('animated ' + $this.data('animation'));
          }
        }
      });
      // Hidden...
     $(".revealOnScroll.animated").each(function (index) {
        var $this     = $(this),
            offsetTop = $this.offset().top;
        if (scrolled + win_height_padded < offsetTop) {
          $(this).removeClass('animated fadeInUp flipInX lightSpeedIn')
        }
      });
    }
  
    revealOnScroll();
  });
  
new_contents: $(document).ready(function() {  
    // nav
    // nav clase
    $(".nav a").on("click", function(){
     $(".nav").find(".active").removeClass("active");
     $(this).parent().addClass("active");
    
    function makeParallax() {
      $('.parallax-window-1').parallax({imageSrc: 'images/Aitor1.jpg'});
    };
    
    makeParallax();
      
      $('nav').affix({
        offset: {
          top: function() { return  $('#imagen-inicial').height(); }
        }
       });
    
    $('nav').on('affix.bs.affix', function() {
      makeParallax();
    }); 
  });
    
    
    // nav tag
       
    
    // end nav  
    
    $('a[href*="#"]:not([href="#"])').click(function() {
      if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
        var target = $(this.hash);
        target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
        if (target.length) {
          $('html, body').animate({
            scrollTop: target.offset().top
          }, 1000);
          return false;
        }
      }
    });
  
    // Animación
    var $window           = $(window),
        win_height_padded = $window.height() * 1.1,
        isTouch           = Modernizr.touch;
  
    if (isTouch) { $('.revealOnScroll').addClass('animated'); }
    
    $window.on('scroll', revealOnScroll);
  
    function revealOnScroll() {    
      var scrolled = $window.scrollTop(),
          win_height_padded = $window.height() * 1.1;
  
      // Showed...
      $(".revealOnScroll:not(.animated)").each(function () {
        var $this     = $(this),
            offsetTop = $this.offset().top;
  
        if (scrolled + win_height_padded > offsetTop) {
          if ($this.data('timeout')) {
            window.setTimeout(function(){
              $this.addClass('animated ' + $this.data('animation'));
            }, parseInt($this.data('timeout'),10));
          } else {
            $this.addClass('animated ' + $this.data('animation'));
          }
        }
      });
      // Hidden...
     $(".revealOnScroll.animated").each(function (index) {
        var $this     = $(this),
            offsetTop = $this.offset().top;
        if (scrolled + win_height_padded < offsetTop) {
          $(this).removeClass('animated fadeInUp flipInX lightSpeedIn')
        }
      });
    }
  
    revealOnScroll();
  });
  
subject: Update script.js