function loadDataMore(){$.ajax({url:$("#hidUrl").val(),type:"post",data:{dateType:$("#hidDateType").val(),pageIndex:currentPage+1},beforeSend:function(){$(".list-more").hide();$(".loading").show()},success:function(n){if($(".loading").hide(),n!=""){$(".list-more").show();currentPage++;var t=$(".menudiv .yb-list:last");t.after(n)}else $(".no-data").show()}})}(function(n){n.fn.endlessScroll=function(t){var f={bottomPixels:50,fireOnce:!0,fireDelay:150,maxSequence:0,resetCounter:function(){return!1},callback:function(){return!0},ceaseFire:function(){return!1}},t=n.extend(f,t),u=!0,i=!1,r=0;t.ceaseFire.apply(this)===!0&&(u=!1);u===!0&&n(window).scroll(function(){if(n(document).height()-n(window).height()<=n(window).scrollTop()+t.bottomPixels&&(t.fireOnce==!1||t.fireOnce==!0&&i!=!0)){if(t.resetCounter.apply(this)===!0&&(r=0),t.maxSequence!=0&&r>=t.maxSequence)return;i=!0;r++;var u=[];u[0]=r;u[1]=t.maxSequence;t.callback.apply(this,u);t.fireDelay!==!1||t.fireDelay!==0?(n("body").after('
<\/div>'),n("div#endless_scroll_marker").fadeTo(t.fireDelay,1,function(){n(this).remove();i=!1})):i=!1}})}})(jQuery);var currentPage=1;$(function(){$(document).endlessScroll({bottomPixels:450,fireDelay:600,maxSequence:3,callback:function(n,t){if($(".no-data").is(":hidden")){var i=n+1;$.ajax({url:$("#hidUrl").val(),type:"post",data:{dateType:$("#hidDateType").val(),pageIndex:i},beforeSend:function(){$(".loading").show()},success:function(i){if($(".loading").hide(),i!=""){currentPage++;n>=t&&$(".list-more").show();var r=$(".menudiv .yb-list:last");r.after(i)}else $(".no-data").show()}})}},ceaseFire:function(){return $(".no-doc p").text()=="没有相关报告"}});(navigator.appName!="Microsoft Internet Explorer"||navigator.appVersion.split(";")[1].replace(/[ ]/g,"")!="MSIE6.0")&&($(window).scroll(function(){var t=$(".footer").outerHeight(),i=$(document).height()-$(window).scrollTop()-$(window).height(),n;t-i>=0?$(".back-to-top").css("bottom",t-i+47+"px"):$(".back-to-top").css("bottom","20px");n=($(window).width()-1e3)/2;n=n<=0?0:n;$(".back-to-top").css("left",660+n+"px");$(window).scrollTop()>450?$(".back-to-top").fadeIn(500):$(".back-to-top").fadeOut(500)}),$(".back-to-top").click(function(){return $("html").scrollTop()?($("html").animate({scrollTop:0},100),!1):($("body").animate({scrollTop:0},100),!1)}),$(window).resize(function(){var n=($(window).width()-1e3)/2;n=n<=0?0:n;$(".back-to-top").css("left",660+n+"px")}));$(".list-more").click(loadDataMore)})