﻿var Testimony = new function()
{
    this.TESTIMONY_COUNT = 5;
    
    this.ShowTestimony = function(id)
    {
        this.ResetTestimonies();
        document.getElementById('testimony_' + id).style.display = '';
    }; // ShowTestimony(id)
    this.ResetTestimonies = function()
    {
        for(var i = 0; i < this.TESTIMONY_COUNT; i++) { document.getElementById('testimony_' + i).style.display = 'none'; }
    }; // ResetTestimonies()
};