//
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-01A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Trace Adkins & Craig Morgan','Fulton County Fair','Wauseon, OH','Monday','9/1/2025','7:00 PM','7072199','Trace-Adkins---Craig-Morgan-9-1-2025'],['Bulls and Bands: Trace Adkins','Mosaic Arena','Arcadia, FL','Saturday','9/6/2025','3:30 PM','7056106','Bulls-and-Bands--Trace-Adkins-9-6-2025'],['Neon Night: Trace Adkins & John Michael Montgomery','Texas Trust CU Theatre at Grand Prairie','Grand Prairie, TX','Sunday','9/14/2025','6:30 PM','7257647','Neon-Night--Trace-Adkins---John-Michael-Montgomery-9-14-2025'],['Trace Adkins','OG&E Coliseum at OKC Fairgrounds','Oklahoma City, OK','Wednesday','9/17/2025','7:00 PM','7263823','Trace-Adkins-9-17-2025'],['Trace Adkins','Isleta Casino & Resort - Showroom','Albuquerque, NM','Thursday','10/2/2025','8:00 PM','7164012','Trace-Adkins-10-2-2025'],['Trace Adkins','Mazatzal Hotel & Casino','Payson, AZ','Friday','10/3/2025','7:00 PM','7314641','Trace-Adkins-10-3-2025'],['Trace Adkins','The Show - Agua Caliente Casino','Rancho Mirage, CA','Saturday','10/4/2025','8:00 PM','7094939','Trace-Adkins-10-4-2025'],['Trace Adkins','Cerritos Center','Cerritos, CA','Sunday','10/5/2025','7:00 PM','7066875','Trace-Adkins-10-5-2025'],['Trace Adkins','The Event At Graton Resort & Casino','Rohnert Park, CA','Thursday','10/9/2025','8:00 PM','7338682','Trace-Adkins-10-9-2025'],['Trace Adkins','Paul Paul Theater at Fresno Fairgrounds','Fresno, CA','Friday','10/10/2025','7:00 PM','7169255','Trace-Adkins-10-10-2025']],'Trace Adkins','https://www.ticketnetwork.com');