dEventListener("DOMContentLoaded", calculateNumOfServerRenderedPinImages);
  document.addEventListener('load', onImageLoad, true);

  window.addEventListener('load', function() {
    document.removeEventListener('load', onImageLoad, true);
    document.removeEventListener('DOMContentLoaded', calculateNumOfServerRenderedPinImages);
  });
}
window.template_time_logging.push({template: 'global_image_onload', name: 'finish_template', time: Date.now()});
</script>    <script nonce="yTKrxRWJWE">window.template_ti