

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>Monday November 9 at 10:45 AM</p>');showInfo.addShowTime('<p>Tuesday November 10 at 10:45 AM</p>');showInfo.addShowTime('<p>Wednesday November 11 at 10:45 AM</p>');showInfo.addShowTime('<p>Thursday November 12 at 10:45 AM</p>');showInfo.addShowTime('<p>Friday November 13 at 10:45 AM</p>');showInfo.addShowTime('<p>Monday November 16 at 10:45 AM</p>');showInfo.addShowTime('<p>Tuesday November 17 at 10:45 AM</p>');showInfo.addShowTime('<p>Wednesday November 18 at 10:45 AM</p>');showInfo.addShowTime('<p>Thursday November 19 at 10:45 AM</p>');showInfo.addShowTime('<p>Friday November 20 at 10:45 AM</p>');showInfo.addShowTime('<p></p>');var ep = new Episode('Ruby Gloom','PoeRanoia','Monday November 9 at 10:45 AM','When Poe injures his wing he is soon driving everyone crazy with his incessant demands.  Ruby relegates Poe to the highest turret in the house to rest and recuperate (and to preserve everyone else&rsquo;s sanity).  In an homage to Rear Window Poe soon misinterprets the actions of their new neighbor convinced he is up to something sinister.  His suspicions grow to panic as he watches Iris Skull Boy and the rest of his friends one by one go next door.');
showInfo.addEpisode(ep);


var infoLoaded = true;