<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
	"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
<refentry id="api-cockpit">
  <refmeta>
    <refentrytitle>cockpit.js</refentrytitle>
  </refmeta>

  <refnamediv>
    <refname>cockpit.js</refname>
    <refpurpose>Basic cockpit API to interact with the system</refpurpose>
  </refnamediv>

  <refsection id="api-cockpit-loading">
    <title>Loading cockpit.js</title>
    <para><code>cockpit.js</code> should be loaded via a script tag.</para>

<programlisting><![CDATA[
<script src="../base1/cockpit.js">
]]></programlisting>
  </refsection>

</refentry>
