it uses the cols parameter for a frameset<FRAMESET name="fstMain" cols="216,*" border="1" frameborder="1" FRAMESPACING="6" TOPMARGIN="0" LEFTMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0">
function hidetoc()
  {
  strColumns_Current = top.mainframeset.cols
  
  top.mainframeset.cols = "1,*"; //把左边一桢的宽度减为1
  top.contentbar.document.all("showtoc").style.display = "block";
  }function showtoc()
  {
  top.mainframeset.cols = strColumns_Current; //恢复原样
  top.contentbar.document.all("showtoc").style.display = "none";
  }