

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>Saturday July 4 at 7:30 AM</p>');showInfo.addShowTime('<p>Saturday July 4 at 2:00 PM</p>');showInfo.addShowTime('<p>Tuesday July 7 at 1:15 PM</p>');showInfo.addShowTime('<p>Thursday July 9 at 1:15 PM</p>');showInfo.addShowTime('<p>Saturday July 11 at 7:30 AM</p>');showInfo.addShowTime('<p>Saturday July 11 at 2:00 PM</p>');showInfo.addShowTime('<p>Tuesday July 14 at 1:15 PM</p>');showInfo.addShowTime('<p>Thursday July 16 at 1:15 PM</p>');showInfo.addShowTime('<p></p>');var ep = new Episode('Rollbots','The Do Right Module','Saturday July 4 at 7:30 AM','Mayor Aria\'s new modchip causes problems for the FCPD when Spin and Penny discover they prevent them from doing their jobs!');
showInfo.addEpisode(ep);


var infoLoaded = true;
