function PictureBox(id) {

    this.element = createElement(id, 'div');
    this.element.minWidth = width;
    this.element.minHeight = height;
    this.element.images = [];
    this.element.index = 0;

    this.element.insideContainer = createElement(id + 'InsideContainer', 'div');

    this.element.addImage = function(image) {
        this.images[this.images.length] = image;
        image.setOpacity(100);
        image.hide();
        image.setCoords('0px', '0px');
        image.setDimensions(minWidth + 'px', minHeight + 'px');
        this.insideContainer.appendChild(image);
    };

    return this.element;
}