| Sample: dhtmlxWindows | Attaching dhtmlxAccordion | dhtmlxWindows main page |

    <head>
        <!-- attaching a dhtmlxAccordion -->
        <script src="../../../dhtmlxAccordion/codebase/dhtmlxaccordion.js"></script>
        <link rel="stylesheet" type="text/css" href="../../../dhtmlxAccordion/codebase/skins/dhtmlxaccordion_dhx_blue.css">
    </head>

    <script>
        var dhxWins = new dhtmlXWindows();
        ...
        var w1 = dhxWins.createWindow("w1", ...);
        // attaching an accordion
        var dhxLayout = w1.attachAccordion();</script>