public function evaluateScript($writer)
{
if ($writer instanceof THtmlWriter) {
$boundary = $this->getResponseContentBoundary($writer);
$content = null;
} else {
$boundary = null;
$content = $writer;
}
$this->callClientFunction('Prado.Element.evaluateScript', array($content, $boundary));
}