﻿// JScript File
TopThema = function (thema)
{
    if (thema != null && thema != 'undefined') {
        if (thema.length > 0) {
            this.themaImage = new Image();
            this.themaImage.src = thema[0];
            this.themaHeadline = thema[1];
            this.themaText = thema[2];
            this.themaLink = thema[3];
            this.themaLinkTarget = thema[4];
            this.themaCountdown = thema[5];

        }
    }
}

TopThema.prototype.getThemaImage = function(){
	   return this.themaImage.src;
}

TopThema.prototype.getThemaHeadline = function(){
    return this.themaHeadline;
    	
}

TopThema.prototype.getThemaText = function(){
    return this.themaText;
}

TopThema.prototype.getThemaLink = function(){
    return this.themaLink;
}

TopThema.prototype.getThemaLinkTarget = function(){
    return this.themaLinkTarget;
}

TopThema.prototype.getThemaCountdown = function (){
    return this.themaCountdown;
}

