rem: element.onmousedown = function(e) {  e = Wicket.fixEvent(e);     if (typeof(e.ignore) == "undefined") {  Wicket.stopEvent(e);  onDragBegin(element);  element.onDrag = onDrag; element.onDragEnd = onDragEnd;  element.lastMouseX = e.clientX; element.lastMouseY = e.clientY;  element.old_onmousemove = document.onmousemove; element.old_onmouseup = document.onmouseup; element.old_onselectstart = document.onselectstart; element.old_onmouseout = document.onmouseout;  document.onselectstart = function() { return false; } document.onmousemove = Wicket.Drag.mouseMove; document.onmouseup = Wicket.Drag.mouseUp; document.onmouseout = Wicket.Drag.mouseOut;  Wicket.Drag.current = element;  return false; } }; 
add: Wicket.Event.add(element, "mousedown", Wicket.Drag.mouseDownHandler); 
context: 	init: function(element, onDragBegin, onDragEnd, onDrag) {						if (typeof(onDragBegin) == "undefined")			onDragBegin = Wicket.emptyFunction;		if (typeof(onDragEnd) == "undefined")			onDragEnd = Wicket.emptyFunction;		if (typeof(onDrag) == "undefined")			onDrag = Wicket.emptyFunction;				// set the mousedown handler 		element.onmousedown = function(e) {									e = Wicket.fixEvent(e);				// HACK - for safari stopPropagation doesn't work well because			// it also prevents scrollbars and form components getting the			// event. Therefore for safari the 'ignore' flag is set on event. 			if (typeof(e.ignore) == "undefined") {								Wicket.stopEvent(e);					onDragBegin(element);							element.onDrag = onDrag;				element.onDragEnd = onDragEnd;								element.lastMouseX = e.clientX;				element.lastMouseY = e.clientY;								element.old_onmousemove = document.onmousemove;				element.old_onmouseup = document.onmouseup;				element.old_onselectstart = document.onselectstart;					element.old_onmouseout = document.onmouseout;										document.onselectstart = function() { return false; }				document.onmousemove = Wicket.Drag.mouseMove;				document.onmouseup = Wicket.Drag.mouseUp;				document.onmouseout = Wicket.Drag.mouseOut;															Wicket.Drag.current = element;											return false;			} 					};			},
meta: 1204	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1204/635ed17c27559fc003a4690fcb0d7e942ef1959b/wicket-ajax.js/clean/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js