protected function registerClientScript()
{
$id = $this->getClientID();
$options = TJavaScript::encode($this->getClientOptions());
$className = $this->getClientClassName();
$cs = $this->Page->ClientScript;
$code = "new {$className}({$options});";
$cs->registerPradoScript('ajax');
$cs->registerEndScript("grecaptcha:{$id}", $code);
}