if (typeof (width) == 'number') {
        this.width = width;
        this.widthUnit = 'px';
    } else if (typeof (width) == 'string') {
        this.width = parseInt('0' + width, 10);