//
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([['Kalamazoo Wings vs. Iowa Heartlanders','Wings Event Center','Kalamazoo, MI','Friday','2/28/2025','7:00 PM','6491195','Kalamazoo-Wings-vs--Iowa-Heartlanders-2-28-2025'],['NHL Stadium Series: Columbus Blue Jackets vs. Detroit Red Wings','Ohio Stadium','Columbus, OH','Saturday','3/1/2025','6:00 PM','6270840','NHL-Stadium-Series--Columbus-Blue-Jackets-vs--Detroit-Red-Wings-3-1-2025'],['Kalamazoo Wings vs. Fort Wayne Komets','Wings Event Center','Kalamazoo, MI','Sunday','3/2/2025','3:00 PM','6491198','Kalamazoo-Wings-vs--Fort-Wayne-Komets-3-2-2025'],['Kalamazoo Wings vs. Atlanta Gladiators','Wings Event Center','Kalamazoo, MI','Friday','3/7/2025','7:00 PM','6491202','Kalamazoo-Wings-vs--Atlanta-Gladiators-3-7-2025'],['Kalamazoo Wings vs. Atlanta Gladiators','Wings Event Center','Kalamazoo, MI','Saturday','3/8/2025','7:00 PM','6491203','Kalamazoo-Wings-vs--Atlanta-Gladiators-3-8-2025'],['Kalamazoo Wings vs. Toledo Walleye','Wings Event Center','Kalamazoo, MI','Saturday','3/15/2025','7:00 PM','6491205','Kalamazoo-Wings-vs--Toledo-Walleye-3-15-2025'],['Kalamazoo Wings vs. Toledo Walleye','Wings Event Center','Kalamazoo, MI','Sunday','3/16/2025','3:00 PM','6491206','Kalamazoo-Wings-vs--Toledo-Walleye-3-16-2025'],['Kalamazoo Wings vs. Cincinnati Cyclones','Wings Event Center','Kalamazoo, MI','Wednesday','3/26/2025','7:00 PM','6491208','Kalamazoo-Wings-vs--Cincinnati-Cyclones-3-26-2025'],['Dwight Yoakam, The Mavericks & 49 Winchester','Wings Event Center','Kalamazoo, MI','Thursday','3/27/2025','7:00 PM','6826696','Dwight-Yoakam--The-Mavericks---49-Winchester-3-27-2025'],['Kalamazoo Wings Vs. South Carolina Stingrays','Wings Event Center','Kalamazoo, MI','Friday','3/28/2025','7:00 PM','6491209','Kalamazoo-Wings-Vs--South-Carolina-Stingrays-3-28-2025'],['Kalamazoo Wings Vs. South Carolina Stingrays','Wings Event Center','Kalamazoo, MI','Saturday','3/29/2025','7:00 PM','6491210','Kalamazoo-Wings-Vs--South-Carolina-Stingrays-3-29-2025'],['Kalamazoo Wings vs. Fort Wayne Komets','Wings Event Center','Kalamazoo, MI','Tuesday','4/1/2025','7:00 PM','6491212','Kalamazoo-Wings-vs--Fort-Wayne-Komets-4-1-2025'],['Kalamazoo Wings vs. Indy Fuel','Wings Event Center','Kalamazoo, MI','Saturday','4/12/2025','7:00 PM','6491214','Kalamazoo-Wings-vs--Indy-Fuel-4-12-2025'],['Kalamazoo Wings vs. Iowa Heartlanders','Wings Event Center','Kalamazoo, MI','Sunday','4/13/2025','3:00 PM','6491217','Kalamazoo-Wings-vs--Iowa-Heartlanders-4-13-2025'],['Syracuse Mets vs. Rochester Red Wings','NBT Bank Stadium','Syracuse, NY','Tuesday','5/20/2025','6:05 PM','6632867','Syracuse-Mets-vs--Rochester-Red-Wings-5-20-2025'],['Syracuse Mets vs. Rochester Red Wings','NBT Bank Stadium','Syracuse, NY','Wednesday','5/21/2025','11:05 AM','6632868','Syracuse-Mets-vs--Rochester-Red-Wings-5-21-2025'],['Syracuse Mets vs. Rochester Red Wings','NBT Bank Stadium','Syracuse, NY','Thursday','5/22/2025','6:35 PM','6632869','Syracuse-Mets-vs--Rochester-Red-Wings-5-22-2025'],['Syracuse Mets vs. Rochester Red Wings','NBT Bank Stadium','Syracuse, NY','Friday','5/23/2025','6:35 PM','6632870','Syracuse-Mets-vs--Rochester-Red-Wings-5-23-2025'],['Syracuse Mets vs. Rochester Red Wings','NBT Bank Stadium','Syracuse, NY','Saturday','5/24/2025','6:35 PM','6632871','Syracuse-Mets-vs--Rochester-Red-Wings-5-24-2025'],['Syracuse Mets vs. Rochester Red Wings','NBT Bank Stadium','Syracuse, NY','Sunday','5/25/2025','6:35 PM','6632872','Syracuse-Mets-vs--Rochester-Red-Wings-5-25-2025'],['The Avett Brothers','Wings Event Center','Kalamazoo, MI','Friday','6/27/2025','7:30 PM','6958727','The-Avett-Brothers-6-27-2025'],['Los Angeles Sparks vs. Dallas Wings','Crypto.com Arena','Los Angeles, CA','Wednesday','8/20/2025','7:00 PM','6859743','Los-Angeles-Sparks-vs--Dallas-Wings-8-20-2025'],['Los Angeles Sparks vs. Dallas Wings','Crypto.com Arena','Los Angeles, CA','Sunday','9/7/2025','3:00 PM','6859748','Los-Angeles-Sparks-vs--Dallas-Wings-9-7-2025']],'Wings Stadium','https://www.ticketnetwork.com/ticket/Wings-Stadium-events.aspx');