共(); document.write(_nPageCount); document.write()页); //varfyn; varnStep=5 varnCurrIndex=_nCurrIndex||0; if(nCurrIndex0) document.write(首页); else document.write(首页); if(nCurrIndex>0){ if(nCurrIndex==1){ document.write(上yi页); }else{document.write(上yi页);} } else{ document.write(上yi页); } //首页和上yi页以及第yi页di代码 if(_nPageCount1); for(vari=1;i+(i+1)+); } }else{//_nPageCount小于deng于4di状况end //下面这geIFshi判别shi小于步长diyi半di状况di; if(nCurrIndex[1]); } if(i==0&&nCurrIndex!=0){ document.write([1]);} if(i>0&&i[+(i+1)+]); else document.write([+(i+1)+]); } } varnextOver=_nPageCount-nCurrIndex; //翻页到极限时分;//alert(nCurrIndex:+nCurrIndex); if(nCurrIndex下yi页); elseif(nextOver末页); else document.write(末页); returnfalse; } for(i=Math.ceil(nCurrIndex-nStep/2);i0&&i0&&i[+(i+1)+]); else document.write([+(i+1)+]); } } } //下yi页和末页di设置 varnextOver=_nPageCount-nCurrIndex; //翻页到极限时分; if(nCurrIndex下yi页); elseif(nextOver下yi页);} if(nCurrIndex!=(_nPageCount-1)) document.write(末页); else document.write(末页); //下yi页和末页di设置 }//函数终le符//WCM置标createPageHTML(5,0,t20140907_1794525,shtml); //-->(义务编纂:田子琛)