ainers){this.options.custom.refreshContainers.call(this)
}else{for(g=this.containers.length-1;
g>=0;
g--){j=this.containers[g].element.offset();
this.containers[g].containerCache.left=j.left;
this.containers[g].containerCache.top=j.top;
this.containers[g].containerCache.width=this.containers[g].element.outerWidth();
this.containers[g].containerCache.height=this.containers[g].element.outerHeight()
}}return this
},_createPlaceholder:function(f){f=f||this;
var e,g=f.options;
if(!g.placeholder||g.placeholder.constructor===String){e=g.placeholder;
g.placeholder={element:function(){var i=f.currentItem[0].nodeName.toLowerCase(),h=b("<"+i+">",f.document[0]).addClass(e||f.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper");
if(i==="tr"){f.currentItem.children().each(function(){b("<td>&#160;</td>",f.document[0]).attr("colspan",b(this).attr("colspan")||1).appendTo(h)
})
}else{if(i==="img"){h.attr("src",f.currentItem.attr("src"))
}}if(!e){h.css("visibility","hidden")
}return h
},update:function(h,i){if(e&&!g.forcePlaceholderSize){return
}if(!i.height()){i.height(f.currentItem.innerHeight()-parseInt(f.currentItem.css("paddingTop")||0,10)-parseInt(f.currentItem.css("paddingBottom")||0,10))
}if(!i.width()){i.width(f.currentItem.innerWidth()-parseInt(f.currentItem.css("paddingLeft")||0,10)-parseInt(f.currentItem.css("paddingRight")||0,10))
}}}
}f.placeholder=b(g.placeholder.element.call(f.element,f.currentItem));
f.currentItem.after(f.placeholder);
g.placeholder.update(f,f.placeholder)
},_contactContainers:function(e){var l,h,p,m,n,r,f,s,k,o,g=null,q=null;
for(l=this.containers.length-1;
l>=0;
l--){if(b.contains(this.currentItem[0],this.containers[l].element[0])){continue
}if(this._intersectsWith(this.containers[l].containerCache)){if(g&&b.contains(this.containers[l].element[0],g.element[0])){continue
}g=this.containers[l];
q=l
}else{if(this.containers[l].containerCache.over){this.containers[l]._trigger("out",e,this._uiHash(this));
this.containers[l].containerCache.over=0
}}}if(!g){return
}if(t