

function showMsg(str) {
    alert(str);
}

function ShowInfo() {
    this.ShowTimes = [];
    this.Episodes = [];
    this.News = '';
}

ShowInfo.prototype = {
    addShowTime : function(strShowTime) {
        this.ShowTimes.push(strShowTime);
    },
    addEpisode : function(objEpisode) {
        this.Episodes.push(objEpisode);
    },
    addNews : function(strNews) {
        this.News = strNews;
    }
};

function Episode(strName, strTitle, strAirtime, strPlot) {
    this.Name = strName;
    this.Title = strTitle;
    this.AirTime = strAirtime;
    this.Plot = strPlot;
}

var showInfo = new ShowInfo();

showInfo.addNews('');showInfo.addShowTime('<p>Friday November 20 at 6:30 PM</p>');showInfo.addShowTime('<p>Sunday November 22 at 12:30 PM</p>');showInfo.addShowTime('<p>Tuesday November 24 at 7:30 PM</p>');showInfo.addShowTime('<p>Thursday November 26 at 7:30 PM</p>');showInfo.addShowTime('<p>Tuesday December 1 at 7:30 PM</p>');showInfo.addShowTime('<p>Thursday December 3 at 7:30 PM</p>');showInfo.addShowTime('<p></p>');var ep = new Episode('How to Be Indie','How to Make a Comeback','Sunday November 22 at 12:30 PM','Indie wants to take the school Quiz Bowl team to victory with Dad as the coach.');
showInfo.addEpisode(ep);


var infoLoaded = true;