function   GetPageNavi(Page,PageNum)   
  {   
  document.write("共"   +   PageNum   +   "页");   
  document.write("&nbsp;&nbsp;");   
  document.write("当前第"   +   Page   +   "页");   
  document.write("&nbsp;&nbsp;");   
  if(PageNum>1)   
  {   
  if(Page==1)   
  {   
  document.write("<a>首页</a>");   
  document.write("&nbsp;&nbsp;");   
  document.write("<a>上页</a>");   
  document.write("&nbsp;&nbsp;");   
  document.write("<a   href=\"javascript:JumpPage("   +   (Page+1)   +   ")\">下页</a>");   
  document.write("&nbsp;&nbsp;");   
  document.write("<a   href=\"javascript:JumpPage("   +   PageNum   +   ")\">末页</a>");   
  document.write("&nbsp;&nbsp;");   
  }   
  else   if(Page<PageNum)   
  {   
  document.write("<a   href=\"javascript:JumpPage(1)\">首页</a>");   
  document.write("&nbsp;&nbsp;");   
  document.write("<a   href=\"javascript:JumpPage("   +   (Page-1)   +   ")\">上页</a>");   
  document.write("&nbsp;&nbsp;");   
  document.write("<a   href=\"javascript:JumpPage("   +   (Page+1)   +   ")\">下页</a>");   
  document.write("&nbsp;&nbsp;");   
  document.write("<a   href=\"javascript:JumpPage("   +   PageNum   +   ")\">末页</a>");   
  document.write("&nbsp;&nbsp;");   
  }   
  else   
  {   
  document.write("<a   href=\"javascript:JumpPage(1)\">首页</a>");   
  document.write("&nbsp;&nbsp;");   
  document.write("<a   href=\"javascript:JumpPage("   +   (Page-1)   +   ")\">上页</a>");   
  document.write("&nbsp;&nbsp;");   
  document.write("<a>下页</a>");   
  document.write("&nbsp;&nbsp;");   
  document.write("<a>末页</a>");   
  document.write("&nbsp;&nbsp;");   
  }   
    
  }   
  document.write("&nbsp;&nbsp;");   
  if(PageNum<10)   
  {   
  for(i=1;i<=PageNum;i++)   
  {   
  if(Page==i)   
  {   
  document.write(i);   
  document.write("&nbsp;&nbsp;");   
  }   
  else   
  {   
  document.write("<a   href=\"javascript:JumpPage("   +   i   +   ")\">["   +   i   +   "]</a>");   
  document.write("&nbsp;&nbsp;");   
  }   
  }   
  }   
  }   
    
  function   JumpPage(pageindex)   
  {   
  document.all("pageform").page.value = pageindex;   
  document.all("pageform").submit();   
  }   
    
  function   SetOrder(orderindex)   
  {   
  document.all("pageform").order.value = orderindex   
  document.all("pageform").submit();   
  }   
