/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

var slideshowComponents = new Array();

function SlideshowSettings(){
    this.stages = new Array();
    this.currentStageIndex = 0;

    this.addStage = function(stageClass){
        this.stages.push(stageClass);
    }

    this.getCurrentStage = function(){
        return this.stages[this.currentStageIndex % this.stages.length];
    }
    this.getNextStage = function(){
        return this.stages[(this.currentStageIndex + 1) % this.stages.length];
    }

    this.stepStages = function(){
        this.currentStageIndex = (this.currentStageIndex + 1);
    }

}

function SlideshowTimer(slideTime,transTime,slideshowId){


}




