//
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-02A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Green Bay Blizzard vs. Iowa Barnstormers','Resch Center','Green Bay, WI','Friday','3/28/2025','6:05 PM','6995075','Green-Bay-Blizzard-vs--Iowa-Barnstormers-3-28-2025'],['Iowa Barnstormers vs. Quad City Steamwheelers','Wells Fargo Arena - IA','Des Moines, IA','Saturday','4/5/2025','7:05 PM','6821305','Iowa-Barnstormers-vs--Quad-City-Steamwheelers-4-5-2025'],['Quad City Steamwheelers vs. Iowa Barnstormers','Vibrant Arena at The MARK','Moline, IL','Saturday','4/12/2025','7:05 PM','6998377','Quad-City-Steamwheelers-vs--Iowa-Barnstormers-4-12-2025'],['Iowa Barnstormers vs. Fishers Freight','Wells Fargo Arena - IA','Des Moines, IA','Saturday','4/26/2025','7:05 PM','6821311','Iowa-Barnstormers-vs--Fishers-Freight-4-26-2025'],['Jacksonville Sharks Vs. Iowa Barnstormers','VyStar Veterans Memorial Arena','Jacksonville, FL','Saturday','5/3/2025','7:05 PM','6998340','Jacksonville-Sharks-Vs--Iowa-Barnstormers-5-3-2025'],['Iowa Barnstormers vs. Green Bay Blizzard ','Wells Fargo Arena - IA','Des Moines, IA','Saturday','5/17/2025','7:05 PM','6821313','Iowa-Barnstormers-vs--Green-Bay-Blizzard--5-17-2025'],['Iowa Barnstormers vs. Tulsa Oilers','Wells Fargo Arena - IA','Des Moines, IA','Friday','5/23/2025','7:05 PM','6821316','Iowa-Barnstormers-vs--Tulsa-Oilers-5-23-2025'],['Green Bay Blizzard vs. Iowa Barnstormers','Resch Center','Green Bay, WI','Friday','6/6/2025','7:05 PM','6995205','Green-Bay-Blizzard-vs--Iowa-Barnstormers-6-6-2025'],['Iowa Barnstormers vs. Massachusetts Pirates','Wells Fargo Arena - IA','Des Moines, IA','Saturday','6/14/2025','7:05 PM','6821317','Iowa-Barnstormers-vs--Massachusetts-Pirates-6-14-2025'],['Vegas Knight Hawks vs. Iowa Barnstormers','Lee's Family Forum','Henderson, NV','Saturday','6/21/2025','6:00 PM','6998465','Vegas-Knight-Hawks-vs--Iowa-Barnstormers-6-21-2025'],['Iowa Barnstormers Vs. Jacksonville Sharks','Wells Fargo Arena - IA','Des Moines, IA','Saturday','6/28/2025','7:05 PM','6821318','Iowa-Barnstormers-Vs--Jacksonville-Sharks-6-28-2025'],['Massachusetts Pirates vs. Iowa Barnstormers','Tsongas Center','Lowell, MA','Thursday','7/3/2025','7:05 PM','6996822','Massachusetts-Pirates-vs--Iowa-Barnstormers-7-3-2025'],['Iowa Barnstormers vs. Fishers Freight','Wells Fargo Arena - IA','Des Moines, IA','Saturday','7/12/2025','7:05 PM','6821319','Iowa-Barnstormers-vs--Fishers-Freight-7-12-2025'],['Iowa Barnstormers vs. Quad City Steamwheelers','Wells Fargo Arena - IA','Des Moines, IA','Saturday','7/19/2025','7:05 PM','6821320','Iowa-Barnstormers-vs--Quad-City-Steamwheelers-7-19-2025']],'','https://www.ticketnetwork.com');