| Sample: dhtmlxWindows | Attaching dhtmlxFolders | dhtmlxWindows main page |

    <head>
        <!-- attaching a dhtmlxFolders -->
        <script src="../../../dhtmlxFolders/codebase/dhtmlxfolders.js"></script>
        <link rel="stylesheet" type="text/css" href="../../../dhtmlxFolders/codebase/dhtmlxfolders.css">
    </head>

    <script>
        var dhxWins = new dhtmlXWindows();
        ...
        var w1 = dhxWins.createWindow("w1", ...);
        // attaching a dhtmlxFolders
        var folders = w1.attachFolders();</script>