//
var TN_Widget = function() {
var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
return {
newWindow : true,
CreateEventRow : function(row, isAlt) {
var t = row[4].split("/");
t[0] = months[t[0]];
t[2] = ", " + t[2];
return "
" +
t[0] + " " + "" + t[1] + "" +
t[2] + " " +
row[3].substring(0,3) + " " +
row[5] + " | " +
row[0] + " " +
row[1] + " - " +
row[2] + " | " + this.btnText + "" +
" |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kwds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
var footerLink = "";
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else if(document.querySelector(".tnpl_results_container") != null) {
document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else
document.write("" + newTable.join('') + "" + footerLink + "
");
}
};
}();
//BPW-TNSERV-02A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Tailgreeter Tailgate: Chicago Bears vs. Green Bay Packers','Tailgreeter All-Inclusive Tailgate - Soldier Field','Chicago, IL','Saturday','12/20/2025','TBD','7229119','Tailgreeter-Tailgate--Chicago-Bears-vs--Green-Bay-Packers-12-20-2025'],['PARKING: Chicago Bears vs. Green Bay Packers','Soldier Field Parking Lot','Chicago, IL','Saturday','12/20/2025','TBD','7153317','PARKING--Chicago-Bears-vs--Green-Bay-Packers-12-20-2025'],['Second City Chicago: Rudolph Runs Wild','Mainstage at Second City - Chicago','Chicago, IL','Saturday','12/20/2025','11:00 AM','7088092','Second-City-Chicago--Rudolph-Runs-Wild-12-20-2025'],['Illinois-Chicago Flames Women's Basketball vs. Austin Peay Governors','Credit Union 1 Arena','Chicago, IL','Saturday','12/20/2025','12:00 PM','7499623','Illinois-Chicago-Flames-Women-s-Basketball-vs--Austin-Peay-Governors-12-20-2025'],['Cirque Du Soleil - Twas The Night Before','The Chicago Theatre','Chicago, IL','Saturday','12/20/2025','1:00 PM','7216719','Cirque-Du-Soleil---Twas-The-Night-Before-12-20-2025'],['The Phantom of the Opera','Cadillac Palace','Chicago, IL','Saturday','12/20/2025','2:00 PM','7062340','The-Phantom-of-the-Opera-12-20-2025'],['A Christmas Carol','Albert Ivar Goodman Theatre','Chicago, IL','Saturday','12/20/2025','2:00 PM','7211496','A-Christmas-Carol-12-20-2025'],['Joffrey Ballet: The Nutcracker','Lyric Opera House - IL','Chicago, IL','Saturday','12/20/2025','2:00 PM','7263728','Joffrey-Ballet--The-Nutcracker-12-20-2025'],['Christmas with C.S. Lewis','Broadway Playhouse at Water Tower Place','Chicago, IL','Saturday','12/20/2025','2:00 PM','7270639','Christmas-with-C-S--Lewis-12-20-2025'],['Mannheim Steamroller Christmas','Nederlander Theatre at Ford Center for the Performing Arts','Chicago, IL','Saturday','12/20/2025','3:00 PM','7269106','Mannheim-Steamroller-Christmas-12-20-2025']],'Chicago Il','https://www.ticketnetwork.com');