          browser.IsScriptEnabled = true;      }      for (int i = 0; i < NumTabs; i++)      {          if (this.browsers[i] != null)          {              this.browsers[i].Visibility = i == this.currentIndex ? Visibility.Visible : Visibility.Collapsed;          }      }  }