//
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-02A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Grand Ole Opry','Grand Ole Opry House','Nashville, TN','Friday','11/13/2026','7:00 PM','7512524','Grand-Ole-Opry-11-13-2026'],['Grand Ole Opry','Grand Ole Opry House','Nashville, TN','Saturday','11/14/2026','7:00 PM','7512525','Grand-Ole-Opry-11-14-2026'],['Grand Ole Opry','Grand Ole Opry House','Nashville, TN','Tuesday','11/17/2026','7:00 PM','7512527','Grand-Ole-Opry-11-17-2026'],['Beat - Band','Grand Ole Opry House','Nashville, TN','Wednesday','11/18/2026','7:30 PM','8179875','Beat---Band-11-18-2026'],['Grand Ole Opry','Grand Ole Opry House','Nashville, TN','Thursday','11/19/2026','7:00 PM','8134363','Grand-Ole-Opry-11-19-2026'],['Grand Ole Opry','Grand Ole Opry House','Nashville, TN','Friday','11/20/2026','7:00 PM','7512528','Grand-Ole-Opry-11-20-2026'],['Grand Ole Opry','Grand Ole Opry House','Nashville, TN','Saturday','11/21/2026','7:00 PM','7512529','Grand-Ole-Opry-11-21-2026'],['Grand Ole Opry','Grand Ole Opry House','Nashville, TN','Sunday','11/22/2026','7:00 PM','7512530','Grand-Ole-Opry-11-22-2026'],['The Big 98's Friendsgiving: Lady A, Jordan Davis & Randy Houser','Grand Ole Opry House','Nashville, TN','Monday','11/23/2026','7:30 PM','8337497','The-Big-98-s-Friendsgiving--Lady-A--Jordan-Davis---Randy-Houser-11-23-2026'],['Grand Ole Opry','Grand Ole Opry House','Nashville, TN','Tuesday','11/24/2026','7:00 PM','7512531','Grand-Ole-Opry-11-24-2026']],'"The Grand Ole Opry"','https://www.ticketnetwork.com');