//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "Tickets",
tixUrl : "https://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[3] +" "+"" +
row[4] + " "+"" +
row[5] + " | "+"" +
row[0] +" | " +
row[1] +" " +
row[2] +" | "+""+ 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([['Chat Pile','The Deluxe at Old National Centre','Indianapolis, IN','Friday','11/20/2026','7:30 PM','8038474','Chat-Pile-11-20-2026'],['DJ Meredith Marks','The Deluxe at Old National Centre','Indianapolis, IN','Saturday','11/21/2026','8:30 PM','8265723','DJ-Meredith-Marks-11-21-2026'],['Pouya','The Deluxe at Old National Centre','Indianapolis, IN','Sunday','12/6/2026','8:00 PM','8062215','Pouya-12-6-2026'],['Broadway Does Punk','The Deluxe at Old National Centre','Indianapolis, IN','Wednesday','1/27/2027','7:00 PM','8374121','Broadway-Does-Punk-1-27-2027'],['As I Lay Dying','The Deluxe at Old National Centre','Indianapolis, IN','Thursday','2/4/2027','7:30 PM','8266961','As-I-Lay-Dying-2-4-2027'],['Mod Sun','The Deluxe at Old National Centre','Indianapolis, IN','Wednesday','3/3/2027','7:00 PM','8376795','Mod-Sun-3-3-2027'],['Mico','The Deluxe at Old National Centre','Indianapolis, IN','Tuesday','3/9/2027','8:00 PM','8315056','Mico-3-9-2027'],['Babyfxce E','The Deluxe at Old National Centre','Indianapolis, IN','Thursday','3/18/2027','8:00 PM','8337103','Babyfxce-E-3-18-2027'],['Elderbrook','The Deluxe at Old National Centre','Indianapolis, IN','Tuesday','3/30/2027','8:00 PM','8326432','Elderbrook-3-30-2027'],['Alaska Thunderfuck 5000','The Deluxe at Old National Centre','Indianapolis, IN','Thursday','4/8/2027','8:00 PM','8266333','Alaska-Thunderfuck-5000-4-8-2027'],['Cyclops','The Deluxe at Old National Centre','Indianapolis, IN','Friday','4/9/2027','8:00 PM','8332596','Cyclops-4-9-2027'],['John Michael Howell','The Deluxe at Old National Centre','Indianapolis, IN','Sunday','5/16/2027','6:00 PM','8366315','John-Michael-Howell-5-16-2027']],'Deluxe at Old National Centre','https://www.ticketnetwork.com/ticket/Deluxe-at-Old-National-Centre-events.aspx');