public function addScriptDeclaration($content, $type = 'text/javascript')
	{
		if (!isset($this->_script[strtolower($type)]))
		{
			$this->_script[strtolower($type)] = array($content);
		}
		else
		{
			$this->_script[strtolower($type)][] = chr(13) . $content;
		}

		return $this;
	}
public function addScriptDeclaration($content, $type = 'text/javascript')
	{
		if (!isset($this->_script[strtolower($type)]))
		{
			$this->_script[strtolower($type)] = array($content);
		}
		else
		{
			$this->_script[strtolower($type)][] = chr(13) . $content;
		}

		return $this;
	}
public function addScriptDeclaration ( $ content , $ type = 'text/javascript' ) { if ( ! isset ( $ this -> _script [ strtolower ( $ type ) ] ) ) { $ this -> _script [ strtolower ( $ type ) ] = array ( $ content ) ; } else { $ this -> _script [ strtolower ( $ type ) ] [ ] = chr ( 13 ) . $ content ; } return $ this ; }
Adds a script to the page

@param   string  $content  Script
@param   string  $type     Scripting mime (defaults to 'text/javascript')
@return  object  Document instance of $this to allow chaining
Adds a script to the page