//
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([['BrightStone's A Night Full of Comedy','The Fisher Center for the Performing Arts','Nashville, TN','Monday','10/13/2025','7:00 PM','7391191','BrightStone-s-A-Night-Full-of-Comedy-10-13-2025'],['Laufey & Suki Waterhouse','Bridgestone Arena','Nashville, TN','Monday','10/13/2025','7:30 PM','7185151','Laufey---Suki-Waterhouse-10-13-2025'],['Jason Schmidt','City Winery - Nashville','Nashville, TN','Monday','10/13/2025','7:30 PM','7480789','Jason-Schmidt-10-13-2025'],['The Time Jumpers','3rd & Lindsley','Nashville, TN','Monday','10/13/2025','8:00 PM','7178273','The-Time-Jumpers-10-13-2025'],['Rickie Lee Jones & Patty Griffin','Ryman Auditorium','Nashville, TN','Monday','10/13/2025','8:00 PM','7197151','Rickie-Lee-Jones---Patty-Griffin-10-13-2025'],['Leisure - Band','The Basement East - Nashville','Nashville, TN','Monday','10/13/2025','8:00 PM','7199970','Leisure---Band-10-13-2025'],['Women Of Country (Multiples Dates and Times)','Grand Ole Opry House','Nashville, TN','Tuesday','10/14/2025','TBD','7379291','Women-Of-Country--Multiples-Dates-and-Times--10-14-2025'],['iLuminate','Tennessee Performing Arts Center - James K Polk Theater','Nashville, TN','Tuesday','10/14/2025','6:30 PM','7376936','iLuminate-10-14-2025'],['Comedy Ramble ','The Lab at Zanies','Nashville, TN','Tuesday','10/14/2025','7:00 PM','7243051','Comedy-Ramble--10-14-2025'],['Mick Foley','Zanies Comedy Night Club - Nashville','Nashville, TN','Tuesday','10/14/2025','7:00 PM','7165667','Mick-Foley-10-14-2025']],'"Nashville Tn"','https://www.ticketnetwork.com');