//
var TN_Widget = function() {
var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
return {
newWindow : true,
CreateEventRow : function(row, isAlt) {
var t = row[4].split("/");
t[0] = months[t[0]];
t[2] = ", " + t[2];
return "
" +
t[0] + " " + "" + t[1] + "" +
t[2] + " " +
row[3].substring(0,3) + " " +
row[5] + " | " +
row[0] + " " +
row[1] + " - " +
row[2] + " | " + this.btnText + "" +
" |
";
},
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,kwds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
var footerLink = "";
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else if(document.querySelector(".tnpl_results_container") != null) {
document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else
document.write("" + newTable.join('') + "" + footerLink + "
");
}
};
}();
//BPW-TNSERV-03A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['USA Hockey National Team Development Program vs. Omaha Lancers','USA Hockey Arena','Plymouth, MI','Friday','2/28/2025','7:00 PM','6675355','USA-Hockey-National-Team-Development-Program-vs--Omaha-Lancers-2-28-2025'],['USA Hockey National Team Development Program vs. Omaha Lancers','USA Hockey Arena','Plymouth, MI','Saturday','3/1/2025','7:00 PM','6675356','USA-Hockey-National-Team-Development-Program-vs--Omaha-Lancers-3-1-2025'],['Omaha Lancers vs. Tri-City Storm','Liberty First Credit Union Arena','Omaha, NE','Saturday','3/8/2025','6:05 PM','6669716','Omaha-Lancers-vs--Tri-City-Storm-3-8-2025'],['Omaha Lancers vs. Sioux Falls Stampede','Liberty First Credit Union Arena','Omaha, NE','Sunday','3/9/2025','4:05 PM','6669721','Omaha-Lancers-vs--Sioux-Falls-Stampede-3-9-2025'],['Omaha Lancers vs. Lincoln Stars','Liberty First Credit Union Arena','Omaha, NE','Friday','3/14/2025','7:05 PM','6669723','Omaha-Lancers-vs--Lincoln-Stars-3-14-2025'],['Sioux City Musketeers vs. Omaha Lancers','Tyson Events Center - Fleet Farm Arena','Sioux City, IA','Saturday','3/15/2025','6:05 PM','6660926','Sioux-City-Musketeers-vs--Omaha-Lancers-3-15-2025'],['Omaha Lancers vs. Sioux City Musketeers','Liberty First Credit Union Arena','Omaha, NE','Sunday','3/16/2025','4:05 PM','6669727','Omaha-Lancers-vs--Sioux-City-Musketeers-3-16-2025'],['Omaha Lancers vs. Des Moines Buccaneers','Liberty First Credit Union Arena','Omaha, NE','Friday','3/21/2025','7:05 PM','6669731','Omaha-Lancers-vs--Des-Moines-Buccaneers-3-21-2025'],['Omaha Lancers vs. Sioux Falls Stampede','Liberty First Credit Union Arena','Omaha, NE','Thursday','3/27/2025','7:05 PM','6669733','Omaha-Lancers-vs--Sioux-Falls-Stampede-3-27-2025'],['Omaha Lancers vs. Tri-City Storm','Liberty First Credit Union Arena','Omaha, NE','Friday','3/28/2025','7:05 PM','6669736','Omaha-Lancers-vs--Tri-City-Storm-3-28-2025'],['Tri-City Storm vs. Omaha Lancers','Viaero Event Center','Kearney, NE','Saturday','3/29/2025','6:05 PM','6865750','Tri-City-Storm-vs--Omaha-Lancers-3-29-2025'],['Omaha Lancers vs. Dubuque Fighting Saints','Liberty First Credit Union Arena','Omaha, NE','Saturday','4/5/2025','6:05 PM','6669738','Omaha-Lancers-vs--Dubuque-Fighting-Saints-4-5-2025'],['Omaha Lancers vs. Cedar Rapids Roughriders','Liberty First Credit Union Arena','Omaha, NE','Sunday','4/6/2025','4:05 PM','6669742','Omaha-Lancers-vs--Cedar-Rapids-Roughriders-4-6-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']],'','https://www.ticketnetwork.com');