define(["pagination"],function(e){var n,t;return $("#pagination").html(""),t=function(e,n,t,a,i){var o=2*$("header").outerHeight();$(".pagination a").smoothScroll({offset:-o,direction:"top",scrollTarget:a,beforeScroll:function(){},afterScroll:function(){}});var r=0;$(t).hide();for(var l=0;l<i;l++)r=e*i+l,$(t).eq(r).show()},n=function(e,n,a,i,o){var r=e/o;$(a).pagination(r,{num_edge_entries:1,num_display_entries:3,callback:t,items_per_page:1,item_class:n,prant_class:i,page_one_num:o,prev_text:"上一页",next_text:"下一页"})},{initModule:n}});