

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('Check out the NEXT TIME ON section above for the latest schedule information. Visit our Daily Schedule for additional show times');showInfo.addShowTime('<p>Friday November 20 at 10:45 AM</p>');showInfo.addShowTime('<p>Monday November 23 at 10:45 AM</p>');showInfo.addShowTime('<p>Tuesday November 24 at 10:45 AM</p>');showInfo.addShowTime('<p>Wednesday November 25 at 10:45 AM</p>');showInfo.addShowTime('<p>Thursday November 26 at 10:45 AM</p>');showInfo.addShowTime('<p>Friday November 27 at 10:45 AM</p>');showInfo.addShowTime('<p>Monday November 30 at 10:45 AM</p>');showInfo.addShowTime('<p>Tuesday December 1 at 10:45 AM</p>');showInfo.addShowTime('<p>Wednesday December 2 at 10:45 AM</p>');showInfo.addShowTime('<p>Thursday December 3 at 10:45 AM</p>');showInfo.addShowTime('<p></p>');var ep = new Episode('Ruby Gloom','Misery Loves Company','Monday November 23 at 10:45 AM','It&rsquo;s the 7th anniversary of the Day Misery Was Rescued from an Ice Floe and Ruby wants to make it extra special. She invites Misery&rsquo;s cousins Malady and Malaise to join the festivities.  The longer they stay however the colder the house gets until it completely freezes over. Misery reveals the only way to deice the situation is to separate Malady and Malaise.');
showInfo.addEpisode(ep);


var infoLoaded = true;