//
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 + "" +
"![](//s3.amazonaws.com/TNService/pl-widget/images/arrow.png) |
";
},
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([['Les Miserables','Cadillac Palace','Chicago, IL','Tuesday','12/17/2024','7:00 PM','6332180','Les-Miserables-12-17-2024'],['Les Miserables','Cadillac Palace','Chicago, IL','Wednesday','12/18/2024','7:00 PM','6332181','Les-Miserables-12-18-2024'],['Les Miserables','Cadillac Palace','Chicago, IL','Thursday','12/19/2024','7:00 PM','6332182','Les-Miserables-12-19-2024'],['Les Miserables','Cadillac Palace','Chicago, IL','Friday','12/20/2024','7:30 PM','6332183','Les-Miserables-12-20-2024'],['Les Miserables','Cadillac Palace','Chicago, IL','Saturday','12/21/2024','2:00 PM','6332209','Les-Miserables-12-21-2024'],['Les Miserables','Cadillac Palace','Chicago, IL','Saturday','12/21/2024','7:30 PM','6332184','Les-Miserables-12-21-2024'],['Les Miserables','Cadillac Palace','Chicago, IL','Sunday','12/22/2024','1:00 PM','6332210','Les-Miserables-12-22-2024'],['Les Miserables','Cadillac Palace','Chicago, IL','Sunday','12/22/2024','6:30 PM','6378655','Les-Miserables-12-22-2024'],['Les Miserables','Cadillac Palace','Chicago, IL','Sunday','12/22/2024','8:30 PM','6332611','Les-Miserables-12-22-2024'],['Les Miserables','Cadillac Palace','Chicago, IL','Monday','12/23/2024','7:00 PM','6332185','Les-Miserables-12-23-2024'],['Les Miserables','Cadillac Palace','Chicago, IL','Tuesday','12/24/2024','1:00 PM','6332186','Les-Miserables-12-24-2024'],['Les Miserables','Cadillac Palace','Chicago, IL','Thursday','12/26/2024','7:00 PM','6332187','Les-Miserables-12-26-2024'],['Les Miserables','Cadillac Palace','Chicago, IL','Friday','12/27/2024','1:00 PM','6332612','Les-Miserables-12-27-2024'],['Les Miserables','Cadillac Palace','Chicago, IL','Friday','12/27/2024','7:30 PM','6332188','Les-Miserables-12-27-2024'],['Les Miserables','Cadillac Palace','Chicago, IL','Saturday','12/28/2024','2:00 PM','6332211','Les-Miserables-12-28-2024'],['Les Miserables','Cadillac Palace','Chicago, IL','Saturday','12/28/2024','7:30 PM','6332189','Les-Miserables-12-28-2024'],['Les Miserables','Cadillac Palace','Chicago, IL','Sunday','12/29/2024','1:00 PM','6332212','Les-Miserables-12-29-2024'],['Les Miserables','Cadillac Palace','Chicago, IL','Monday','12/30/2024','7:00 PM','6332190','Les-Miserables-12-30-2024'],['Les Miserables','Cadillac Palace','Chicago, IL','Tuesday','12/31/2024','1:00 PM','6332191','Les-Miserables-12-31-2024'],['Les Miserables','Cadillac Palace','Chicago, IL','Thursday','1/2/2025','7:00 PM','6332192','Les-Miserables-1-2-2025'],['Les Miserables','Cadillac Palace','Chicago, IL','Friday','1/3/2025','1:00 PM','6332193','Les-Miserables-1-3-2025'],['Les Miserables','Cadillac Palace','Chicago, IL','Friday','1/3/2025','7:30 PM','6332194','Les-Miserables-1-3-2025'],['Les Miserables','Cadillac Palace','Chicago, IL','Saturday','1/4/2025','2:00 PM','6332213','Les-Miserables-1-4-2025'],['Les Miserables','Cadillac Palace','Chicago, IL','Saturday','1/4/2025','7:30 PM','6332195','Les-Miserables-1-4-2025'],['Les Miserables','Cadillac Palace','Chicago, IL','Sunday','1/5/2025','1:00 PM','6332214','Les-Miserables-1-5-2025']],'les miserables','https://www.ticketnetwork.com');