rem: where: function(element){ if (this.newInsert){ this.newInsert = false; return 'before'; } var dif = {'x': this.curr.x - this.prev.x, 'y': this.curr.y - this.prev.y}; return dif[['y', 'x'][(Math.abs(dif.x) >= Math.abs(dif.y)) + 0]] <= 0 ? 'before' : 'after'; 
add: where: function(item){  var parent = item.getParent(); if (parent.getLast() == item) return 'after'; else if (parent.getFirst() == item) return 'before';   var diffs = {'x': this.mouse.start.x - this.mouse.now.x, 'y': this.mouse.start.y - this.mouse.now.y};   if (diffs.y > 0) return 'before'; else if (diffs.y < 0 && this.clone.getParent() != item.getParent()) return 'before'; else if (diffs.y < 0) return 'after';   if (diffs.x < 0 && item.getStyle('float') == 'none') return 'before'; else if (diffs.x < 0) return 'after'; else return 'before'; 
context: 	where: function(element){		if (this.newInsert){			this.newInsert = false;			return 'before';		}		var dif = {'x': this.curr.x - this.prev.x, 'y': this.curr.y - this.prev.y};		return dif[['y', 'x'][(Math.abs(dif.x) >= Math.abs(dif.y)) + 0]] <= 0 ? 'before' : 'after';	},
meta: 8516	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8516/efb4f770b56fdc035f18061222f0527b9b36ca5f/Sortables.js/clean/Plugins/Sortables.js