//
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([['Decade - Neil Young Tribute','The Vogel at the Count Basie Center for the Arts','Red Bank, NJ','Saturday','5/10/2025','8:00 PM','6784540','Decade---Neil-Young-Tribute-5-10-2025'],['Neil Young','The Farm at Lakefield College School','Lakefield, Canada','Friday','5/23/2025','7:00 PM','7082447','Neil-Young-5-23-2025'],['Broken Arrow - Tribute to Neil Young','Suffolk Theater','Riverhead, NY','Saturday','5/24/2025','7:00 PM','7138032','Broken-Arrow---Tribute-to-Neil-Young-5-24-2025'],['Danger Bird - Neil Young Tribute','Hub City Vinyl','Hagerstown, MD','Saturday','6/7/2025','8:00 PM','7086802','Danger-Bird---Neil-Young-Tribute-6-7-2025'],['Prairie Moon - A Neil Young Experience','Park Theatre - Winnipeg','Winnipeg, Canada','Saturday','6/7/2025','8:00 PM','7134547','Prairie-Moon---A-Neil-Young-Experience-6-7-2025'],['Neil Young','Hyde Park - London','London, United Kingdom','Friday','7/11/2025','2:00 PM','7015519','Neil-Young-7-11-2025'],['Neil Young','PNC Music Pavilion - Charlotte','Charlotte, NC','Friday','8/8/2025','7:30 PM','7006120','Neil-Young-8-8-2025'],['Neil Young','Allianz Amphitheater at Riverfront','Richmond, VA','Sunday','8/10/2025','7:30 PM','7006121','Neil-Young-8-10-2025'],['Neil Young','Pine Knob Music Theatre','Clarkston, MI','Wednesday','8/13/2025','7:30 PM','7006093','Neil-Young-8-13-2025'],['Neil Young','Blossom Music Center','Cuyahoga Falls, OH','Friday','8/15/2025','7:30 PM','7006122','Neil-Young-8-15-2025']],'Neil Young','https://www.ticketnetwork.com');