window.addEventListener('load', function(){
    jQuery("body").on("click", ".open_in_new_tab_class", function() { return "_blank" == jQuery(".open_in_new_tab_class").attr("target") ? window.open(jQuery(this).attr("href"), "_blank").focus() : window.open(jQuery(this).attr("href"), "_parent").focus(), !1 }), jQuery("body").on("click", ".anc_6310_number_counter_info", function() {
        jQuery("body").prepend('<div id="myanc_6310_modal" class="anc_6310_modal"><div class="anc_6310_modal-content"><span class="anc-6310-close">&times;</span><div class="anc_6310_modal_body_picture"><img src="" id="anc_6310_modal_img" /></div><div class="anc_6310_modal_body_content"><div id="anc_6310_modal_designation"></div><div id="anc_6310_modal_name"></div><div id="anc_6310_modal_details"></div><br><br><div class="anc_6310_modal_social"></div></div><br class="anc_6310_clear" /></div><br class="anc-6310-clear" /></div>');
        var s = parseInt(jQuery(this).attr("number-counterid"));
        parseInt(jQuery(this).attr("link-id")) > 0 ? "1" == jQuery(this).attr("target") ? window.open(jQuery(this).attr("link-url"), "_blank").focus() : window.open(jQuery(this).attr("link-url"), "_parent").focus() : s > 0 && (jQuery("#anc_6310_loading").show(), jQuery("body").css({ overflow: "hidden" }), $.ajax({ type: "GET", dataType: "json", url: anc_6310_ajax_object.anc_6310_ajax_url, data: { action: "anc_6310_number_counter_details", ids: s }, success: function(s) { jQuery("#anc_6310_loading").hide(), jQuery(".anc_6310_modal-content").css({ "animation-name": "anc-6310-animate" + s.styledata.effect }), jQuery("#myanc_6310_modal").show(), jQuery("#anc_6310_modal_img").attr("src", s.styledata.image), jQuery("#anc_6310_modal_img").attr("image_hover", s.styledata.image_hover), jQuery("#anc_6310_modal_designation").text(s.styledata.designation), jQuery("#anc_6310_modal_name").text(s.styledata.name), jQuery(".anc_6310_modal_social").html(""), jQuery(".anc_6310_modal_social").append(s.link), jQuery("#anc_6310_modal_details").html(s.styledata.profile_details.replace(/\n/g, "<br>")) } }))
    })
});