code: function(newOffset) {
  			var parentRect = lib.bounds(this.$splitter.parentNode);
  			if (this._collapseTrailing) {
  				var adjustment = newOffset + this._splitterSize;
  				newOffset = parentRect[this._widthHeight] - (adjustment - parentRect[this._topLeft]);
  			} else {
  				if (document.dir == "rtl") { /* BDL */
  					var adjustment = newOffset + this._splitterSize;
  					newOffset = parentRect[this._widthHeight] - (adjustment - parentRect[this._topLeft]);
  				}
  				else {
  					newOffset = newOffset - parentRect[this._topLeft];
  				}
  			}
  			
  			if (this._proportional) {
  				newOffset = newOffset / (parentRect[this._widthHeight] / 100);
  			}
  			
  			return newOffset;
  		}
docs: /*
  Takes a value that represents the desired left / top position for the
  splitter and adjusts based on which side collapses. It then turns the value into
  a ratio if the splitter is proportional.