//图片懒加载
function checkScrollSlide(){
var $lastBox = $("#main>div").last();
var lastBoxDis = $lastBox.offset().top + Math.floor($lastBox.outerHeight()/2);
var srcollTop = $(window).srcollTop();
var documentH = $(window).height();
var xx=srcollTop + documentH-lastBoxDis;
return (lastBoxDis < srcollTop + documentH)?true:false;
}
var srcollTop = $(window).scrollTop() 注意单词的拼写
var srcollTop = window.srcollTop();