//
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([['Suicide Silence','House Of Blues - Chicago','Chicago, IL','Tuesday','12/1/2026','6:00 PM','8151383','Suicide-Silence-12-1-2026'],['Kim Petras','Radius - IL','Chicago, IL','Tuesday','12/1/2026','6:30 PM','8297779','Kim-Petras-12-1-2026'],['DePaul Blue Demons vs. North Alabama Lions ','Wintrust Arena','Chicago, IL','Tuesday','12/1/2026','7:00 PM','8133485','DePaul-Blue-Demons-vs--North-Alabama-Lions--12-1-2026'],['A Midsummer Night's Dream','Courtyard Theater at Chicago Shakespeare Theatre','Chicago, IL','Tuesday','12/1/2026','7:00 PM','8173127','A-Midsummer-Night-s-Dream-12-1-2026'],['Chicago Bulls vs. New York Knicks','United Center','Chicago, IL','Tuesday','12/1/2026','7:00 PM','8205538','Chicago-Bulls-vs--New-York-Knicks-12-1-2026'],['A Drunk Christmas Carol','The Lion Theatre - Chicago','Chicago, IL','Tuesday','12/1/2026','7:00 PM','8273235','A-Drunk-Christmas-Carol-12-1-2026'],['Blue Man Group - A New Holiday Surprise','CIBC Theatre','Chicago, IL','Tuesday','12/1/2026','7:00 PM','8228628','Blue-Man-Group---A-New-Holiday-Surprise-12-1-2026'],['Genevieve Artadi','Garcias Chicago','Chicago, IL','Tuesday','12/1/2026','7:30 PM','8216157','Genevieve-Artadi-12-1-2026'],['Chicago Symphony Orchestra: Dame Jane Glover - Handel's Messiah','Orchestra Hall At Chicago Symphony Center','Chicago, IL','Tuesday','12/1/2026','7:30 PM','7516210','Chicago-Symphony-Orchestra--Dame-Jane-Glover---Handel-s-Messiah-12-1-2026'],['The Second City Mainstage 114th Revue','Mainstage at Second City - Chicago','Chicago, IL','Tuesday','12/1/2026','8:00 PM','7779116','The-Second-City-Mainstage-114th-Revue-12-1-2026']],'Chicago Il','https://www.ticketnetwork.com');