//
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([['Nashville Symphony: How America Found Its Sound','Schermerhorn Symphony Center','Nashville, TN','Sunday','11/15/2026','3:00 PM','8318989','Nashville-Symphony--How-America-Found-Its-Sound-11-15-2026'],['Lenny Pearce','Marathon Music Works','Nashville, TN','Sunday','11/15/2026','5:30 PM','8048527','Lenny-Pearce-11-15-2026'],['John Waite & John Cafferty and The Beaver Brown Band','Brown County Music Center','Nashville, IN','Sunday','11/15/2026','7:00 PM','8130747','John-Waite---John-Cafferty-and-The-Beaver-Brown-Band-11-15-2026'],['Tiny Habits','Brooklyn Bowl - Nashville','Nashville, TN','Sunday','11/15/2026','7:30 PM','8071755','Tiny-Habits-11-15-2026'],['Tyrone Wells','City Winery - Nashville','Nashville, TN','Sunday','11/15/2026','7:30 PM','8080551','Tyrone-Wells-11-15-2026'],['Orville Peck','The Truth','Nashville, TN','Sunday','11/15/2026','8:00 PM','8160853','Orville-Peck-11-15-2026'],['Jim Gaffigan','Ryman Auditorium','Nashville, TN','Sunday','11/15/2026','8:00 PM','8020923','Jim-Gaffigan-11-15-2026'],['Red Leather','The Basement East - Nashville','Nashville, TN','Sunday','11/15/2026','8:00 PM','7810757','Red-Leather-11-15-2026'],['New Material Monday','Zanies Comedy Night Club - Nashville','Nashville, TN','Monday','11/16/2026','7:00 PM','8254671','New-Material-Monday-11-16-2026'],['Nateland Comedy Showcase','The Lab at Zanies','Nashville, TN','Monday','11/16/2026','7:00 PM','8252572','Nateland-Comedy-Showcase-11-16-2026']],'"Nashville Concerts"','https://www.ticketnetwork.com');