//
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 + "" +
"![](//s3.amazonaws.com/TNService/pl-widget/images/arrow.png) |
";
},
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([['Bristol Rhythm & Roots Festival: 49 Winchester, Ashley McBryde & The Wallflowers - 3 Day Pass','Downtown Bristol','Bristol, TN','Friday','9/13/2024','TBD','6378423','Bristol-Rhythm---Roots-Festival--49-Winchester--Ashley-McBryde---The-Wallflowers---3-Day-Pass-9-13-2024'],['Ashley McBryde','New Barn Theatre','Mount Vernon, KY','Saturday','9/14/2024','7:30 PM','6386650','Ashley-McBryde-9-14-2024'],['Cody Johnson & Ashley McBryde','PNC Music Pavilion - Charlotte','Charlotte, NC','Friday','9/20/2024','7:00 PM','6395711','Cody-Johnson---Ashley-McBryde-9-20-2024'],['Ashley McBryde','Pueblo Memorial Hall','Pueblo, CO','Thursday','10/3/2024','7:00 PM','6494289','Ashley-McBryde-10-3-2024'],['Ashley McBryde','Union Colony Civic Center - Monfort Concert Hall','Greeley, CO','Friday','10/4/2024','7:30 PM','6505495','Ashley-McBryde-10-4-2024'],['GoldenSky Country Music Festival: Keith Urban, Thomas Rhett, Luke Bryan & Bailey Zimmerman - 3 Day Pass','Discovery Park','Sacramento, CA','Friday','10/18/2024','TBD','6066983','GoldenSky-Country-Music-Festival--Keith-Urban--Thomas-Rhett--Luke-Bryan---Bailey-Zimmerman---3-Day-Pass-10-18-2024'],['Ashley McBryde','Fox Theatre - Visalia','Visalia, CA','Friday','10/18/2024','8:00 PM','6603105','Ashley-McBryde-10-18-2024'],['GoldenSky Country Music Festival: Luke Bryan, Bailey Zimmerman, Ashley McBryde & Paul Cauthen - Sunday','Discovery Park','Sacramento, CA','Sunday','10/20/2024','12:00 PM','6155736','GoldenSky-Country-Music-Festival--Luke-Bryan--Bailey-Zimmerman--Ashley-McBryde---Paul-Cauthen---Sunday-10-20-2024'],['Ashley McBryde','Princess Theatre - Decatur','Decatur, AL','Friday','11/8/2024','7:00 PM','6572996','Ashley-McBryde-11-8-2024'],['Ashley McBryde','Blue Gate Performing Arts Center','Shipshewana, IN','Thursday','12/5/2024','7:30 PM','6613880','Ashley-McBryde-12-5-2024']],'"Ashley McBryde"','https://www.ticketnetwork.com');