//
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-01B
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Cole Swindell, Dylan Scott & Mackenzie Carpenter','Everwise Amphitheater at White River State Park','Indianapolis, IN','Friday','6/7/2024','7:00 PM','6128940','Cole-Swindell--Dylan-Scott---Mackenzie-Carpenter-6-7-2024'],['Cole Swindell, Dylan Scott & Mackenzie Carpenter','PNC Pavilion At The Riverbend Music Center','Cincinnati, OH','Saturday','6/8/2024','7:00 PM','6128941','Cole-Swindell--Dylan-Scott---Mackenzie-Carpenter-6-8-2024'],['Dylan Scott','Centennial Terrace','Sylvania, OH','Friday','6/14/2024','8:00 PM','6229530','Dylan-Scott-6-14-2024'],['Dylan Scott','Blue Gate Performing Arts Center','Shipshewana, IN','Saturday','6/15/2024','7:30 PM','6209688','Dylan-Scott-6-15-2024'],['Cole Swindell, Dylan Scott & Lily Rose','Ameris Bank Amphitheatre','Alpharetta, GA','Thursday','6/27/2024','7:00 PM','6128942','Cole-Swindell--Dylan-Scott---Lily-Rose-6-27-2024'],['Cole Swindell, Dylan Scott & Lily Rose','Skyla Credit Union Amphitheatre','Charlotte, NC','Friday','6/28/2024','7:00 PM','6128943','Cole-Swindell--Dylan-Scott---Lily-Rose-6-28-2024'],['Cole Swindell, Dylan Scott & Lily Rose','Live Oak Bank Pavilion At Riverfront Park','Wilmington, NC','Saturday','6/29/2024','7:00 PM','6128944','Cole-Swindell--Dylan-Scott---Lily-Rose-6-29-2024'],['Dylan Scott','Pepsi Bayside Music Stage At National Cherry Festival','Traverse City, MI','Thursday','7/4/2024','6:00 PM','6270071','Dylan-Scott-7-4-2024'],['Cole Swindell, Dylan Scott & Restless Road','Arizona Financial Theatre','Phoenix, AZ','Thursday','7/11/2024','7:00 PM','6128945','Cole-Swindell--Dylan-Scott---Restless-Road-7-11-2024'],['Cole Swindell, Dylan Scott & Restless Road','YouTube Theater at Hollywood Park','Inglewood, CA','Friday','7/12/2024','7:00 PM','6128947','Cole-Swindell--Dylan-Scott---Restless-Road-7-12-2024']],'"Dylan Scott"','https://www.ticketnetwork.com');