//
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([['Hershey Bears vs. Syracuse Crunch','Giant Center','Hershey, PA','Saturday','2/8/2025','7:00 PM','6561648','Hershey-Bears-vs--Syracuse-Crunch-2-8-2025'],['Hershey Bears vs. Wilkes-Barre Scranton Penguins','Giant Center','Hershey, PA','Tuesday','2/11/2025','7:00 PM','6561650','Hershey-Bears-vs--Wilkes-Barre-Scranton-Penguins-2-11-2025'],['Wilkes-Barre Scranton Penguins vs. Hershey Bears','Mohegan Sun Arena at Casey Plaza','Wilkes Barre, PA','Saturday','2/15/2025','6:05 PM','6561604','Wilkes-Barre-Scranton-Penguins-vs--Hershey-Bears-2-15-2025'],['Charlotte Checkers vs. Hershey Bears','Bojangles Coliseum','Charlotte, NC','Saturday','2/22/2025','4:00 PM','6562226','Charlotte-Checkers-vs--Hershey-Bears-2-22-2025'],['Charlotte Checkers vs. Hershey Bears','Bojangles Coliseum','Charlotte, NC','Sunday','2/23/2025','1:00 PM','6562228','Charlotte-Checkers-vs--Hershey-Bears-2-23-2025'],['Hershey Bears vs. Wilkes-Barre Scranton Penguins','Giant Center','Hershey, PA','Saturday','3/1/2025','7:00 PM','6561651','Hershey-Bears-vs--Wilkes-Barre-Scranton-Penguins-3-1-2025'],['Hershey Bears vs. Lehigh Valley Phantoms','Giant Center','Hershey, PA','Sunday','3/2/2025','5:00 PM','6561652','Hershey-Bears-vs--Lehigh-Valley-Phantoms-3-2-2025'],['Hershey Bears vs. Belleville Senators','Giant Center','Hershey, PA','Wednesday','3/5/2025','7:00 PM','6561654','Hershey-Bears-vs--Belleville-Senators-3-5-2025'],['Cleveland Monsters vs. Hershey Bears','Rocket Mortgage FieldHouse','Cleveland, OH','Friday','3/7/2025','7:00 PM','6562389','Cleveland-Monsters-vs--Hershey-Bears-3-7-2025'],['Cleveland Monsters vs. Hershey Bears','Rocket Mortgage FieldHouse','Cleveland, OH','Saturday','3/8/2025','4:00 PM','6562390','Cleveland-Monsters-vs--Hershey-Bears-3-8-2025'],['Wilkes-Barre Scranton Penguins vs. Hershey Bears','Mohegan Sun Arena at Casey Plaza','Wilkes Barre, PA','Wednesday','3/12/2025','7:05 PM','6561617','Wilkes-Barre-Scranton-Penguins-vs--Hershey-Bears-3-12-2025'],['Chicago Wolves vs. Hershey Bears','Allstate Arena','Rosemont, IL','Saturday','3/15/2025','7:00 PM','6562321','Chicago-Wolves-vs--Hershey-Bears-3-15-2025'],['Chicago Wolves vs. Hershey Bears','Allstate Arena','Rosemont, IL','Sunday','3/16/2025','3:00 PM','6562323','Chicago-Wolves-vs--Hershey-Bears-3-16-2025'],['Springfield Thunderbirds vs. Hershey Bears','Massmutual Center','Springfield, MA','Wednesday','3/19/2025','7:05 PM','6562710','Springfield-Thunderbirds-vs--Hershey-Bears-3-19-2025'],['Hartford Wolf Pack vs. Hershey Bears','XL Center','Hartford, CT','Friday','3/21/2025','7:00 PM','6562559','Hartford-Wolf-Pack-vs--Hershey-Bears-3-21-2025'],['Wilkes-Barre Scranton Penguins vs. Hershey Bears','Mohegan Sun Arena at Casey Plaza','Wilkes Barre, PA','Saturday','3/22/2025','6:05 PM','6561622','Wilkes-Barre-Scranton-Penguins-vs--Hershey-Bears-3-22-2025'],['Bridgeport Islanders vs. Hershey Bears','Total Mortgage Arena','Bridgeport, CT','Wednesday','3/26/2025','7:00 PM','6562104','Bridgeport-Islanders-vs--Hershey-Bears-3-26-2025'],['Utica Comets vs. Hershey Bears','Adirondack Bank Center at Utica Memorial Auditorium','Utica, NY','Saturday','3/29/2025','7:00 PM','6561795','Utica-Comets-vs--Hershey-Bears-3-29-2025'],['Hershey Bears vs. Utica Comets','Giant Center','Hershey, PA','Sunday','3/30/2025','5:00 PM','6561655','Hershey-Bears-vs--Utica-Comets-3-30-2025'],['Lehigh Valley Phantoms vs. Hershey Bears','PPL Center','Allentown, PA','Friday','4/4/2025','7:05 PM','6562932','Lehigh-Valley-Phantoms-vs--Hershey-Bears-4-4-2025'],['Hershey Bears vs. Hartford Wolf Pack','Giant Center','Hershey, PA','Saturday','4/5/2025','7:00 PM','6561656','Hershey-Bears-vs--Hartford-Wolf-Pack-4-5-2025'],['Hershey Bears vs. Hartford Wolf Pack','Giant Center','Hershey, PA','Sunday','4/6/2025','5:00 PM','6561657','Hershey-Bears-vs--Hartford-Wolf-Pack-4-6-2025'],['Wilkes-Barre Scranton Penguins vs. Hershey Bears','Mohegan Sun Arena at Casey Plaza','Wilkes Barre, PA','Friday','4/11/2025','7:05 PM','6561634','Wilkes-Barre-Scranton-Penguins-vs--Hershey-Bears-4-11-2025'],['Lehigh Valley Phantoms vs. Hershey Bears','PPL Center','Allentown, PA','Saturday','4/12/2025','7:05 PM','6562934','Lehigh-Valley-Phantoms-vs--Hershey-Bears-4-12-2025'],['Hershey Bears vs. Syracuse Crunch','Giant Center','Hershey, PA','Wednesday','4/16/2025','7:00 PM','6561658','Hershey-Bears-vs--Syracuse-Crunch-4-16-2025'],['Hershey Bears vs. Wilkes-Barre Scranton Penguins','Giant Center','Hershey, PA','Friday','4/18/2025','7:00 PM','6561659','Hershey-Bears-vs--Wilkes-Barre-Scranton-Penguins-4-18-2025'],['Hershey Bears vs. Lehigh Valley Phantoms','Giant Center','Hershey, PA','Saturday','4/19/2025','7:00 PM','6561660','Hershey-Bears-vs--Lehigh-Valley-Phantoms-4-19-2025']],'Hershey Bears','https://www.ticketnetwork.com/ticket/Hershey-Bears-events.aspx');