rem: else{  /*  var parentDiv = thisObj; console.log('parentDiv = '+parentDiv); if(globalDivId == parentDiv.getElementsByTagName('DIV')[0].id){ console.log('globalDivId = '+ globalDivId + ' parentDiv.getElementsByTagName(DIV)[0].id = '+ parentDiv.getElementsByTagName('DIV')[0].id); } else console.log('globalDivId = '+ globalDivId + ' parentDiv.getElementsByTagName(DIV)[0].id = '+ parentDiv.getElementsByTagName('DIV')[0].id);  * */ } 
context: 		moveDragableNodes : function(e){									var divTags = document.getElementsByTagName('div');			var divTag = null;			for(var i = 0; i < divTags.length; i++){				if(divTags[i].getAttribute('class') == 'current_structure')					divTag = divTags[i];			}						if (JSTreeObj) {				if (JSTreeObj.dragDropTimer < 10) {					return;				}			}			if(document.all)e = event;			dragDrop_x = e.clientX/1 - 55 + document.body.scrollLeft;			dragDrop_y = e.clientY/1 + 0 + document.documentElement.scrollTop;				JSTreeObj.floatingContainer.style.left = dragDrop_x + 'px';			JSTreeObj.floatingContainer.style.top = dragDrop_y + 'px';			JSTreeObj.floatingContainer.style.opacity = 0.5;			var thisObj = this;			if(thisObj.tagName=='A' || thisObj.tagName=='IMG')				thisObj = thisObj.parentNode;			JSTreeObj.dragNode_noSiblings = false;			var tmpVar = thisObj.getAttribute('noSiblings');			if(!tmpVar)tmpVar = thisObj.noSiblings;			if(tmpVar=='true')JSTreeObj.dragNode_noSiblings=true;			var tmpVar = thisObj.getAttribute('sourceTree');						if(!tmpVar)				tmpVar = thisObj.sourceTree;			if(tmpVar=='true')				JSTreeObj.dragNode_sourceTree=true;							if(thisObj && thisObj.id) {				JSTreeObj.dragNode_destination = thisObj;				var img = thisObj.getElementsByTagName('IMG')[1];				var tmpObj= JSTreeObj.dropTargetIndicator;				tmpObj.style.display='block';								var eventSourceObj = this;				if(JSTreeObj.dragNode_noSiblings && eventSourceObj.tagName=='IMG')					eventSourceObj = eventSourceObj.nextSibling;								var tmpImg = tmpObj.getElementsByTagName('IMG')[0];				if(this.tagName=='A' || JSTreeObj.dragNode_noSiblings) {					tmpImg.src = tmpImg.src.replace('ind1','ind2');						JSTreeObj.insertAsSub = true;					tmpObj.style.left = (JSTreeObj.getLeftPos(eventSourceObj) + JSTreeObj.indicator_offsetX_sub) + 'px';				}else{					tmpImg.src = tmpImg.src.replace('ind2','ind1');					JSTreeObj.insertAsSub = false;					tmpObj.style.left = (JSTreeObj.getLeftPos(eventSourceObj) + JSTreeObj.indicator_offsetX) + 'px';				}				if(!thisObj || !thisObj.id){					tmpImg.style.visibility = 'hidden';				}				tmpObj.style.top = (JSTreeObj.getTopPos(thisObj) + JSTreeObj.indicator_offsetY + 15) + 'px';			}						else{//				console.log('JSTreeObj.dragNode_destination = '+JSTreeObj.dragNode_destination);											/*//b			var parentDiv = thisObj;console.log('parentDiv = '+parentDiv);			if(globalDivId == parentDiv.getElementsByTagName('DIV')[0].id){				console.log('globalDivId = '+ globalDivId + ' parentDiv.getElementsByTagName(DIV)[0].id = '+ parentDiv.getElementsByTagName('DIV')[0].id);			}			else 				console.log('globalDivId = '+ globalDivId + ' parentDiv.getElementsByTagName(DIV)[0].id = '+ parentDiv.getElementsByTagName('DIV')[0].id);//e *  */			}			return false;					}
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