

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>Thursday November 5 at 7:30 PM</p>');showInfo.addShowTime('<p>Friday November 6 at 6:30 PM</p>');showInfo.addShowTime('<p>Sunday November 8 at 12:30 PM</p>');showInfo.addShowTime('<p>Tuesday November 10 at 7:30 PM</p>');showInfo.addShowTime('<p>Thursday November 12 at 7:30 PM</p>');showInfo.addShowTime('<p>Friday November 13 at 6:30 PM</p>');showInfo.addShowTime('<p>Sunday November 15 at 12:30 PM</p>');showInfo.addShowTime('<p>Tuesday November 17 at 7:30 PM</p>');showInfo.addShowTime('<p></p>');var ep = new Episode('How to Be Indie','How to Make Your Rep','Thursday November 5 at 7:30 PM','Indie lies about how she spent her summer at school to make herself seem cooler.');
showInfo.addEpisode(ep);


var infoLoaded = true;