

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('The schedule for this series has changed. Please refer to new SHOW TIMES (tab to the right) for up-to-date programming information.');showInfo.addShowTime('<p>Monday November 9 at 6:00 AM</p>');showInfo.addShowTime('<p>Tuesday November 10 at 6:00 AM</p>');showInfo.addShowTime('<p>Wednesday November 11 at 6:00 AM</p>');showInfo.addShowTime('<p>Thursday November 12 at 6:00 AM</p>');showInfo.addShowTime('<p>Friday November 13 at 6:00 AM</p>');showInfo.addShowTime('<p>Monday November 16 at 6:00 AM</p>');showInfo.addShowTime('<p>Tuesday November 17 at 6:00 AM</p>');showInfo.addShowTime('<p>Wednesday November 18 at 6:00 AM</p>');showInfo.addShowTime('<p>Thursday November 19 at 6:00 AM</p>');showInfo.addShowTime('<p>Friday November 20 at 6:00 AM</p>');showInfo.addShowTime('<p></p>');var ep = new Episode('Being Ian','One Week Later','Monday November 9 at 6:00 AM','Ian and the Kelleys return from their Hollywood vacation to find that things back home have changed.');
showInfo.addEpisode(ep);


var infoLoaded = true;