//
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-04A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Patriots','Barrymore Theatre - NY','New York, NY','Tuesday','4/30/2024','7:00 PM','6230115','Patriots-4-30-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Wednesday','5/1/2024','1:00 PM','6230167','Patriots-5-1-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Wednesday','5/1/2024','7:00 PM','6230161','Patriots-5-1-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Thursday','5/2/2024','7:00 PM','6230173','Patriots-5-2-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Friday','5/3/2024','7:00 PM','6230179','Patriots-5-3-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Saturday','5/4/2024','1:00 PM','6230189','Patriots-5-4-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Saturday','5/4/2024','7:00 PM','6230184','Patriots-5-4-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Sunday','5/5/2024','2:00 PM','6230153','Patriots-5-5-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Tuesday','5/7/2024','7:00 PM','6230157','Patriots-5-7-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Wednesday','5/8/2024','1:00 PM','6230168','Patriots-5-8-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Wednesday','5/8/2024','7:00 PM','6230162','Patriots-5-8-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Thursday','5/9/2024','7:00 PM','6230174','Patriots-5-9-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Friday','5/10/2024','7:00 PM','6230180','Patriots-5-10-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Saturday','5/11/2024','1:00 PM','6230190','Patriots-5-11-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Saturday','5/11/2024','7:00 PM','6230185','Patriots-5-11-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Sunday','5/12/2024','2:00 PM','6230154','Patriots-5-12-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Tuesday','5/14/2024','7:00 PM','6230158','Patriots-5-14-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Wednesday','5/15/2024','1:00 PM','6230169','Patriots-5-15-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Wednesday','5/15/2024','7:00 PM','6230164','Patriots-5-15-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Thursday','5/16/2024','7:00 PM','6230175','Patriots-5-16-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Friday','5/17/2024','7:00 PM','6230181','Patriots-5-17-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Saturday','5/18/2024','1:00 PM','6230191','Patriots-5-18-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Saturday','5/18/2024','7:00 PM','6230186','Patriots-5-18-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Sunday','5/19/2024','2:00 PM','6230155','Patriots-5-19-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Tuesday','5/21/2024','7:00 PM','6230159','Patriots-5-21-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Wednesday','5/22/2024','1:00 PM','6230170','Patriots-5-22-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Wednesday','5/22/2024','7:00 PM','6230165','Patriots-5-22-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Thursday','5/23/2024','7:00 PM','6230176','Patriots-5-23-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Friday','5/24/2024','7:00 PM','6230182','Patriots-5-24-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Saturday','5/25/2024','1:00 PM','6230192','Patriots-5-25-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Saturday','5/25/2024','7:00 PM','6230187','Patriots-5-25-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Sunday','5/26/2024','2:00 PM','6230156','Patriots-5-26-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Tuesday','5/28/2024','7:00 PM','6230160','Patriots-5-28-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Wednesday','5/29/2024','1:00 PM','6230172','Patriots-5-29-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Wednesday','5/29/2024','7:00 PM','6230166','Patriots-5-29-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Thursday','5/30/2024','7:00 PM','6230177','Patriots-5-30-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Friday','5/31/2024','7:00 PM','6230183','Patriots-5-31-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Saturday','6/1/2024','1:00 PM','6230217','Patriots-6-1-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Saturday','6/1/2024','7:00 PM','6230213','Patriots-6-1-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Sunday','6/2/2024','2:00 PM','6230193','Patriots-6-2-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Tuesday','6/4/2024','7:00 PM','6230198','Patriots-6-4-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Wednesday','6/5/2024','1:00 PM','6230204','Patriots-6-5-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Wednesday','6/5/2024','7:00 PM','6230201','Patriots-6-5-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Thursday','6/6/2024','7:00 PM','6230207','Patriots-6-6-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Friday','6/7/2024','7:00 PM','6230210','Patriots-6-7-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Saturday','6/8/2024','1:00 PM','6230218','Patriots-6-8-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Saturday','6/8/2024','7:00 PM','6230214','Patriots-6-8-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Sunday','6/9/2024','2:00 PM','6230194','Patriots-6-9-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Tuesday','6/11/2024','7:00 PM','6230199','Patriots-6-11-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Wednesday','6/12/2024','1:00 PM','6230205','Patriots-6-12-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Wednesday','6/12/2024','7:00 PM','6230202','Patriots-6-12-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Thursday','6/13/2024','7:00 PM','6230208','Patriots-6-13-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Friday','6/14/2024','7:00 PM','6230211','Patriots-6-14-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Saturday','6/15/2024','1:00 PM','6230219','Patriots-6-15-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Saturday','6/15/2024','7:00 PM','6230215','Patriots-6-15-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Sunday','6/16/2024','1:00 PM','6230195','Patriots-6-16-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Tuesday','6/18/2024','7:00 PM','6230200','Patriots-6-18-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Wednesday','6/19/2024','1:00 PM','6230206','Patriots-6-19-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Wednesday','6/19/2024','7:00 PM','6230203','Patriots-6-19-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Thursday','6/20/2024','7:00 PM','6230209','Patriots-6-20-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Friday','6/21/2024','7:00 PM','6230212','Patriots-6-21-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Saturday','6/22/2024','1:00 PM','6230220','Patriots-6-22-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Saturday','6/22/2024','7:00 PM','6230216','Patriots-6-22-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Sunday','6/23/2024','2:00 PM','6230196','Patriots-6-23-2024']],'patriots','https://www.ticketnetwork.com');