//
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 dateArray = row[4].split('/');
var date = months[dateArray[0]] + " " + dateArray[1];
var parking = row[0].split(':')[0]
if (parking !== "PARKING") {
return "
";
}
},
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 newResults = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newResults.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newResults.join('') + '
';
} else
document.write('' + newResults.join('') + '
');
if(eventData.length >= 101 && kwds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
}
};
}();
//BPW-TNSERV-03A
TN_Widget.AddCss('//tn-widget.seatics.com/widget2Css/results-style-1.css');
TN_Widget.AddCss('//s3.amazonaws.com/ticketnetwork/fonts/TTNorms/TTNorms.css');
TN_Widget.CreateTable([['The Weeknd','Estadio do Morumbi','São Paulo, Brazil','Saturday','9/7/2024','TBD','6580836','The-Weeknd-9-7-2024'],['The Weeknd','Marvel Stadium','Melbourne, Australia','Saturday','10/5/2024','7:00 PM','6650801','The-Weeknd-10-5-2024'],['The Weeknd','Marvel Stadium','Melbourne, Australia','Sunday','10/6/2024','7:00 PM','6650802','The-Weeknd-10-6-2024'],['The Weeknd','Suncorp Stadium','Brisbane, Australia','Monday','11/20/2073','12:00 AM','5904256','The-Weeknd-11-20-2073'],['The Weeknd','Suncorp Stadium','Brisbane, Australia','Tuesday','11/21/2073','12:00 AM','5910354','The-Weeknd-11-21-2073'],['The Weeknd','Accor Stadium','Sydney, Australia','Friday','11/24/2073','12:00 AM','5904257','The-Weeknd-11-24-2073'],['The Weeknd','Accor Stadium','Sydney, Australia','Saturday','11/25/2073','12:00 AM','5910334','The-Weeknd-11-25-2073'],['The Weeknd','Accor Stadium','Sydney, Australia','Monday','11/27/2073','12:00 AM','6039283','The-Weeknd-11-27-2073'],['The Weeknd','Marvel Stadium','Melbourne, Australia','Friday','12/1/2073','12:00 AM','5904258','The-Weeknd-12-1-2073'],['The Weeknd','Marvel Stadium','Melbourne, Australia','Monday','12/4/2073','5:00 PM','5915674','The-Weeknd-12-4-2073'],['The Weeknd','Marvel Stadium','Melbourne, Australia','Tuesday','12/5/2073','12:00 AM','6039284','The-Weeknd-12-5-2073'],['The Weeknd','Eden Park - New Zealand','Auckland, New Zealand','Friday','12/8/2073','12:00 AM','6039285','The-Weeknd-12-8-2073'],['The Weeknd','Eden Park - New Zealand','Auckland, New Zealand','Saturday','12/9/2073','12:00 AM','6039286','The-Weeknd-12-9-2073']],'The Weeknd','http://www.ticketnetwork.com/en/search/?text=The%20Weeknd');