$(document).ready(function() {
    $('.navbar-default .navbar-nav li, aside ul li, .footer-social a, .footer-sitemap a, .slider-content-container .slide-button, .masthead-vid-thumbnails-container .vidthumb.vidthumb-landing').hover(function() {
        $(this).siblings('li, a').css({
            'opacity': '0.5', 
            '-webkit-transition': 'opacity 1s', 
            '-moz-transition': 'opacity 1s', 
            'transition': 'opacity 1s'
        });
    }, function() {
        $(this).siblings('li, a').css({
            'opacity': '1', 
            '-webkit-transition': 'opacity 1s',
            '-moz-transition': 'opacity 1s',
            'transition': 'opacity 1s'
        });
    });

    // $('#banner-apply-retail').click(function() {
    //     ga('send', {
    //       hitType: 'event',
    //       eventCategory: 'Go to job page (external)',
    //       eventAction: 'Homepage banner button clicked',
    //       eventLabel: 'Apply for retailer jobs'
    //     });
    // });
    // $('#banner-apply-head-office').click(function() {
    //     ga('send', {
    //       hitType: 'event',
    //       eventCategory: 'Go to job page (external)',
    //       eventAction: 'Homepage banner button clicked',
    //       eventLabel: 'Apply for head office jobs'
    //     });
    // });
    // $('#menu-apply-retail').click(function() {
    //     ga('send', {
    //       hitType: 'event',
    //       eventCategory: 'Go to job page (external)',
    //       eventAction: 'Menu current positions links clicked',
    //       eventLabel: 'Apply for retailer jobs'
    //     });
    // });
    // $('#menu-apply-head-office').click(function() {
    //     ga('send', {
    //       hitType: 'event',
    //       eventCategory: 'Go to job page (external)',
    //       eventAction: 'Menu current positions links clicked',
    //       eventLabel: 'Apply for head office jobs'
    //     });
    // });
    // $('.homepage-sign-up-job-alert').click(function() {
    //     ga('send', {
    //       hitType: 'event',
    //       eventCategory: 'Go to job page (external)',
    //       eventAction: 'Homepage job alert clicked',
    //       eventLabel: 'Go to PageUp job alert page'
    //     });
    // });
});

