//
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-01A
TN_Widget.CreateTable([['Waterloo Black Hawks vs. Des Moines Buccaneers','Young Arena','Waterloo, IA','Friday','1/31/2025','7:05 PM','6670491','Waterloo-Black-Hawks-vs--Des-Moines-Buccaneers-1-31-2025'],['Dubuque Fighting Saints vs. Waterloo Black Hawks','ImOn Arena','Dubuque, IA','Friday','2/7/2025','7:05 PM','6610641','Dubuque-Fighting-Saints-vs--Waterloo-Black-Hawks-2-7-2025'],['Waterloo Black Hawks vs. Youngstown Phantoms','Young Arena','Waterloo, IA','Saturday','2/8/2025','6:05 PM','6670493','Waterloo-Black-Hawks-vs--Youngstown-Phantoms-2-8-2025'],['Waterloo Black Hawks vs. Green Bay Gamblers','Young Arena','Waterloo, IA','Tuesday','2/11/2025','7:05 PM','6670494','Waterloo-Black-Hawks-vs--Green-Bay-Gamblers-2-11-2025'],['Waterloo Black Hawks vs. Des Moines Buccaneers','Young Arena','Waterloo, IA','Friday','2/14/2025','7:05 PM','6670495','Waterloo-Black-Hawks-vs--Des-Moines-Buccaneers-2-14-2025'],['Cedar Rapids RoughRiders vs. Waterloo Black Hawks','ImOn Ice Arena','Cedar Rapids, IA','Saturday','2/15/2025','7:05 PM','6670438','Cedar-Rapids-RoughRiders-vs--Waterloo-Black-Hawks-2-15-2025'],['Waterloo Black Hawks vs. Chicago Steel','Young Arena','Waterloo, IA','Friday','2/21/2025','7:05 PM','6670497','Waterloo-Black-Hawks-vs--Chicago-Steel-2-21-2025'],['Waterloo Black Hawks vs. Cedar Rapids Roughriders','Young Arena','Waterloo, IA','Saturday','2/22/2025','6:05 PM','6670499','Waterloo-Black-Hawks-vs--Cedar-Rapids-Roughriders-2-22-2025'],['Waterloo Black Hawks vs. Madison Capitols','Young Arena','Waterloo, IA','Saturday','3/1/2025','6:05 PM','6670500','Waterloo-Black-Hawks-vs--Madison-Capitols-3-1-2025'],['Tri-City Storm vs. Waterloo Black Hawks','Viaero Event Center','Kearney, NE','Friday','3/7/2025','7:05 PM','6865746','Tri-City-Storm-vs--Waterloo-Black-Hawks-3-7-2025'],['Lincoln Stars vs. Waterloo Black Hawks','The Ice Box - NE','Lincoln, NE','Saturday','3/8/2025','6:05 PM','6711223','Lincoln-Stars-vs--Waterloo-Black-Hawks-3-8-2025'],['Chicago Steel vs. Waterloo Black Hawks','Fox Valley Ice Arena','Geneva, IL','Friday','3/14/2025','7:05 PM','6612048','Chicago-Steel-vs--Waterloo-Black-Hawks-3-14-2025'],['Waterloo Black Hawks vs. Dubuque Fighting Saints','Young Arena','Waterloo, IA','Saturday','3/15/2025','6:05 PM','6670503','Waterloo-Black-Hawks-vs--Dubuque-Fighting-Saints-3-15-2025'],['Sioux Falls Stampede vs. Waterloo Black Hawks','Denny Sanford Premier Center','Sioux Falls, SD','Tuesday','3/18/2025','7:05 PM','6670659','Sioux-Falls-Stampede-vs--Waterloo-Black-Hawks-3-18-2025'],['Dubuque Fighting Saints vs. Waterloo Black Hawks','ImOn Arena','Dubuque, IA','Friday','3/21/2025','7:05 PM','6610647','Dubuque-Fighting-Saints-vs--Waterloo-Black-Hawks-3-21-2025'],['Cedar Rapids RoughRiders vs. Waterloo Black Hawks','ImOn Ice Arena','Cedar Rapids, IA','Saturday','3/22/2025','7:05 PM','6670450','Cedar-Rapids-RoughRiders-vs--Waterloo-Black-Hawks-3-22-2025'],['Waterloo Black Hawks vs. Sioux Falls Stampede','Young Arena','Waterloo, IA','Friday','3/28/2025','7:05 PM','6670538','Waterloo-Black-Hawks-vs--Sioux-Falls-Stampede-3-28-2025'],['Waterloo Black Hawks vs. USA Hockey National Team Development Program','Young Arena','Waterloo, IA','Saturday','3/29/2025','6:05 PM','6670544','Waterloo-Black-Hawks-vs--USA-Hockey-National-Team-Development-Program-3-29-2025'],['Youngstown Phantoms vs. Waterloo Black Hawks','Covelli Centre - Youngstown','Youngstown, OH','Friday','4/4/2025','7:05 PM','6677225','Youngstown-Phantoms-vs--Waterloo-Black-Hawks-4-4-2025'],['USA Hockey NTDP Under 18 Team vs. Waterloo Black Hawks','USA Hockey Arena','Plymouth, MI','Saturday','4/5/2025','7:00 PM','6612235','USA-Hockey-NTDP-Under-18-Team-vs--Waterloo-Black-Hawks-4-5-2025'],['Muskegon Lumberjacks vs. Waterloo Black Hawks','Trinity Health Arena','Muskegon, MI','Sunday','4/6/2025','3:00 PM','6630328','Muskegon-Lumberjacks-vs--Waterloo-Black-Hawks-4-6-2025'],['Waterloo Black Hawks vs. Sioux City Musketeers','Young Arena','Waterloo, IA','Friday','4/11/2025','7:05 PM','6670546','Waterloo-Black-Hawks-vs--Sioux-City-Musketeers-4-11-2025'],['Waterloo Black Hawks vs. Omaha Lancers','Young Arena','Waterloo, IA','Saturday','4/12/2025','6:05 PM','6670547','Waterloo-Black-Hawks-vs--Omaha-Lancers-4-12-2025']],'Waterloo Black Hawks','https://www.ticketnetwork.com/ticket/Waterloo-Black-Hawks-events.aspx');