/*
	Copyright (c) 2004-2008, The Dojo Foundation
	All Rights Reserved.

	Licensed under the Academic Free License version 2.1 or above OR the
	modified BSD license. For more information on Dojo licensing, see:

		http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/


window[(typeof (djConfig)!="undefined"&&djConfig.scopeMap&&djConfig.scopeMap[0][1])||"dojo"]._xdResourceLoaded({depends:[["provide","dojo.dnd.TimedMoveable"],["require","dojo.dnd.Moveable"]],defineResource:function(_1,_2,_3){if(!_1._hasResource["dojo.dnd.TimedMoveable"]){_1._hasResource["dojo.dnd.TimedMoveable"]=true;_1.provide("dojo.dnd.TimedMoveable");_1.require("dojo.dnd.Moveable");(function(){var _4=_1.dnd.Moveable.prototype.onMove;_1.declare("dojo.dnd.TimedMoveable",_1.dnd.Moveable,{timeout:40,constructor:function(_5,_6){if(!_6){_6={};}if(_6.timeout&&typeof _6.timeout=="number"&&_6.timeout>=0){this.timeout=_6.timeout;}},markupFactory:function(_7,_8){return new _1.dnd.TimedMoveable(_8,_7);},onMoveStop:function(_9){if(_9._timer){clearTimeout(_9._timer);_4.call(this,_9,_9._leftTop);}_1.dnd.Moveable.prototype.onMoveStop.apply(this,arguments);},onMove:function(_a,_b){_a._leftTop=_b;if(!_a._timer){var _t=this;_a._timer=setTimeout(function(){_a._timer=null;_4.call(_t,_a,_a._leftTop);},this.timeout);}}});})();}}});
