//
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([['Holo Holo Festival: J Boog, Kolohe Kai, Iam Tongi & Anuhea - 2 Day Pass','Tacoma Dome','Tacoma, WA','Saturday','11/9/2024','TBD','6558188','Holo-Holo-Festival--J-Boog--Kolohe-Kai--Iam-Tongi---Anuhea---2-Day-Pass-11-9-2024'],['Holo Holo Festival: Kolohe Kai, Steel Pulse & Iam Tongi - Saturday','Tacoma Dome','Tacoma, WA','Saturday','11/9/2024','2:00 PM','6473494','Holo-Holo-Festival--Kolohe-Kai--Steel-Pulse---Iam-Tongi---Saturday-11-9-2024'],['Holo Holo Festival: J Boog, The Green & Rebel Souljahz - Sunday','Tacoma Dome','Tacoma, WA','Sunday','11/10/2024','2:00 PM','6473495','Holo-Holo-Festival--J-Boog--The-Green---Rebel-Souljahz---Sunday-11-10-2024'],['Subtronics - 3 Day Pass','Tacoma Dome','Tacoma, WA','Friday','11/15/2024','TBD','6544900','Subtronics---3-Day-Pass-11-15-2024'],['Subtronics, RL Grime & Tape B','Tacoma Dome','Tacoma, WA','Friday','11/15/2024','7:45 PM','6538638','Subtronics--RL-Grime---Tape-B-11-15-2024'],['Subtronics, Alison Wonderland & Deathpact','Tacoma Dome','Tacoma, WA','Saturday','11/16/2024','7:45 PM','6538700','Subtronics--Alison-Wonderland---Deathpact-11-16-2024'],['Subtronics, Nghtmre & Dimension','Tacoma Dome','Tacoma, WA','Sunday','11/17/2024','7:45 PM','6540999','Subtronics--Nghtmre---Dimension-11-17-2024'],['Zach Bryan, Matt Maeson & Levi Turner','Tacoma Dome','Tacoma, WA','Friday','11/22/2024','7:00 PM','5909168','Zach-Bryan--Matt-Maeson---Levi-Turner-11-22-2024'],['Zach Bryan, Matt Maeson & Levi Turner','Tacoma Dome','Tacoma, WA','Saturday','11/23/2024','7:00 PM','5909169','Zach-Bryan--Matt-Maeson---Levi-Turner-11-23-2024'],['Monster Jam','Tacoma Dome','Tacoma, WA','Friday','1/17/2025','7:00 PM','6689566','Monster-Jam-1-17-2025'],['Monster Jam','Tacoma Dome','Tacoma, WA','Saturday','1/18/2025','1:00 PM','6689567','Monster-Jam-1-18-2025'],['Monster Jam','Tacoma Dome','Tacoma, WA','Saturday','1/18/2025','7:00 PM','6689568','Monster-Jam-1-18-2025'],['Monster Jam','Tacoma Dome','Tacoma, WA','Sunday','1/19/2025','1:00 PM','6689569','Monster-Jam-1-19-2025'],['Monster Jam','Tacoma Dome','Tacoma, WA','Sunday','1/19/2025','6:30 PM','6689570','Monster-Jam-1-19-2025'],['Excision - 3 Day Pass','Tacoma Dome','Tacoma, WA','Friday','2/7/2025','TBD','6759383','Excision---3-Day-Pass-2-7-2025'],['Excision','Tacoma Dome','Tacoma, WA','Friday','2/7/2025','5:00 PM','6759384','Excision-2-7-2025'],['Excision','Tacoma Dome','Tacoma, WA','Saturday','2/8/2025','5:00 PM','6759385','Excision-2-8-2025'],['Excision','Tacoma Dome','Tacoma, WA','Sunday','2/9/2025','5:00 PM','6759386','Excision-2-9-2025'],['Paw Patrol Live','Tacoma Dome','Tacoma, WA','Tuesday','3/18/2025','6:00 PM','6737309','Paw-Patrol-Live-3-18-2025'],['Paw Patrol Live','Tacoma Dome','Tacoma, WA','Wednesday','3/19/2025','6:00 PM','6737310','Paw-Patrol-Live-3-19-2025'],['Black Tiger Sex Machine - 2 Day Pass','Tacoma Dome','Tacoma, WA','Friday','4/4/2025','TBD','6768566','Black-Tiger-Sex-Machine---2-Day-Pass-4-4-2025'],['Black Tiger Sex Machine','Tacoma Dome','Tacoma, WA','Friday','4/4/2025','7:00 PM','6768499','Black-Tiger-Sex-Machine-4-4-2025'],['Black Tiger Sex Machine','Tacoma Dome','Tacoma, WA','Saturday','4/5/2025','7:00 PM','6768500','Black-Tiger-Sex-Machine-4-5-2025'],['Jeff Dunham','Tacoma Dome','Tacoma, WA','Thursday','4/24/2025','7:00 PM','6736836','Jeff-Dunham-4-24-2025'],['PBR - Unleash The Beast','Tacoma Dome','Tacoma, WA','Saturday','4/26/2025','TBD','6670699','PBR---Unleash-The-Beast-4-26-2025'],['PBR - Unleash The Beast','Tacoma Dome','Tacoma, WA','Sunday','4/27/2025','TBD','6670700','PBR---Unleash-The-Beast-4-27-2025']],'Tacoma Dome','https://www.ticketnetwork.com/ticket/Tacoma-Dome-events.aspx');