

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 21 at 6:00 AM</p>');showInfo.addShowTime('<p>Saturday November 21 at 6:00 AM</p>');showInfo.addShowTime('<p>Sunday November 22 at 6:00 AM</p>');showInfo.addShowTime('<p>Sunday November 22 at 6:00 AM</p>');showInfo.addShowTime('<p>Saturday November 28 at 6:00 AM</p>');showInfo.addShowTime('<p>Saturday November 28 at 6:00 AM</p>');showInfo.addShowTime('<p>Sunday November 29 at 6:00 AM</p>');showInfo.addShowTime('<p>Sunday November 29 at 6:00 AM</p>');showInfo.addShowTime('<p></p>');var ep = new Episode('Grossology','Silent But Deadly (Part 2)','Saturday November 21 at 6:00 AM','Fartor and his new apprentice FarTy join forces to drill into the planet core and turn the earth into one big gas planet. Will everyone on Earth be forced to breathe noxious gas and join Fartor&rsquo;s army of the fartbreathers or will Abby be able to save her brother and the planet from a lifetime of stinking. (Part 2 of 2)');
showInfo.addEpisode(ep);


var infoLoaded = true;