//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
| " +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
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,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
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 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01A
TN_Widget.CreateTable([['Molotov','Palladium Times Square','New York, NY','Friday','2/20/2026','8:00 PM','7472676','Molotov-2-20-2026'],['Noize MC','Palladium Times Square','New York, NY','Saturday','3/21/2026','9:00 PM','7383168','Noize-MC-3-21-2026'],['Sabrina Claudio','Palladium Times Square','New York, NY','Friday','3/27/2026','8:00 PM','7537212','Sabrina-Claudio-3-27-2026'],['Hollow Crown Tour: ThxSoMch','Palladium Times Square','New York, NY','Saturday','3/28/2026','5:00 PM','7631576','Hollow-Crown-Tour--ThxSoMch-3-28-2026'],['Snow Tha Product','Palladium Times Square','New York, NY','Saturday','4/11/2026','8:00 PM','7600337','Snow-Tha-Product-4-11-2026'],['Emo Orchestra & The Spill Canvas','Palladium Times Square','New York, NY','Wednesday','4/15/2026','7:00 PM','7619169','Emo-Orchestra---The-Spill-Canvas-4-15-2026'],['Helloween','Palladium Times Square','New York, NY','Friday','4/17/2026','7:30 PM','7540402','Helloween-4-17-2026'],['Caifanes','Palladium Times Square','New York, NY','Friday','5/1/2026','8:00 PM','7524731','Caifanes-5-1-2026'],['Josiah Queen','Palladium Times Square','New York, NY','Wednesday','5/6/2026','8:00 PM','7387553','Josiah-Queen-5-6-2026'],['Josiah Queen','Palladium Times Square','New York, NY','Thursday','5/7/2026','8:00 PM','7376321','Josiah-Queen-5-7-2026'],['McDonald's Gospelfest','Palladium Times Square','New York, NY','Saturday','5/9/2026','2:30 PM','7631771','McDonald-s-Gospelfest-5-9-2026'],['McDonald's Gospelfest','Palladium Times Square','New York, NY','Saturday','5/9/2026','7:30 PM','7631773','McDonald-s-Gospelfest-5-9-2026'],['McDonald's Gospelfest','Palladium Times Square','New York, NY','Sunday','5/10/2026','6:00 PM','7631772','McDonald-s-Gospelfest-5-10-2026']],'Best Buy Theater','http://www.ticketnetwork.com/ticket/Best-Buy-Theater-events.aspx');