//
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([['Lehigh Valley Phantoms vs. Cleveland Monsters','PPL Center','Allentown, PA','Friday','2/7/2025','7:05 PM','6562904','Lehigh-Valley-Phantoms-vs--Cleveland-Monsters-2-7-2025'],['Lehigh Valley Phantoms vs. Hartford Wolf Pack','PPL Center','Allentown, PA','Saturday','2/8/2025','7:05 PM','6562907','Lehigh-Valley-Phantoms-vs--Hartford-Wolf-Pack-2-8-2025'],['Wilkes-Barre Scranton Penguins vs. Lehigh Valley Phantoms','Mohegan Sun Arena at Casey Plaza','Wilkes Barre, PA','Friday','2/14/2025','7:05 PM','6561594','Wilkes-Barre-Scranton-Penguins-vs--Lehigh-Valley-Phantoms-2-14-2025'],['Lehigh Valley Phantoms vs. Syracuse Crunch','PPL Center','Allentown, PA','Saturday','2/15/2025','7:05 PM','6562909','Lehigh-Valley-Phantoms-vs--Syracuse-Crunch-2-15-2025'],['Lehigh Valley Phantoms vs. Wilkes-Barre Scranton Penguins','PPL Center','Allentown, PA','Sunday','2/16/2025','3:05 PM','6562910','Lehigh-Valley-Phantoms-vs--Wilkes-Barre-Scranton-Penguins-2-16-2025'],['Grand Rapids Griffins vs. Lehigh Valley Phantoms','Van Andel Arena','Grand Rapids, MI','Wednesday','2/19/2025','7:00 PM','6562853','Grand-Rapids-Griffins-vs--Lehigh-Valley-Phantoms-2-19-2025'],['Grand Rapids Griffins vs. Lehigh Valley Phantoms','Van Andel Arena','Grand Rapids, MI','Friday','2/21/2025','7:00 PM','6562854','Grand-Rapids-Griffins-vs--Lehigh-Valley-Phantoms-2-21-2025'],['Rockford Icehogs vs. Lehigh Valley Phantoms','BMO Harris Bank Center','Rockford, IL','Saturday','2/22/2025','7:00 PM','6561731','Rockford-Icehogs-vs--Lehigh-Valley-Phantoms-2-22-2025'],['Milwaukee Admirals vs. Lehigh Valley Phantoms','UWM Panther Arena','Milwaukee, WI','Tuesday','2/25/2025','7:00 PM','6562533','Milwaukee-Admirals-vs--Lehigh-Valley-Phantoms-2-25-2025'],['Lehigh Valley Phantoms vs. Bridgeport Islanders','PPL Center','Allentown, PA','Friday','2/28/2025','7:05 PM','6562915','Lehigh-Valley-Phantoms-vs--Bridgeport-Islanders-2-28-2025'],['Lehigh Valley Phantoms vs. Bridgeport Islanders','PPL Center','Allentown, PA','Saturday','3/1/2025','7:05 PM','6562916','Lehigh-Valley-Phantoms-vs--Bridgeport-Islanders-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'],['Charlotte Checkers vs. Lehigh Valley Phantoms','Bojangles Coliseum','Charlotte, NC','Saturday','3/8/2025','4:00 PM','6562234','Charlotte-Checkers-vs--Lehigh-Valley-Phantoms-3-8-2025'],['Charlotte Checkers vs. Lehigh Valley Phantoms','Bojangles Coliseum','Charlotte, NC','Sunday','3/9/2025','1:00 PM','6562235','Charlotte-Checkers-vs--Lehigh-Valley-Phantoms-3-9-2025'],['Lehigh Valley Phantoms vs. Wilkes-Barre Scranton Penguins','PPL Center','Allentown, PA','Friday','3/14/2025','7:05 PM','6562918','Lehigh-Valley-Phantoms-vs--Wilkes-Barre-Scranton-Penguins-3-14-2025'],['Lehigh Valley Phantoms vs. Wilkes-Barre Scranton Penguins','PPL Center','Allentown, PA','Sunday','3/16/2025','3:05 PM','6562926','Lehigh-Valley-Phantoms-vs--Wilkes-Barre-Scranton-Penguins-3-16-2025'],['Lehigh Valley Phantoms vs. Milwaukee Admirals','PPL Center','Allentown, PA','Wednesday','3/19/2025','7:05 PM','6562928','Lehigh-Valley-Phantoms-vs--Milwaukee-Admirals-3-19-2025'],['Lehigh Valley Phantoms vs. Syracuse Crunch','PPL Center','Allentown, PA','Friday','3/21/2025','7:05 PM','6562930','Lehigh-Valley-Phantoms-vs--Syracuse-Crunch-3-21-2025'],['Lehigh Valley Phantoms vs. Providence Bruins','PPL Center','Allentown, PA','Saturday','3/22/2025','7:05 PM','6562931','Lehigh-Valley-Phantoms-vs--Providence-Bruins-3-22-2025'],['Belleville Senators vs. Lehigh Valley Phantoms','CAA Arena','Belleville, Canada','Friday','3/28/2025','7:00 PM','6561993','Belleville-Senators-vs--Lehigh-Valley-Phantoms-3-28-2025'],['Laval Rocket vs. Lehigh Valley Phantoms','Place Bell','Laval, Canada','Saturday','3/29/2025','7:00 PM','6563004','Laval-Rocket-vs--Lehigh-Valley-Phantoms-3-29-2025'],['Bridgeport Islanders vs. Lehigh Valley Phantoms','Total Mortgage Arena','Bridgeport, CT','Wednesday','4/2/2025','10:30 AM','6562107','Bridgeport-Islanders-vs--Lehigh-Valley-Phantoms-4-2-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'],['Lehigh Valley Phantoms vs. Springfield Thunderbirds','PPL Center','Allentown, PA','Saturday','4/5/2025','7:05 PM','6562933','Lehigh-Valley-Phantoms-vs--Springfield-Thunderbirds-4-5-2025'],['Syracuse Crunch vs. Lehigh Valley Phantoms','Upstate Medical University Arena at Onondaga County War Memorial','Syracuse, NY','Friday','4/11/2025','7:00 PM','6562510','Syracuse-Crunch-vs--Lehigh-Valley-Phantoms-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'],['Lehigh Valley Phantoms vs. Cleveland Monsters','PPL Center','Allentown, PA','Friday','4/18/2025','7:05 PM','6562935','Lehigh-Valley-Phantoms-vs--Cleveland-Monsters-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']],'Adirondack Phantoms','https://www.ticketnetwork.com/ticket/Adirondack-Phantoms-events.aspx');