//
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([['Opry Country Classics: The Gatlin Brothers, Jim Lauderdale & Neal McCoy','Grand Ole Opry House','Nashville, TN','Thursday','5/29/2025','7:00 PM','6762499','Opry-Country-Classics--The-Gatlin-Brothers--Jim-Lauderdale---Neal-McCoy-5-29-2025'],['The Gatlin Brothers','Crossroads Arena','Corinth, MS','Saturday','6/21/2025','7:00 PM','7078204','The-Gatlin-Brothers-6-21-2025'],['The Gatlin Brothers','Harvester Performance Center','Rocky Mount, VA','Friday','6/27/2025','8:00 PM','6996879','The-Gatlin-Brothers-6-27-2025'],['The Gatlin Brothers','Ohio Star Theater','Sugarcreek, OH','Friday','7/18/2025','7:00 PM','6885893','The-Gatlin-Brothers-7-18-2025'],['The Gatlin Brothers','Ohio Star Theater','Sugarcreek, OH','Saturday','7/19/2025','1:00 PM','6885894','The-Gatlin-Brothers-7-19-2025'],['The Gatlin Brothers','Peoples Bank Theatre','Marietta, OH','Sunday','7/20/2025','3:00 PM','6979938','The-Gatlin-Brothers-7-20-2025'],['The Gatlin Brothers','Jefferson Theatre - TX','Beaumont, TX','Saturday','8/16/2025','7:00 PM','6528248','The-Gatlin-Brothers-8-16-2025'],['The Gatlin Brothers','The Mansion - MO','Branson, MO','Saturday','10/18/2025','8:00 PM','6946191','The-Gatlin-Brothers-10-18-2025'],['The Gatlin Brothers','The Mansion - MO','Branson, MO','Friday','11/14/2025','8:00 PM','6946192','The-Gatlin-Brothers-11-14-2025'],['The Gatlin Brothers','Arlington Music Hall','Arlington, TX','Thursday','11/20/2025','7:30 PM','6979517','The-Gatlin-Brothers-11-20-2025']],'The Gatlin Brothers','https://www.ticketnetwork.com');