//
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 + "" +
"![](//s3.amazonaws.com/TNService/pl-widget/images/arrow.png) |
";
},
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([['Megadeth','Santander Arena','Reading, PA','Monday','9/9/2024','6:30 PM','6399802','Megadeth-9-9-2024'],['Megadeth','MVP Arena','Albany, NY','Tuesday','9/10/2024','6:30 PM','6399804','Megadeth-9-10-2024'],['Megadeth','Leader Bank Pavilion','Boston, MA','Wednesday','9/11/2024','6:30 PM','6399806','Megadeth-9-11-2024'],['Megadeth','Bethel Woods Center For The Arts','Bethel, NY','Friday','9/13/2024','6:30 PM','6399810','Megadeth-9-13-2024'],['Megadeth','Northwell at Jones Beach Theater','Wantagh, NY','Saturday','9/14/2024','6:30 PM','6399811','Megadeth-9-14-2024'],['Megadeth','Virginia Credit Union LIVE! at Richmond Raceway','Richmond, VA','Sunday','9/15/2024','6:30 PM','6401923','Megadeth-9-15-2024'],['Megadeth','Riverbend Music Center','Cincinnati, OH','Tuesday','9/17/2024','6:30 PM','6399812','Megadeth-9-17-2024'],['Megadeth','Stage AE','Pittsburgh, PA','Wednesday','9/18/2024','5:00 PM','6401082','Megadeth-9-18-2024'],['Megadeth','Ruoff Music Center','Noblesville, IN','Friday','9/20/2024','6:30 PM','6399813','Megadeth-9-20-2024'],['Megadeth','Pine Knob Music Theatre','Clarkston, MI','Saturday','9/21/2024','6:30 PM','6399814','Megadeth-9-21-2024'],['Megadeth','TempleLive - Cleveland','Cleveland, OH','Sunday','9/22/2024','7:30 PM','6603972','Megadeth-9-22-2024'],['Megadeth','The Armory - Minneapolis','Minneapolis, MN','Tuesday','9/24/2024','6:30 PM','6399816','Megadeth-9-24-2024'],['Megadeth','Hollywood Casino Amphitheatre - MO','Maryland Heights, MO','Thursday','9/26/2024','6:30 PM','6399817','Megadeth-9-26-2024'],['Megadeth','BankPlus Amphitheatre at Snowden Grove','Southaven, MS','Friday','9/27/2024','6:30 PM','6399818','Megadeth-9-27-2024'],['Megadeth','Nashville Municipal Auditorium','Nashville, TN','Saturday','9/28/2024','6:30 PM','6399819','Megadeth-9-28-2024']],'','https://www.ticketnetwork.com');