//
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-04A
TN_Widget.CreateTable([['Blue October','Palladium Times Square','New York, NY','Wednesday','11/4/2026','8:00 PM','7827965','Blue-October-11-4-2026'],['Imminence & Dying Wish','Palladium Times Square','New York, NY','Saturday','11/14/2026','7:00 PM','8057221','Imminence---Dying-Wish-11-14-2026'],['Crystal Waters','Palladium Times Square','New York, NY','Thursday','11/19/2026','8:00 PM','8234644','Crystal-Waters-11-19-2026'],['Grupo Duelo','Palladium Times Square','New York, NY','Saturday','11/21/2026','8:00 PM','7774934','Grupo-Duelo-11-21-2026'],['Inna','Palladium Times Square','New York, NY','Sunday','11/22/2026','8:00 PM','7710350','Inna-11-22-2026'],['BURAY - Live In New York With A Full Orchestra','Palladium Times Square','New York, NY','Wednesday','11/25/2026','8:00 PM','8263029','BURAY---Live-In-New-York-With-A-Full-Orchestra-11-25-2026'],['A Night of Classic R&B','Palladium Times Square','New York, NY','Friday','11/27/2026','8:00 PM','8049868','A-Night-of-Classic-R-B-11-27-2026'],['El Tri de Alex Lora','Palladium Times Square','New York, NY','Saturday','11/28/2026','8:00 PM','8228666','El-Tri-de-Alex-Lora-11-28-2026'],['Dragonforce','Palladium Times Square','New York, NY','Sunday','11/29/2026','7:30 PM','7997083','Dragonforce-11-29-2026'],['GWAR','Palladium Times Square','New York, NY','Thursday','12/10/2026','7:00 PM','7916951','GWAR-12-10-2026'],['Silverstein & Story Of The Year','Palladium Times Square','New York, NY','Saturday','12/12/2026','7:00 PM','8166414','Silverstein---Story-Of-The-Year-12-12-2026'],['Oneus','Palladium Times Square','New York, NY','Wednesday','12/16/2026','7:30 PM','8243087','Oneus-12-16-2026'],['Belinda Carlisle','Palladium Times Square','New York, NY','Wednesday','12/30/2026','8:00 PM','8219365','Belinda-Carlisle-12-30-2026'],['Crush 40','Palladium Times Square','New York, NY','Saturday','4/10/2027','7:30 PM','8053249','Crush-40-4-10-2027'],['Untitled Musical','Palladium Times Square','New York, NY','Monday','5/17/2027','7:30 PM','8053213','Untitled-Musical-5-17-2027']],'Best Buy Theater','http://www.ticketnetwork.com/ticket/Best-Buy-Theater-events.aspx');