rem: var distance = Math.round(Math.sqrt(Math.pow(event.page.x - this.mouse.start.x, 2)+Math.pow(event.page.y - this.mouse.start.y, 2))); 
add: var distance = Math.round(Math.sqrt(Math.pow(event.page.x - this.mouse.start.x, 2) + Math.pow(event.page.y - this.mouse.start.y, 2))); 
context: 	checkAndDrag: function(event){		var distance = Math.round(Math.sqrt(Math.pow(event.page.x - this.mouse.start.x, 2)+Math.pow(event.page.y - this.mouse.start.y, 2)));		if (distance > this.options.snap){			document.removeEvent('mousemove', this.bound.checkAndDrag);			document.addEvent('mousemove', this.bound.drag);			this.drag(event);			this.fireEvent('onSnap', this.element);		}		event.stop();	},
meta: 6317	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6317/b57774298a216831aaf9ee0a5b41fa9aa6fc447e/Drag.Base.js/buggy/Drag/Drag.Base.js