//
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([['Sturgill Simpson','The Wharf Amphitheatre','Orange Beach, AL','Tuesday','4/8/2025','7:30 PM','6989746','Sturgill-Simpson-4-8-2025'],['Alison Krauss and Union Station, Jerry Douglas & Willie Watson','The Wharf Amphitheatre','Orange Beach, AL','Friday','5/2/2025','7:30 PM','6861454','Alison-Krauss-and-Union-Station--Jerry-Douglas---Willie-Watson-5-2-2025'],['Breaking Benjamin & Staind','The Wharf Amphitheatre','Orange Beach, AL','Saturday','5/10/2025','5:45 PM','6860830','Breaking-Benjamin---Staind-5-10-2025'],['Teddy Swims','The Wharf Amphitheatre','Orange Beach, AL','Monday','5/12/2025','8:00 PM','6738251','Teddy-Swims-5-12-2025'],['Keith Urban, Chase Matthew & Alana Springsteen','The Wharf Amphitheatre','Orange Beach, AL','Thursday','5/22/2025','7:00 PM','6871539','Keith-Urban--Chase-Matthew---Alana-Springsteen-5-22-2025'],['Dwight Yoakam & The Mavericks','The Wharf Amphitheatre','Orange Beach, AL','Thursday','5/29/2025','7:30 PM','6826712','Dwight-Yoakam---The-Mavericks-5-29-2025'],['Tyler Childers','The Wharf Amphitheatre','Orange Beach, AL','Sunday','6/1/2025','8:00 PM','6826120','Tyler-Childers-6-1-2025'],['Nate Bargatze','The Wharf Amphitheatre','Orange Beach, AL','Thursday','6/12/2025','7:00 PM','6858775','Nate-Bargatze-6-12-2025'],['Kansas, .38 Special & The Outlaws','The Wharf Amphitheatre','Orange Beach, AL','Friday','6/20/2025','7:00 PM','6955763','Kansas---38-Special---The-Outlaws-6-20-2025'],['Thomas Rhett, Tucker Wetmore & The Castellows','The Wharf Amphitheatre','Orange Beach, AL','Saturday','6/28/2025','7:30 PM','6710378','Thomas-Rhett--Tucker-Wetmore---The-Castellows-6-28-2025'],['The Red Clay Strays','The Wharf Amphitheatre','Orange Beach, AL','Thursday','7/3/2025','7:00 PM','6819860','The-Red-Clay-Strays-7-3-2025'],['The Red Clay Strays','The Wharf Amphitheatre','Orange Beach, AL','Friday','7/4/2025','7:00 PM','6824304','The-Red-Clay-Strays-7-4-2025'],['The Red Clay Strays','The Wharf Amphitheatre','Orange Beach, AL','Saturday','7/5/2025','6:30 PM','6913425','The-Red-Clay-Strays-7-5-2025'],['Parker McCollum','The Wharf Amphitheatre','Orange Beach, AL','Saturday','7/26/2025','7:30 PM','6881868','Parker-McCollum-7-26-2025']],'','https://www.ticketnetwork.com');