Problem Loading DHTMLXTree

Hello, I am just starting with javascript, i was trying to use dhtmlxTree but im running into problem and i realize that the more possible motive for this error is that i screwed somewhere in the code.

here is the code as seen on firebug, i’m using dhtmlxtree and dhtmlxmenu, dhtmlxmenu is defined in another block of script and it is working fine.

I hope you can help me implement this, finals are getting close and I would really like to implement this in some projects.

Correct code of tree initialization is the following:

var tree; tree = new dhtmlXTreeObject('001t', '100%', '100%', 0); tree.setSkin('dhx_skyblue'); tree.setImagePath('codebase/imgs/csh_dhx_skyblue/'); tree.enableSmartXMLParsing(true); tree.enableDragAndDrop(true); var time=new Date().getTime(); tree.loadXMLString('<?xml version="1.0" encoding="UTF-8"?><tree id="0"><item id="001:003Tree" open="1" text="Inicio"/><item id="001:004Tree" open="1" text="Administracion"><item id="001:004:005Tree" open="1" text="Control De Acceso"/></item><item id="001:006Tree" open="1" text="Ayuda"><item id="001:006:007Tree" open="1" text="Acerca De"/><item id="001:006:008Tree" open="1" text="Instruccion"/></item></tree>');

This is a much more difficult problem, but I am very interested, I will find a solution through a variety of ways,and I will be back later to give you the answer