//
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-04A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['PARKING: Chicago Bears vs. Dallas Cowboys','Soldier Field Parking Lot','Chicago, IL','Sunday','9/21/2025','TBD','7159474','PARKING--Chicago-Bears-vs--Dallas-Cowboys-9-21-2025'],['Premium Tailgate Party: Chicago Bears vs. Dallas Cowboys','Premium Tailgate Lot - Chicago','Chicago, IL','Sunday','9/21/2025','TBD','7160312','Premium-Tailgate-Party--Chicago-Bears-vs--Dallas-Cowboys-9-21-2025'],['Tailgreeter Tailgate: Chicago Bears vs. Dallas Cowboys','Tailgreeter All-Inclusive Tailgate - Soldier Field','Chicago, IL','Sunday','9/21/2025','TBD','7229114','Tailgreeter-Tailgate--Chicago-Bears-vs--Dallas-Cowboys-9-21-2025'],['Chicago Bears vs. Dallas Cowboys','Soldier Field','Chicago, IL','Sunday','9/21/2025','3:25 PM','6977976','Chicago-Bears-vs--Dallas-Cowboys-9-21-2025'],['PARKING: Dallas Cowboys vs. Green Bay Packers','AT&T Stadium Parking Lots','Arlington, TX','Sunday','9/28/2025','TBD','7158818','PARKING--Dallas-Cowboys-vs--Green-Bay-Packers-9-28-2025'],['Tailgreeter Tailgate: Dallas Cowboys vs. Green Bay Packers','All-Inclusive Tailgates Lot - Arlington','Arlington, TX','Sunday','9/28/2025','TBD','7229334','Tailgreeter-Tailgate--Dallas-Cowboys-vs--Green-Bay-Packers-9-28-2025'],['Dallas Cowboys vs. Green Bay Packers','AT&T Stadium','Arlington, TX','Sunday','9/28/2025','7:20 PM','6977880','Dallas-Cowboys-vs--Green-Bay-Packers-9-28-2025'],['PARKING: New York Jets vs. Dallas Cowboys','MetLife Stadium Parking Lots','East Rutherford, NJ','Sunday','10/5/2025','TBD','7159459','PARKING--New-York-Jets-vs--Dallas-Cowboys-10-5-2025'],['New York Green Zone Tailgate: New York Jets vs. Dallas Cowboys','New York Tailgate Zone at American Dream','East Rutherford, NJ','Sunday','10/5/2025','10:00 AM','7299073','New-York-Green-Zone-Tailgate--New-York-Jets-vs--Dallas-Cowboys-10-5-2025'],['New York Jets vs. Dallas Cowboys','MetLife Stadium','East Rutherford, NJ','Sunday','10/5/2025','1:00 PM','6977615','New-York-Jets-vs--Dallas-Cowboys-10-5-2025']],'Dallas Cowboys','https://www.ticketnetwork.com');