');
  }
}
  $(function() {
  $('.wm-trigger')
    .mouseover(function() {
      $('.wm-servicesbg').addClass($(this).attr('id') + '-bg');
    })
    .mouseout(function() {
      $('.wm-servicesbg').removeClass($(this).attr('id') + '-bg');
    })
	.click(function() {
      $('.wm-trigger').removeClass('hover');
      $('.' + $(this).attr('id')).addClass('hover');
	  $('.wm-text').removeClass('showtext');
      $('.' + $(this).attr('id') + '-text').addClass('showtext');
    });
});
$(function() {
  $('.pmp-trigger')
    .mouseover(function() {
      $('.pmp-servicesbg').addClass($(this).attr('id') + '-bg');
    })
    .mouseout(function() {
      $('.pmp-servicesbg').removeClass($(this).attr('id') + '-bg');
    })
	.click(function() {
      $('.pmp-trigger').removeClass('hover');
      $('.' + $(this).attr('id')).addClass('hover');
	  $('.pmp-text').removeClass('showtext');
      $('.' + $(this).attr('id') + '-text').addClass('showtext');
    });
});
$(document).ready(function() {
  if (!$('.accounting-iframe').hasClass('active')) {
    $('.accounting-iframe').addClass('active');
    $('.wealth-iframe, .operations-iframe').removeClass('active');
  }
  
  if (!$('.accounting-btn').hasClass('btn-active')) {
    $('.accounting-btn').addClass('btn-active');
    $('.wealth-btn, .operations-btn').removeClass('btn-active');
  }
  $('.accounting-btn').on('click', function() {
    $('.accounting-btn').addClass('btn-active');
    $('.wealth-btn, .operations-btn').removeClass('btn-active');
    $('.wealth-iframe, .operations-iframe').removeClass('active');
    $('.accounting-iframe').addClass('active');
  });
  
  $('.wealth-btn').on('click', function() {
    $('.wealth-btn').addClass('btn-active');
    $('.accounting-btn, .operations-btn').removeClass('btn-active');
    $('.accounting-iframe, .operations-iframe').removeClass('active');
    $('.wealth-iframe').addClass('active');
    var ifrm = $('#ifrm-wealth')
    setIframeHeight(ifrm);
  });
  
  $('.operations-btn').on('click', function() {
    $('.operations-btn').addClass('btn-active');
    $('.accounting-btn, .wealth-btn').removeClass('btn-active');
    $('.accounting-iframe, .wealth-iframe').removeClass('active');
    $('.operations-iframe').addClass('active');
  });
});
// $('.member-item .open-overlay').on('click', function() {
//   event.preventDefault();
  
//   console.log('clicked')
  
//   $('.content-wrapper').velocity('scroll', { 
//     offset: 50, 
//     duration: 800, 
//     easing: 'easeInOutCubic'
    
  // }, {
  // complete: function() {
  //   var modal = $(this).data('target');
  // $('html').addClass('overlay-open');
  // if (modal) {
  //   $('#' + modal).addClass('is-showing');
  // } else {
  //   $(this).parent().find('.overlay-content').addClass('is-showing');
  
//   })
// });
 
  
`
  );
}
`
  );
}
`
  );
}