rem: checkAndDrag: function(evt){ evt = evt || window.event; var distance = Math.round(Math.sqrt(Math.pow(evt.clientX - this.startX, 2)+Math.pow(evt.clientY - this.startY, 2))); if (distance > this.options.snapDistance){ this.set(evt); this.options.onSnap.pass(this.element, this).delay(10); document.onmousemove = this.drag.bind(this); this.addStyles(-(this.startX-evt.clientX), -(this.startY-evt.clientY)); 
add: 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.move); this.bound.move = this.bound.drag; document.addEvent('mousemove', this.bound.move); this.drag(event); this.fireEvent('onSnap', this.element); 
context: 	checkAndDrag: function(evt){		evt = evt || window.event;		var distance = Math.round(Math.sqrt(Math.pow(evt.clientX - this.startX, 2)+Math.pow(evt.clientY - this.startY, 2)));		if (distance > this.options.snapDistance){			this.set(evt);			this.options.onSnap.pass(this.element, this).delay(10);			document.onmousemove = this.drag.bind(this);			this.addStyles(-(this.startX-evt.clientX), -(this.startY-evt.clientY));		}		return false;	},
meta: 3891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3891/03c9c00aa7fdb2f2d8571e7665048da8759cf30a/mootools-uncompressed.js/buggy/includes/js/mootools-uncompressed.js