//跳转页面显示 function showpage_all(totalpage,pageindex,url){ if (totalpage>1) { document.write("
"); if (pageindex<6){pagelong=11-pageindex;} else if (totalpage-pageindex<6){pagelong=10-(totalpage-pageindex)} else{pagelong=5;} if(pageindex>1){ document.write("上一页"); } for (var i=1; i <= totalpage; i++) { if (i < pageindex+pagelong && i > pageindex-pagelong || i==1 || i==totalpage){ if (pageindex==i){document.write(""+i +"");}else{document.write(""+ i +"");} } } if(pageindex下一页"); } document.write("
"); }} //检查数字2006-7-31 function isnum(value_1){ var numre = /^\d+$/; if (value_1 != "") { if (!numre.test(value_1)){ return false; } else { return true; } } else { return false; } } function mm_openbrwindow(theurl,winname,features) { //v2.0 window.open(theurl,winname,features); }