function GetFileName(file_url){ file_url = file_url.substring(file_url.lastIndexOf("/")+1,file_url.length) file_url = file_url.substring(0,file_url.indexOf(".")); return file_url; } var uri = GetFileName(location.href); var pageAry = new Array("index","1","2","3","4"); var pageAry2 = new Array("a","1","2","",""); document.write('
'); for(var i = 0; i' + pageAry[i] + ' '); }else{ if(pageAry2[i] !== ""){ document.write('' + pageAry[i] + ' '); } else{ document.write('' + pageAry[i] + ' '); } } } document.write('
'); document.write(' '); document.write(' '); document.write('');