//jaeils blank image don't care path, but care only file name ="k_space.gif" var nCurrentScrollTop = 0;var nCurrentWinHeight = 0;$(document).ready(function($){fnLoadPageImages(false, 'start');});$(window).resize(function(){window.setTimeout("fnLoadPageImages(true, 'resize');", 100);});$(window).scroll(function(){window.setTimeout("fnLoadPageImages(true, 'scroll');", 100);});$.extend($.expr[':'], {getViewImages: function(oImg){return $(oImg).offset().top < $(document).scrollTop() + $(window).height() + 150;}});function fnLoadPageImages(bEvt, sEvtType){/*중복실행 방지 조건*/if((($(document).scrollTop() > 0 && bEvt == true) || bEvt == false || sEvtType == "resize") && (nCurrentScrollTop == 0 || nCurrentScrollTop < $(document).scrollTop() || nCurrentWinHeight < $(window).height())){nCurrentScrollTop = $(document).scrollTop();nCurrentWinHeight = $(window).height();var $oBodyImages = $("img[src$='k_space.gif'][longdesc]:getViewImages");$oBodyImages.each(function(){$(this).attr("src", $(this).attr("longdesc"));});}}