context: 		getRootStructure : function(rootId){								//			JSTreeObj.parentId = parentId;//			var newParent = document.getElementById(parentId);			var root = document.getElementById(rootId);			var newChilds = root.getElementsByTagName('li');			var nodeId = root.id;			var nodeName = (root.getElementsByTagName('A')[0]).innerHTML;			var pageType = root.getAttribute('pagetype');			var parentId = null;			var templateFile = root.getAttribute('templatefile');					treeStructure.push(nodeId);					treeStructure.push(parentId);						treeStructure.push(nodeName);			treeStructure.push(pageType);			treeStructure.push(templateFile);							parentId = nodeId;						for (var i = 0; i < newChilds.length; i++){							nodeId = newChilds[i].id;				nodeName = (newChilds[i].getElementsByTagName('A')[0]).innerHTML;				pageType = newChilds[i].getAttribute('pagetype');				if(i != 0)					parentId = newChilds[i].parentNode.parentNode.parentNode.id;				templateFile = newChilds[i].getAttribute('templatefile');						treeStructure.push(nodeId);						treeStructure.push(parentId);							treeStructure.push(nodeName);				treeStructure.push(pageType);				treeStructure.push(templateFile);												parentId = newChilds[i].getAttribute('id');			}			return treeStructure;							}		
meta: 7498	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7498/546a09eea9456b9aa55cd83860b43366b8e5f326/drag-drop-folder-tree.js/buggy/resources/javascript/drag-drop-folder-tree.js