if(!fx)
    var fx = new Object();

if(!fx.ll)
    fx.ll = new Object();

fx.Width.KeepRight = Class.create();
Object.extend(fx.Width.KeepRight.prototype, fx.Width.prototype);
Object.extend(fx.Width.KeepRight.prototype, {
    increase: function() {
        var initWidth = this.el.offsetWidth;
        var initLeft = this.el.offsetLeft;
        var now = Math.floor(this.now);

        this.el.style.width = now + "px";

        var newWidth = this.el.offsetWidth;
        var newLeft = (initWidth - newWidth) + initLeft;

        this.el.style.left = newLeft + 'px';

        debug(" initWidth: " + initWidth + " initLeft: " + initLeft + " now: " + now + " newWidth: " + newWidth + " newLeft: " + newLeft+ " total: " + (newLeft + newWidth));
    }
});

fx.ll.MoveLeft = Class.create();
Object.extend(fx.ll.MoveLeft.prototype, fx.Layout.prototype);
Object.extend(fx.ll.MoveLeft.prototype, {
        increase: function() {
            this.el.style.left = this.now + 'px';
        }
});
