function _putjavascript()
{
$this->_newobj();
$this->n_js = $this->n;
$this->_out('<<');
$this->_out('/Names [(EmbeddedJS) ' . ($this->n + 1) . ' 0 R]');
$this->_out('>>');
$this->_out('endobj');
$this->_newobj();
$this->_out('<<');
$this->_out('/S /JavaScript');
$this->_out('/JS ' . $this->_textstring($this->javascript));
$this->_out('>>');
$this->_out('endobj');
}