"); } else if (nCurrIndex == 1){ document.write(" 1 2 "); } } else{ if(nCurrIndex == 0){ document.write(num(_nPageCount, _nCurrIndex, _sPageName, _sPageExt)); document.write("
"); } else if (nCurrIndex == 1){ document.write("
"); document.write(num(_nPageCount, _nCurrIndex, _sPageName, _sPageExt)); document.write("
"); } else if(nCurrIndex == (_nPageCount-1)){ document.write("
"); document.write(num(_nPageCount, _nCurrIndex, _sPageName, _sPageExt)); } else{ document.write("
"); document.write(num(_nPageCount, _nCurrIndex, _sPageName, _sPageExt)); document.write("
"); } } }