');$img.attr('alt',$tgt.attr('data-alt'));$img.attr('class',$tgt.attr('class'));$tgt.before($img).remove();if($tgt.attr('data-lazy')=='true'){$img.attr('data-src',src);$img.addClass("lazy");}else{$img.attr('src',src);}});var lazyImages=[].slice.call(document.querySelectorAll("img.lazy"));lazyImages.forEach(function(lazyImage){lazyImageObserver.observe(lazyImage);});});