, theDistance = footerTop - winH - scrollTop; // $("#qq").html(theDistance + "=" + winH + "+" + scrollTop); if(isSearch && theDistance<200 && status){ status = false; objLoading.stop().fadeIn(200); $.ajax({ url:'gethistory.php', type:'post', data:{pageNum:pageNum,cid:cid,pageSize:pageSize,count:count}, success: function(val){ $(".us-con").append(val); var resultSize = $(val).find(".us-jiao").size(); if(resultSize===0 || resultSize