function CardWidthUtils() {
    this._widthUtils = newObjectInStorage('CardWidthUtils');

    this.clearCardWidth = function clearCardWidth(lensId) {
        var widthObj = this._widthUtils.get();
        // get the object from session storage

        delete widthObj[lensId];

        this._widthUtils.set(widthObj);
    };

    this.setCardWidth = function setCardWidth(lensId, width) {
        // width value could be
        //  numeric, eg 600
        //  percentage string, eg 90%

        var widthObj = this._widthUtils.get();
        // get the object from session storage

        widthObj[lensId] = width;

        this._widthUtils.set(widthObj);
    };

    this.getCardWidth = function getCardWidth(lensId) {
        // returns card width for the specified lens, or 0 if not found

        var widthObj = this._widthUtils.get();
        // get the user object

        var width = widthObj[lensId];

        if (typeof width === "undefined")
            width = 0;

        return width;
    };
}