{"size": 1869, "ext": "js", "max_stars_repo_path": "js/agency.js", "max_stars_repo_name": "sjy/iammbp-cn-2", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "js/agency.js", "max_issues_repo_name": "sjy/iammbp-cn-2", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "js/agency.js", "max_forks_repo_name": "sjy/iammbp-cn-2", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 31.6779661017, "max_line_length": 94, "alphanum_fraction": 0.6029962547}
/*!
 * Start Bootstrap - Agency Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

// jQuery for page scrolling feature - requires jQuery Easing plugin
$(function () {
    $('#old a.page-scroll').bind('click', function (event) {
        var $anchor = $(this);
        $('html, body').stop().animate({
            scrollTop: $($anchor.attr('href')).offset().top
        }, 1500, 'easeInOutExpo');
        event.preventDefault();
    });
});

$('.intro-text').mouseenter(function () {
    $(this).css('background-color', 'rgba(0, 0, 0, 0.3)');
}).mouseleave(function () {
    $(this).css('background-color', 'rgba(0, 0, 0, 0.6)');
});

$('#academy-summary').click(function () {
    $(this).removeClass('col-lg-6');
    $(this).find('.intro-text p').removeClass('hidden');
    $('.cd-close').removeClass('hidden');
    $('#coach-summary').addClass('hidden');
});

$('#coach-summary').click(function () {
    $(this).removeClass('col-lg-6');
    $(this).find('.intro-text p').removeClass('hidden');
    $('.cd-close').removeClass('hidden');
    $('#academy-summary').addClass('hidden');
});

$('.cd-close').click(function(){
    $('#coach-summary').removeClass('hidden').removeClass('col-lg-12').addClass('col-lg-6');
    $('#academy-summary').removeClass('hidden').removeClass('col-lg-12').addClass('col-lg-6');
    $('.intro-text p').addClass('hidden');
    $(this).addClass('hidden');
});

// Highlight the top nav as scrolling occurs
$('body').scrollspy({
    target: '.navbar-fixed-top'
});

// Closes the Responsive Menu on Menu Item Click
$('.navbar-collapse ul li a').click(function () {
    $('.navbar-toggle:visible').click();
});


$('.navbar-nav li').click(function(){
    $('.navbar-nav li').removeClass('active');
    $(this).addClass('active');
});