jQuery(function() {
    var w = window,
        d = document,
        c = 'yandex_metrika_callbacks';
        
    (w[c] = w[c] || []).push(function() {
        try {
            w.yaCounter8050402 = new Ya.Metrika({id:8050402, enableAll: true, ut: 'noindex'});
        }
        catch(e) {}
    });

    var e = d.createElement('script');
    e.type = 'text/javascript';
    e.async = true;
    e.src = (d.location.protocol == 'https:' ? 'https:' : 'http:') + '//mc.yandex.ru/metrika/watch_visor.js';
    var s = d.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(e, s);
});
