var pos = (this.lastPoint - this.startPoint) + this.sizingSplitter.position; dojo.style(this.virtualSizer,(this.isHorizontal ? "left" : "top"),pos+"px"); // this.virtualSizer.style[ this.isHorizontal ? "left" : "top" ] = pos + 'px'; // FIXME: remove this line if the previous is better