//
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-03A
TN_Widget.CreateTable([['Brantley Gilbert','Angel of the Winds Arena','Everett, WA','Thursday','2/27/2025','7:00 PM','6844904','Brantley-Gilbert-2-27-2025'],['Everett Silvertips vs. Seattle Thunderbirds','Angel of the Winds Arena','Everett, WA','Friday','2/28/2025','7:05 PM','6534286','Everett-Silvertips-vs--Seattle-Thunderbirds-2-28-2025'],['Everett Silvertips vs. Vancouver Giants','Angel of the Winds Arena','Everett, WA','Saturday','3/1/2025','6:05 PM','6534287','Everett-Silvertips-vs--Vancouver-Giants-3-1-2025'],['Zhou Shen','Angel of the Winds Arena','Everett, WA','Wednesday','3/5/2025','8:00 PM','6934689','Zhou-Shen-3-5-2025'],['Everett Silvertips vs. Prince George Cougars','Angel of the Winds Arena','Everett, WA','Saturday','3/8/2025','6:05 PM','6534289','Everett-Silvertips-vs--Prince-George-Cougars-3-8-2025'],['Everett Silvertips vs. Portland Winterhawks','Angel of the Winds Arena','Everett, WA','Friday','3/14/2025','7:05 PM','6534290','Everett-Silvertips-vs--Portland-Winterhawks-3-14-2025'],['Washington Wolfpack Season Tickets (Includes Tickets To All Regular Season Home Games)','Angel of the Winds Arena','Everett, WA','Saturday','3/15/2025','TBD','6989608','Washington-Wolfpack-Season-Tickets--Includes-Tickets-To-All-Regular-Season-Home-Games--3-15-2025'],['Everett Silvertips vs. Wenatchee Wild','Angel of the Winds Arena','Everett, WA','Friday','3/21/2025','7:05 PM','6534293','Everett-Silvertips-vs--Wenatchee-Wild-3-21-2025'],['Gabriel Iglesias','Angel of the Winds Arena','Everett, WA','Sunday','3/23/2025','7:30 PM','6775441','Gabriel-Iglesias-3-23-2025'],['Crime Junkie Podcast Live','Angel of the Winds Arena','Everett, WA','Friday','4/4/2025','8:00 PM','6858705','Crime-Junkie-Podcast-Live-4-4-2025'],['Kings of the West: Bone Thugs N Harmony','Angel of the Winds Arena','Everett, WA','Sunday','4/6/2025','7:00 PM','6882650','Kings-of-the-West--Bone-Thugs-N-Harmony-4-6-2025'],['Hot Wheels Monster Trucks Live Glow-N-Fire','Angel of the Winds Arena','Everett, WA','Saturday','6/21/2025','12:30 PM','6985142','Hot-Wheels-Monster-Trucks-Live-Glow-N-Fire-6-21-2025'],['Hot Wheels Monster Trucks Live Glow-N-Fire','Angel of the Winds Arena','Everett, WA','Saturday','6/21/2025','7:30 PM','6986581','Hot-Wheels-Monster-Trucks-Live-Glow-N-Fire-6-21-2025'],['Hot Wheels Monster Trucks Live Glow-N-Fire','Angel of the Winds Arena','Everett, WA','Sunday','6/22/2025','2:30 PM','6986615','Hot-Wheels-Monster-Trucks-Live-Glow-N-Fire-6-22-2025'],['Nikki Glaser','Angel of the Winds Arena','Everett, WA','Thursday','9/11/2025','7:00 PM','7009151','Nikki-Glaser-9-11-2025']],'Comcast Arena at Everett','https://www.ticketnetwork.com/ticket/Comcast-Arena-at-Everett-events.aspx');