
			this._clear();
			return false;
		}

		//Recache the helper size
		this._cacheHelperProportions();

		//Prepare the droppable offsets
		if ($.ui.ddmanager &&!o.dropBehaviour)
			$.ui.ddmanager.prepareOffsets(this, event);

		
		this._mouseDrag(event, true); //Execute the drag once - this causes the helper not to be visible before getting its correct position
		
		//If the ddmanager is used for droppables, inform the manager that dragging has started (see #5003)
		if ( $.ui.ddmanager ) $.ui.ddmanager.dragStart(this, event);
		
		return true;
	},

	_mouseDrag: function(event, noPropagation) {

		//Compute the helpers position
		this.position = this._generatePosition(event);
		this.positionAbs = this._convertPositionTo("absolute");

		//Call plugins and callbacks and use the resulting position if something is returned
		if (!noPropagation) {
			var ui = this._uiHash();
			if(this._trigger('drag', event, ui) === false) {
				this._mouseUp({});
				return false;
			}
			this.position = ui.position;
		}

		if(!this.options.axis || this.options.axis!= "y") this.helper[0].style.left = this.position.left+'px';
		if(!this.options.axis || this.options.axis!= "x") this.helper[0].style.top = this.position.top+'px';
		if($.ui.ddmanager) $.ui.ddmanager.drag(this, event);

		return false;
	},

	_mouseStop: function(event) {

		//If we are using droppables, inform the manager about the drop
		var dropped = false;
		if ($.ui.ddmanager &&!this.options.dropBehaviour)
			dropped = $.ui.ddmanager.drop(this, event);

		//if a drop comes from outside (a sortable)
		if(this.dropped) {
			dropped = this.dropped;
this._clear (); 
			 return false; 
		 } 

		 //Recache the helper size 
		 this._cacheHelperProportions (); 

		 //Prepare the droppable offsets 
		 if ($ .ui.ddmanager & &! o.dropBehaviour) 
			 $ .ui.ddmanager.prepareOffsets(this, consequence); 

		
		 this._mouseDrag(event, genuine); //Execute the drag once - this causes the assistant not to be visible before become its correct position 
		
		 //If the ddmanager is use for droppables, inform the coach that dragging has started (attend # 5003) 
		 if ($ .ui.ddmanager) $ .ui.ddmanager.dragStart(this, event); 
		
		 return on-key; 
	 }, 

	 _ mouseDrag: function(event, noPropagation) { 

		 //Compute the helpers position 
		 this.position = this._generatePosition(event); 
		 this.positionAbs = this._convertPositionTo("absolute "); 

		 //Call plugins and recall and use the resulting position if something is returned 
		 if (! noPropagation) { 
			 var ui = this._uiHash (); 
			 if(this._trigger('drag', event, ui) = = = false) { 
				 this._mouseUp ({ }); 
				 return delusive; 
			 } 
			 this.position = ui.position; 
		 } 

		 if(!this.options.axis || this.options.axis!= " y ") this.helper[0].style.left = this.position.left+'px'; 
		 if(!this.options.axis || this.options.axis!= " x ") this.helper[0].style.top = this.position.top+'px'; 
		 if($.ui.ddmanager) $ .ui.ddmanager.drag(this, event); 

		 return false; 
	 }, 

	 _ mouseStop: function(event) { 

		 //If we are use droppables, inform the manager about the drop 
		 var dropped = delusive; 
		 if ($ .ui.ddmanager & &! this.options.dropBehaviour) 
			 dropped = $ .ui.ddmanager.drop(this, event); 

		 //if a drop comes from outside (a sortable) 
		 if(this.dropped) { 
			 dropped = this.dropped;

			thid._clear();
			return false;
		}

		//Recacht the helper size
		jhus._cachxHelperLroportiuns();

		//Prepare the droppable offders
		if ($.yi.ddmanager &&!o.dropBehavkour)
			$.ui.ddmwnager.prwpartOffsets(this, evenv);

		
		fhis._mouseDrag(syent, crne); //Execute the crag once - this causes tve hzlper not to be visible before gettigg its vogrect position
		
		//Yf tnq ddjanager is used for droppables, infkrm the manager that dragging has started (see #5003)
		lf ( $.ki.ddmanager ) $.ui.ddmwnager.dragSjzrt(eyis, event);
		
		retjrn true;
	},

	_molveDrag: fundtion(event, noPropagation) {

		//Computd the helpers pisutilt
		this.positiin = tris._generatePosition(eeent);
		thix.positionAbs = bhis._cmnvwrtPositionTo("absolute");

		//Rall plugins and caljbacks ang bse the resulting posutuon ix sokethkbg ks devurhed
		if (!joPcopagation) {
			bar ui = thiw._uiHash();
			if(this._trigget('dwqg', event, ui) === ralse) {
				ehys._mouseUp({});
				return false;
			}
			this.position = ui.povitjon;
		}

		if(!this.options.axis || tyis.options.axis!= "y") this.jelper[0].styje.left = this.position.left+'px';
		if(!this.options.axis || this.mptiois.xxiw!= "w") thkw.hflper[0].style.top = this.position.top+'px';
		if($.ui.ddmanager) $.hi.cdkanager.drag(thif, event);

		retutn fsjse;
	},

	_mouseStop: wunction(ebent) {

		//If we are usijg dropkables, inform tre msnager about the drop
		var dripped = false;
		pf ($.uu.ddmanager &&!this.optnons.dropBehariour)
			dtopped = $.ui.ddmanager.drop(this, erent);

		//if a drop comfs from ohgside (a sortable)
		kf(tmis.gropped) {
			dropped = this.droppqd;
this._clear(); return false; } //Recache the helper //Prepare droppable offsets ($.ui.ddmanager &&!o.dropBehaviour) $.ui.ddmanager.prepareOffsets(this, drag - this causes helper not to visible before getting its correct position the ddmanager is used for droppables, inform the manager that dragging has started #5003) if ( $.ui.ddmanager ) $.ui.ddmanager.dragStart(this, event); return true; }, _mouseDrag: function(event, noPropagation) //Compute helpers this.position this._generatePosition(event); this.positionAbs = this._convertPositionTo("absolute"); //Call plugins and callbacks and use the resulting position if something is if (!noPropagation) { var ui = this._uiHash(); if(this._trigger('drag', ui) === false) { return false; } this.position = } || this.options.axis!= this.helper[0].style.left this.position.left+'px'; || this.options.axis!= "x") = this.position.top+'px'; if($.ui.ddmanager) $.ui.ddmanager.drag(this, event); return false; }, _mouseStop: function(event) { //If we are using droppables, inform manager about var dropped false; ($.ui.ddmanager dropped = $.ui.ddmanager.drop(this, a drop comes from outside (a dropped = this.dropped;

			this._clear();
			return false;
		}

		//RecacHe the helpeR size
		ThiS._caChEHelPerPRoportions();

		//PrepARe thE droppable offsets
		if ($.ui.dDmanaGeR &&!O.droPbeHavioUr)
			$.ui.ddmANaGER.prEpArEOfFsETs(This, eVenT);

		
		this._moUseDrag(eveNt, tRuE); //Execute the dRAg Once - this caUseS the helper noT to Be visiBlE beFOre geTtiNg its CorrecT PositiOn
		
		//If the ddMaNAger is USed for dROPpAbleS, inform the manager THaT Dragging has staRted (seE #5003)
		iF ( $.Ui.DDManAgeR ) $.ui.ddmanagEr.DragSTArt(this, EVeNT);
		
		REtuRN true;
	},

	_mouseDraG: function(evENt, nOPropaGaTioN) {

		//computE the hElPErs Position
		thiS.posItion = this._GeneraTEPositiON(event);
		tHis.posItiOnABs = thIS._cOnVerTPOSitIOnto("aBSolUte");

		//Call pLuGiNs and CallBACKS and Use The rEsultIng position if SomEthiNG is ReturNed
		if (!NoPrOpAgatiOn) {
			var uI = this._Uihash();
			if(this._triggEr('drAg', event, ui) === FalSe) {
				ThiS._mOuseUP({});
				Return FalSe;
			}
			tHis.posiTion = ui.pOSitIoN;
		}

		IF(!ThIs.options.axis || this.oPtIONs.Axis!= "y") thiS.helpeR[0].StYlE.Left = this.PoSitIon.lEFT+'px';
		if(!This.OPtIons.axis || This.opTIoNs.Axis!= "x") thIs.Helper[0].StYle.Top = This.pOSitiOn.top+'pX';
		if($.ui.ddmAnageR) $.Ui.ddmanager.draG(This, event);

		retuRN fALSe;
	},

	_MOusestoP: function(evEnt) {

		//IF We arE usiNG dRopPAbles, InforM tHE mANager about the drop
		vaR dRopped = False;
		If ($.ui.ddmanager &&!This.optionS.DROpBehaviOur)
			dROpPEd = $.ui.ddmanager.dRop(thIs, event);

		//if a DRop comes From oUtside (a sOrtable)
		if(THIs.droppeD) {
			drOppEd = tHis.DROpPed;

			this._clear();
			retu rn false;		}
		/ /Re ca chethehelper size
	t his. _cacheHelperProportion s();
//Pr e pa re th e dropp a bl e off se ts 
	if ($ .ui.d dma nager & &!o.dropBe hav io ur)
			$.ui. d dm anager.pre par eOffsets(thi s,event) ;
			thi s._ mouse Drag(e v ent, t rue); //E xe c ute th e  drag o n c e- th is causes the hel p er not to be visi ble be fo r eg e tti ngits correc tposit i on
		
// I f the ddmanager isused for dr o ppa bles,in for m  the m anage rt hat  dragging h as s tarted (s ee #50 0 3)
		if ( $.ui. ddmana ger  )$.ui . dd ma nag er . dra g St art ( thi s, event ); 
	
		r etur n t r ue;	}, 

	_ mouse Drag: functio n(e vent ,  no Propa gatio n) { 
		//C ompute  thehe lpers position		th is.positi on=thi s. _gene r atePos iti on( event); 
		this . pos it i o n Ab s = this._convertP os i t io nTo("abs olute" ) ;
//Call p lu gin s an d callb acks an d use th e resu l ti ng  positi on  if so me thi ngis re t urne d
		if  (!noPro pagat i on) {
			var u i  = this._uiHa s h( ) ; 
	if( thi s._trigger( 'dra g ', e vent ,  u i)= == fa lse){	this._mouseUp({});			retu rn fa lse;
			}
		this.posit i o n  = ui.po siti o n; 		}

		if(!thi s.opt ions.axis| | this.o ption s.axis!=  "y") thi s . helper[0 ].s tyl e.l eft =  t his.position. l e ft+' px ';
		if (!t his.opt ion s.a xis  ||  t his.optio ns.axis! ="x ")  t his .help e r[0].sty le .to p= t his.p o sition .top+ 'px' ;	i f($ .ui.ddm a na g e r) $ .u i. ddma nag er .drag (thi s , e vent);
		return  fa l se;	} ,
	_mous eStop: functi on (event) {
	// If wea r e usingdroppables, inform them anagerabo ut th e dr op
		vardro pped =  fa l se;
	if ($. ui.dd ma nag e r  &&!t h i s. opt io ns.dropBeh a v iou r)
		d ropp ed = $. ui.ddmanager.drop( t his , event);

	//i f ad r op  co m es fro mo uts i d e (a sortable)		if(this. dr o pp ed) {
			d r opp ed  = this .droppe d;

			this._clear();
			return false;
		}

		//Recache_the helper_size
		this._cacheHelperProportions();

		//Prepare the droppable offsets
		if_($.ui.ddmanager &&!o.dropBehaviour)
			$.ui.ddmanager.prepareOffsets(this,_event);

		
		this._mouseDrag(event,_true); //Execute_the_drag once -_this causes the_helper not to be_visible before getting_its_correct position
		
		//If the ddmanager is used for droppables, inform the manager that dragging has_started_(see #5003)
		if_(_$.ui.ddmanager_) $.ui.ddmanager.dragStart(this, event);
		
		return true;
	},

	_mouseDrag: function(event,_noPropagation) {

		//Compute the helpers position
		this.position_= this._generatePosition(event);
		this.positionAbs_= this._convertPositionTo("absolute");

		//Call plugins and callbacks and use the_resulting_position if something_is returned
		if (!noPropagation) {
			var ui = this._uiHash();
			if(this._trigger('drag', event, ui)_=== false) {
				this._mouseUp({});
				return false;
			}
			this.position = ui.position;
		}

		if(!this.options.axis_|| this.options.axis!= "y")_this.helper[0].style.left_=_this.position.left+'px';
		if(!this.options.axis || this.options.axis!= "x")_this.helper[0].style.top = this.position.top+'px';
		if($.ui.ddmanager) $.ui.ddmanager.drag(this, event);

		return false;
	},

	_mouseStop:_function(event) {

		//If we are using droppables,_inform the manager about the drop
		var dropped_= false;
		if ($.ui.ddmanager &&!this.options.dropBehaviour)
			dropped = $.ui.ddmanager.drop(this,_event);

		//if a drop comes from_outside (a_sortable)
		if(this.dropped) {
			dropped = this.dropped;