Index: temp/branches/ec-cube-beta/html/test/kakinaka/js/treeview/treeview.js
===================================================================
--- temp/branches/ec-cube-beta/html/test/kakinaka/js/treeview/treeview.js	(revision 11370)
+++ temp/branches/ec-cube-beta/html/test/kakinaka/js/treeview/treeview.js	(revision 11371)
@@ -741,9 +741,14 @@
         this.data       = oData;
         this.children   = [];
-        this.index      = YAHOO.widget.TreeView.nodeCount;
-        ++YAHOO.widget.TreeView.nodeCount;
+        
+		alert(typeof index);
+        if(typeof index == "number"){
+	        this.index      = index;
+        }else{
+	        this.index      = YAHOO.widget.TreeView.nodeCount;
+	        ++YAHOO.widget.TreeView.nodeCount;
+	    }
         this.expanded   = expanded;
         
-        alert(typeof index);
 
         // oParent should never be null except when we create the root node.
