function roundImages() {

    this.listaDeImagens = [];
    this.imageIndex = 0;
    this.imageDiv;
    this.maxIndex = 0;


    this.construct = function ( imageList, imageDiv) {
        this.listaDeImagens = imageList;
        this.imageDiv = imageDiv;
        this.maxIndex = imageList.length;
        this.run();
    }

    this.run = function() {
        if( this.imageIndex >= this.maxIndex ) {
            this.imageIndex = 0;
        }
        this.imageDiv.fadeOut("slow");
        this.imageDiv.css('display','none');
        this.imageDiv.attr('src',this.listaDeImagens[this.imageIndex]);
        this.imageDiv.fadeIn("slow");
        this.imageIndex++;
    }

}



