For toolbar you can execute next command
toolbar.setGfxPath(pathToImages);
Please beware that such command may not be available for old dhtmlxToolbar version, you can download latest code from
scbr.com/docs/products/dhtmlxToolbar/index.shtml