﻿var url=window.location.href.toLowerCase(),rb=/_\d+\.html/,list="list",max=total/10;if(max.toString().indexOf(".")!=-1){var a=[];a=max.toString().split(".");max=a[0]}var current="";if(url.indexOf("_")==-1)current=1;else{var page=url.match(rb).toString().replace("_","").replace(".html","");current=page-(1e4-max)}var listpage='<div class="padding5" style="text-align:right">';listpage+='\u9875\u6B21\uFF1A<span class="colorred bold">'+current+'</span>/<span class="bold">'+max+'</span>\u9875\u3000\u3000<span class="bold">'+total+'</span>\u6761\u8BB0\u5F55\u3000\u3000\u3000<a href="index.html">\u9996\u9875</a>\u3000';if(current>1)if(current==2)listpage+='<a href="index.html">\u4E0A\u4E00\u9875</a>\u3000';else listpage+='<a href="'+list+"_"+(1e4-max+current-1)+'.html">\u4E0A\u4E00\u9875</a>\u3000';if(current<=10){var num_a=10;if(max<10)num_a=max;for(var i=current==1?2:1;i<=num_a;i++)if(i==current)listpage+='<span class="colorred bold">'+i+"</span> ";else if(i==1)listpage+='<a href="index.html">'+i+"</a> ";else listpage+='<a href="'+list+"_"+(1e4-max+i)+'.html">'+i+"</a> "}else{var num_b="";if(current>max-5)num_b=max;else num_b=current+5;for(var i=current-5;i<=num_b;i++)if(i==current)listpage+='<span class="colorred bold">'+i+"</span> ";else listpage+='<a href="'+list+"_"+(1e4-max+i)+'.html">'+i+"</a> "}if(current<max)listpage+='\u3000<a href="'+list+"_"+(1e4-max+current+1)+'.html">\u4E0B\u4E00\u9875</a>\u3000';listpage+='<a href="'+list+'_10000.html">\u5C3E\u9875</a>';listpage+="</div>\r\n";document.write(listpage)
