//
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([['Zach Bryan, John Fogerty & Fey Fili','US Bank Stadium','Minneapolis, MN','Wednesday','4/28/2027','7:00 PM','8322379','Zach-Bryan--John-Fogerty---Fey-Fili-4-28-2027'],['Zach Bryan, John Fogerty & Fey Fili','Lucas Oil Stadium','Indianapolis, IN','Saturday','5/1/2027','7:00 PM','8322365','Zach-Bryan--John-Fogerty---Fey-Fili-5-1-2027'],['Zach Bryan, John Fogerty & Fey Fili','Lambeau Field','Green Bay, WI','Tuesday','5/4/2027','7:00 PM','8322366','Zach-Bryan--John-Fogerty---Fey-Fili-5-4-2027'],['Zach Bryan, John Fogerty & Fey Fili','Soldier Field','Chicago, IL','Friday','5/7/2027','7:00 PM','8338574','Zach-Bryan--John-Fogerty---Fey-Fili-5-7-2027'],['Zach Bryan, John Fogerty & Fey Fili','Soldier Field','Chicago, IL','Saturday','5/8/2027','7:00 PM','8322381','Zach-Bryan--John-Fogerty---Fey-Fili-5-8-2027'],['Zach Bryan, John Fogerty & Fey Fili','MetLife Stadium','East Rutherford, NJ','Friday','5/14/2027','7:00 PM','8322367','Zach-Bryan--John-Fogerty---Fey-Fili-5-14-2027'],['Zach Bryan, John Fogerty & Fey Fili','MetLife Stadium','East Rutherford, NJ','Saturday','5/15/2027','7:00 PM','8322368','Zach-Bryan--John-Fogerty---Fey-Fili-5-15-2027'],['Zach Bryan, John Fogerty & Fey Fili','M&T Bank Stadium','Baltimore, MD','Tuesday','5/18/2027','7:00 PM','8322382','Zach-Bryan--John-Fogerty---Fey-Fili-5-18-2027'],['Zach Bryan, John Fogerty & Fey Fili','New Nissan Stadium','Nashville, TN','Saturday','5/22/2027','7:00 PM','8322383','Zach-Bryan--John-Fogerty---Fey-Fili-5-22-2027'],['Zach Bryan, John Fogerty & Fey Fili','Lincoln Financial Field','Philadelphia, PA','Tuesday','5/25/2027','7:00 PM','8322370','Zach-Bryan--John-Fogerty---Fey-Fili-5-25-2027']],'Zach Bryan','https://www.ticketnetwork.com');