<script src="../../codebase/dhtmlxcommon.js"></script>
<script src="../../codebase/dhtmlxaccordion.js"></script>
<link rel="stylesheet" type="text/css" href="../../codebase/skins/dhtmlxaccordion_dhx_skyblue.css">
<script src="../../codebase/dhtmlxcontainer.js"></script>
<script src="../../../dhtmlxMenu/codebase/dhtmlxmenu.js"></script>
<link rel="stylesheet" type="text/css" href="../../../dhtmlxMenu/codebase/skins/dhtmlxmenu_dhx_skyblue.css">
<div id="accordObj" style="position: relative; width: 320px; height: 400px;"></div>
<script>var dhxAccord;
function init() {
dhxAccord = new dhtmlXAccordion("accordObj");
dhxAccord.addItem("a1", "dhtmlxMenu");
dhxAccord.addItem("a2", "b");
dhxAccord.addItem("a3", "c");
dhxAccord.openItem("a1");
var menu = dhxAccord.cells("a1").attachMenu();
menu.setIconsPath("../../../dhtmlxMenu/samples/common/imgs/");
menu.loadXML("../../../dhtmlxMenu/samples/common/dhxmenu.xml?" + new Date().getTime());
}
</script>