﻿// JScript 文件 图片延迟加载

var hasShow = false;
$(window).bind("scroll",function(){
    if(hasShow==true){
	    $(window).unbind("scroll");
	    return;
    }
    var t = $(document).scrollTop();
    if(t>20){
	    $("img").each(function(){
	        if($(this).attr("src").indexOf("sprite.gif") > 0){
		        $(this).attr("src",$(this).attr("lang"));
		    }
	    });
    }
});


