//
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-04A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Witness For The Prosecution','London County Hall','London, United Kingdom','Thursday','6/18/2026','2:30 PM','7388497','Witness-For-The-Prosecution-6-18-2026'],['Witness For The Prosecution','London County Hall','London, United Kingdom','Thursday','6/18/2026','7:30 PM','7388498','Witness-For-The-Prosecution-6-18-2026'],['Cowboy Junkies','Charleston Music Hall','Charleston, SC','Thursday','6/18/2026','7:30 PM','7742272','Cowboy-Junkies-6-18-2026'],['The Lion King','Procter & Gamble Hall at Aronoff Center','Cincinnati, OH','Thursday','6/18/2026','7:30 PM','6963444','The-Lion-King-6-18-2026'],['Water for Elephants - The Musical','Overture Hall At Overture Center for the Arts','Madison, WI','Thursday','6/18/2026','7:30 PM','7183116','Water-for-Elephants---The-Musical-6-18-2026'],['Garrison Keillor','Meymandi Concert Hall At Martin Marietta Center for the Performing Arts','Raleigh, NC','Friday','6/19/2026','7:00 PM','7579043','Garrison-Keillor-6-19-2026'],['Jon Stewart','Mortensen Hall at Bushnell Theatre','Hartford, CT','Friday','6/19/2026','7:00 PM','7843300','Jon-Stewart-6-19-2026'],['South Side Symphony: Anime Juke Jam','Segerstrom Center For The Arts - Renee and Henry Segerstrom Concert Hall','Costa Mesa, CA','Friday','6/19/2026','7:00 PM','7860802','South-Side-Symphony--Anime-Juke-Jam-6-19-2026'],['Witness For The Prosecution','London County Hall','London, United Kingdom','Friday','6/19/2026','7:30 PM','7388499','Witness-For-The-Prosecution-6-19-2026'],['The Lion King','Procter & Gamble Hall at Aronoff Center','Cincinnati, OH','Friday','6/19/2026','7:30 PM','6963445','The-Lion-King-6-19-2026']],'"All For The Hall"','https://www.ticketnetwork.com');