/* Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojox.layout.DragPane"]){dojo._hasResource["dojox.layout.DragPane"]=true;dojo.provide("dojox.layout.DragPane");dojo.require("dijit._Widget");dojo.declare("dojox.layout.DragPane",dijit._Widget,{invert:true,postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onmousedown","_down");this.connect(this.domNode,"onmouseup","_up");},_down:function(e){var t=this.domNode;dojo.style(t,"cursor","move");this._x=e.pageX;this._y=e.pageY;if((this._x