protected function AutoHide(&$element) { $this->LoadJavascript(); Graph::$javascript->AutoHide($element); }