//
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([['Ashley Cooke','Georgia Theatre','Athens, GA','Saturday','11/7/2026','8:00 PM','7960942','Ashley-Cooke-11-7-2026'],['Ashley Cooke','O2 Academy2 Birmingham','Birmingham, United Kingdom','Thursday','1/28/2027','7:00 PM','8265873','Ashley-Cooke-1-28-2027'],['Coors Light Birds Nest: Riley Green & Ashley Cooke','Birds Nest At TPC Scottsdale','Scottsdale, AZ','Wednesday','2/10/2027','3:00 PM','8029300','Coors-Light-Birds-Nest--Riley-Green---Ashley-Cooke-2-10-2027'],['Ashley Cooke','Elevation at The Intersection','Grand Rapids, MI','Thursday','2/11/2027','7:30 PM','8309693','Ashley-Cooke-2-11-2027'],['Ashley Cooke','Varsity Theater - MN','Minneapolis, MN','Friday','2/12/2027','8:00 PM','8309692','Ashley-Cooke-2-12-2027'],['Ashley Cooke','Bogarts','Cincinnati, OH','Saturday','2/13/2027','8:00 PM','8309691','Ashley-Cooke-2-13-2027'],['Ashley Cooke','Antone's Nightclub','Austin, TX','Thursday','2/18/2027','8:00 PM','7960760','Ashley-Cooke-2-18-2027'],['Ashley Cooke','Tannahill's Music Hall and Lounge','Fort Worth, TX','Friday','2/19/2027','8:00 PM','7960761','Ashley-Cooke-2-19-2027'],['Ashley Cooke','The Bus Barn at Cooks Garage','Lubbock, TX','Saturday','2/20/2027','8:00 PM','7957801','Ashley-Cooke-2-20-2027'],['Ashley Cooke','Ryman Auditorium','Nashville, TN','Thursday','2/25/2027','7:30 PM','7960943','Ashley-Cooke-2-25-2027']],'"Ashley Cooke"','https://www.ticketnetwork.com');