<script type="text/javascript" src="../../codebase/dhtmlxcommon.js"></script>
<script type="text/javascript" src="../../codebase/dhtmlxtoolbar.js"></script>
<link rel="stylesheet" type="text/css" href="../../codebase/skins/dhtmlxtoolbar_dhx_skyblue.css"></link>
<div style="height: 150px;"><div id="toolbarObj"></div></div>
<div style="border: #cecece 1px solid; width: 500px; height: 300px; overflow:auto" id="log"></div>
<script>var toolbar;
function doOnLoad() {
toolbar = new dhtmlXToolbarObject("toolbarObj");
toolbar.setIconsPath("../common/imgs/");
toolbar.loadXML("../common/dhxtoolbar.xml?etc=" + new Date().getTime());
}
function log(text) {
var obj = document.getElementById("log");
obj.innerHTML = text + "<br>" + obj.innerHTML;
obj.scrollTop = 0;
}
function doEdit(id) {
log("<b>doEdit</b> with param <b>" + id + "</b> called.");
}
function showNewDocumentSelect() {
log("<b>showNewDocumentSelect</b> called.");
}
function doOnNewDocument(id) {
log("<b>doOnNewDocument</b> with param <b>" + id + "</b> called.");
}
</script>