    function createCarousel(containerId, options) {
        if (hasSize(containerId)) {
            new iCarousel(containerId, options);
        }
    }
    
    function hasSize(containerId) {
        var x = $(containerId);
        if (x.getFirst && x.getFirst().getSize) {
            return true;
        }
        return false;
    }
    
    function carouselHeight(containerId) {
        var x = $(containerId);
        if (x.getFirst().getSize) {
            return x.getFirst().getSize().size.y;
        }
        return 0;
    }
    
    function carouselWidth(containerId) {
        var x = $(containerId);
        if (x.getFirst().getSize) {
            return x.getFirst().getSize().size.x;
        }
        return 0;
    }