var titles = new Array(); var links = new Array(); var DocIDs=new Array(); //标题字数 var length=35; titles[0]="1"; links[0]="/tpzs/38394.shtml"; DocIDs[0]="38394"; titles[1]="1"; links[1]="/tpzs/38391.shtml"; DocIDs[1]="38391"; titles[2]="5"; links[2]="/tpzs/11472.shtml"; DocIDs[2]="11472"; titles[3]="4"; links[3]="/tpzs/11471.shtml"; DocIDs[3]="11471"; titles[4]="3"; links[4]="/tpzs/11470.shtml"; DocIDs[4]="11470"; titles[5]="2"; links[5]="/tpzs/11469.shtml"; DocIDs[5]="11469"; titles[6]="校园4"; links[6]="/tpzs/11400.shtml"; DocIDs[6]="11400"; titles[7]="校园3"; links[7]="/tpzs/11399.shtml"; DocIDs[7]="11399"; titles[8]="校园"; links[8]="/tpzs/11396.shtml"; DocIDs[8]="11396"; titles[9]="校园"; links[9]="/tpzs/8711.shtml"; DocIDs[9]="8711"; for(var i=0;i"+titles[i+1].substring(0,length)+""; } //上一页 if(document.getElementById("prevpage") && i!=0){ document.getElementById("prevpage").innerHTML="上一篇:"+titles[i-1].substring(0,length)+""; } } }