

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('Urban Vermin at a new time.  Check out the show times for the latest schedule information, more show times and up-to-day information!');showInfo.addShowTime('<p>Saturday May 10 at 7:30 AM</p>');showInfo.addShowTime('<p>Saturday May 10 at 2:00 PM</p>');showInfo.addShowTime('<p>Saturday May 10 at 2:30 PM</p>');showInfo.addShowTime('<p>Saturday May 17 at 7:30 AM</p>');showInfo.addShowTime('<p>Saturday May 17 at 2:00 PM</p>');showInfo.addShowTime('<p>Saturday May 17 at 2:30 PM</p>');showInfo.addShowTime('<p></p>');var ep = new Episode('Urban Vermin','Double or Nothing','Saturday May 17 at 7:30 AM','While training for a mission Madman accidentally falls and lands on a passerby vermin who turns out to be his identical twin Winston While they look exactly the same they couldnrsquo;t be more different. Turns out that Madman is an anomaly when it comes to the normally uptight and anallyretentive skunk society.');
showInfo.addEpisode(ep);


var infoLoaded = true;