//
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-03A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Chamber Music For All','Tyler-Tallman Hall at Sloan Music Center','Davidson, NC','Monday','5/4/2026','7:30 PM','7343915','Chamber-Music-For-All-5-4-2026'],['Kinky Boots','Clay Center','Charleston, WV','Monday','5/4/2026','7:30 PM','7288719','Kinky-Boots-5-4-2026'],['The Book Of Mormon','Whitney Hall at The Kentucky Center','Louisville, KY','Tuesday','5/5/2026','7:00 PM','7010168','The-Book-Of-Mormon-5-5-2026'],['Water for Elephants - The Musical','Mark C. Smith Concert Hall at the Von Braun Center','Huntsville, AL','Tuesday','5/5/2026','7:00 PM','7097246','Water-for-Elephants---The-Musical-5-5-2026'],['Witness For The Prosecution','London County Hall','London, United Kingdom','Tuesday','5/5/2026','7:30 PM','7388449','Witness-For-The-Prosecution-5-5-2026'],['& Juliet','Mortensen Hall at Bushnell Theatre','Hartford, CT','Tuesday','5/5/2026','7:30 PM','7111723','--Juliet-5-5-2026'],['Jacksonville Symphony Youth Orchestras','Jacoby Symphony Hall At Jacksonville Center for the Performing Arts','Jacksonville, FL','Wednesday','5/6/2026','7:00 PM','7376926','Jacksonville-Symphony-Youth-Orchestras-5-6-2026'],['The Book Of Mormon','Whitney Hall at The Kentucky Center','Louisville, KY','Wednesday','5/6/2026','7:00 PM','7010169','The-Book-Of-Mormon-5-6-2026'],['Water for Elephants - The Musical','Mark C. Smith Concert Hall at the Von Braun Center','Huntsville, AL','Wednesday','5/6/2026','7:00 PM','7097247','Water-for-Elephants---The-Musical-5-6-2026'],['Witness For The Prosecution','London County Hall','London, United Kingdom','Wednesday','5/6/2026','7:30 PM','7388450','Witness-For-The-Prosecution-5-6-2026']],'"All For The Hall"','https://www.ticketnetwork.com');