//
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([['Boston Legacy FC vs. North Carolina Courage','Gillette Stadium','Foxborough, MA','Wednesday','4/29/2026','8:00 PM','7681511','Boston-Legacy-FC-vs--North-Carolina-Courage-4-29-2026'],['New Orleans Jazz And Heritage Festival: The Eagles, Lainey Wilson & Teddy Swims: Weekend 2 - 4 Day Pass','New Orleans Fair Grounds','New Orleans, LA','Thursday','4/30/2026','TBD','7141888','New-Orleans-Jazz-And-Heritage-Festival--The-Eagles--Lainey-Wilson---Teddy-Swims--Weekend-2---4-Day-Pass-4-30-2026'],['America's 250th - Our Nation's Celebration','Blue Gate Music Hall','Shipshewana, IN','Thursday','4/30/2026','4:00 PM','7578862','America-s-250th---Our-Nation-s-Celebration-4-30-2026'],['America's 250th - Our Nation's Celebration','Blue Gate Music Hall','Shipshewana, IN','Friday','5/1/2026','7:00 PM','7578863','America-s-250th---Our-Nation-s-Celebration-5-1-2026'],['Ritual Noize Fest: VNV Nation, Lords of Acid, Aesthetic Perfection & Julien-K','ReelWorks Denver','Denver, CO','Saturday','5/2/2026','3:00 PM','7565449','Ritual-Noize-Fest--VNV-Nation--Lords-of-Acid--Aesthetic-Perfection---Julien-K-5-2-2026'],['America's 250th - Our Nation's Celebration','Blue Gate Music Hall','Shipshewana, IN','Saturday','5/2/2026','7:00 PM','7578864','America-s-250th---Our-Nation-s-Celebration-5-2-2026'],['Columbus Fury vs. Atlanta Vibe','Nationwide Arena','Columbus, OH','Sunday','5/3/2026','2:00 PM','7580037','Columbus-Fury-vs--Atlanta-Vibe-5-3-2026'],['Boston Legacy FC vs. Denver Summit FC','Gillette Stadium','Foxborough, MA','Sunday','5/3/2026','3:00 PM','7681513','Boston-Legacy-FC-vs--Denver-Summit-FC-5-3-2026'],['Bush, Mammoth & James and the Cold Gun','Oshkosh Arena','Oshkosh, WI','Wednesday','5/6/2026','7:00 PM','7670332','Bush--Mammoth---James-and-the-Cold-Gun-5-6-2026'],['America's 250th - Our Nation's Celebration','Blue Gate Music Hall','Shipshewana, IN','Thursday','5/7/2026','4:00 PM','7578865','America-s-250th---Our-Nation-s-Celebration-5-7-2026']],'"Live Nation"','https://www.ticketnetwork.com');