'; $document =& JFactory::getDocument(); $document->addScriptDeclaration($script); if(isset($this->error)) : ?>