TopicPanel->Visible=!$this->TopicPanel->Visible; if($this->TopicPanel->Visible) $sender->Text="Hide TOC"; else $sender->Text="Show TOC"; } } ?>