(function ($) {

  Drupal.behaviors.alternatingFontWeight = {
    attach: function(context, settings) {
      var text = '';
      $.each($('.region-above-content h2.block-title', context).first().text().split(/\s/), function(i, t) {
        text += '<span class="word' + (i % 2) + '">' + t + '</span>';
        $('.region-above-content h2.block-title').first().html(text);
      });
      
    }
  };

})(jQuery);;

