(function ($) {
$(document).ready(function() {
  function setHeight() {
    windowHeight = $(window).innerHeight() - $('#header').height();
    $('.lead-block').css('height',windowHeight);
  };
  setHeight();
  
  $(window).resize(function() {
    setHeight();
  });
});
})(jQuery);