var newUrl; function getPager(url, sum, currnum, length,idTag) { newUrl =url; sum=parseInt(sum); currnum=parseInt(currnum); length=parseInt(length); if (length >= sum) { document.getElementById(idTag).innerHTML= ""; return ""; } var showsum = "共"; var showitem = "页"; var showfirstpage = "首页"; var showuppage = "<"; var shownextpage = ">"; var showlastpage = "尾页"; var showjump = "跳转到"; var showselect = "Go"; // var showtotal = "共"; // var showpage = "页"; var pagerinfo = ''; var sbinfo = ''; sbinfo+="