//
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([['Empire of the Sun','Neal S. Blaisdell Center - Arena','Honolulu, HI','Wednesday','2/26/2025','8:00 PM','6871940','Empire-of-the-Sun-2-26-2025'],['Super American Circus','Neal S. Blaisdell Center - Arena','Honolulu, HI','Friday','2/28/2025','5:00 PM','6957176','Super-American-Circus-2-28-2025'],['Super American Circus','Neal S. Blaisdell Center - Arena','Honolulu, HI','Friday','2/28/2025','8:00 PM','6957177','Super-American-Circus-2-28-2025'],['Super American Circus','Neal S. Blaisdell Center - Arena','Honolulu, HI','Saturday','3/1/2025','1:00 PM','6957178','Super-American-Circus-3-1-2025'],['Super American Circus','Neal S. Blaisdell Center - Arena','Honolulu, HI','Saturday','3/1/2025','4:30 PM','6957179','Super-American-Circus-3-1-2025'],['Super American Circus','Neal S. Blaisdell Center - Arena','Honolulu, HI','Saturday','3/1/2025','7:30 PM','6957180','Super-American-Circus-3-1-2025'],['Super American Circus','Neal S. Blaisdell Center - Arena','Honolulu, HI','Sunday','3/2/2025','1:00 PM','6957182','Super-American-Circus-3-2-2025'],['Super American Circus','Neal S. Blaisdell Center - Arena','Honolulu, HI','Sunday','3/2/2025','4:30 PM','6957181','Super-American-Circus-3-2-2025'],['Taemin','Neal S. Blaisdell Center - Arena','Honolulu, HI','Saturday','3/22/2025','7:30 PM','6941177','Taemin-3-22-2025'],['Life Surge Experience: Robert Herjavec, Nick Vujicic, Bethany Hamilton & Ed Mylett','Neal S. Blaisdell Center - Arena','Honolulu, HI','Saturday','3/29/2025','8:30 AM','6922936','Life-Surge-Experience--Robert-Herjavec--Nick-Vujicic--Bethany-Hamilton---Ed-Mylett-3-29-2025'],['Maoli','Neal S. Blaisdell Center - Arena','Honolulu, HI','Friday','6/27/2025','7:30 PM','6824260','Maoli-6-27-2025'],['Maoli','Neal S. Blaisdell Center - Arena','Honolulu, HI','Saturday','6/28/2025','7:30 PM','6820017','Maoli-6-28-2025'],['Matt Rife','Neal S. Blaisdell Center - Arena','Honolulu, HI','Saturday','7/5/2025','8:00 PM','6837588','Matt-Rife-7-5-2025'],['Ado - Artist','Neal S. Blaisdell Center - Arena','Honolulu, HI','Sunday','8/24/2025','8:00 PM','6786979','Ado---Artist-8-24-2025']],'Neal S. Blaisdell Arena','https://www.ticketnetwork.com/ticket/Neal-S.-Blaisdell-Arena-events.aspx');