

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 November 7 at 6:30 AM</p>');showInfo.addShowTime('<p>Sunday November 8 at 6:30 AM</p>');showInfo.addShowTime('<p>Tuesday November 10 at 7:30 AM</p>');showInfo.addShowTime('<p>Saturday November 14 at 6:30 AM</p>');showInfo.addShowTime('<p>Sunday November 15 at 6:30 AM</p>');showInfo.addShowTime('<p>Tuesday November 17 at 7:30 AM</p>');showInfo.addShowTime('<p></p>');var ep = new Episode('Rollbots','The Pirate Bay','Sunday November 8 at 6:30 AM','The infamous pirate Tamaki bursts back onto the scene and it\'s clear she wants to do more than just throw the city into chaos; but when Tinny is kidnapped Spin has to work twice as hard to save his friend and keep the pirates from laying waste to Anakata Tower!');
showInfo.addEpisode(ep);


var infoLoaded = true;
