//
var TN_Widget = function() {
return {
CreateEventRow : function(row, isAlt) {
return "
" +
row[3] + " " +
row[4] + " " +
row[5] + " | " +
row[0] + " | " +
row[1] + " " +
row[2] + " | Tickets |
";
},
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;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kwds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
}
};
}();
//BPW-TNSERV-02A
TN_Widget.AddCss('//tn-widget.seatics.com/widget2Css/WidgetStyle9.css');
TN_Widget.CreateTable([['Marc Anthony','Dickies Arena','Fort Worth, TX','Thursday','10/31/2024','8:00 PM','6457212','Marc-Anthony-10-31-2024'],['Marc Anthony','Moody Center ATX','Austin, TX','Saturday','11/2/2024','8:00 PM','6457213','Marc-Anthony-11-2-2024'],['Marc Anthony','Toyota Center - TX','Houston, TX','Sunday','11/3/2024','8:00 PM','6462461','Marc-Anthony-11-3-2024'],['Marc Anthony','Barclays Center','Brooklyn, NY','Thursday','11/7/2024','8:00 PM','6457214','Marc-Anthony-11-7-2024'],['Marc Anthony','Spectrum Center','Charlotte, NC','Saturday','11/9/2024','8:00 PM','6457215','Marc-Anthony-11-9-2024'],['Marc Anthony','Kaseya Center','Miami, FL','Saturday','11/16/2024','8:00 PM','6723298','Marc-Anthony-11-16-2024'],['Marc Anthony','Kaseya Center','Miami, FL','Sunday','11/17/2024','8:00 PM','6457216','Marc-Anthony-11-17-2024'],['Marc Anthony','Allstate Arena','Rosemont, IL','Friday','11/22/2024','8:00 PM','6457217','Marc-Anthony-11-22-2024'],['Marc Anthony','State Farm Arena - GA','Atlanta, GA','Sunday','11/24/2024','8:00 PM','6457387','Marc-Anthony-11-24-2024']],'Marc Anthony','http://www.ticketnetwork.com/ticket/Marc-Anthony-events.aspx');