//
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 + "" +
"![](//s3.amazonaws.com/TNService/pl-widget/images/arrow.png) |
";
},
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([['Premium Tailgate Party: Kansas City Chiefs vs. Cincinnati Bengals','Premium Tailgate Lot - KC','Kansas City, MO','Sunday','9/15/2024','TBD','6591921','Premium-Tailgate-Party--Kansas-City-Chiefs-vs--Cincinnati-Bengals-9-15-2024'],['VIP Tailgate Party: Kansas City Chiefs vs. Cincinnati Bengals','Arrowhead Stadium Parking Lots','Kansas City, MO','Sunday','9/15/2024','11:25 AM','6442551','VIP-Tailgate-Party--Kansas-City-Chiefs-vs--Cincinnati-Bengals-9-15-2024'],['Kansas City Chiefs vs. Cincinnati Bengals','Arrowhead Stadium','Kansas City, MO','Sunday','9/15/2024','3:25 PM','6350101','Kansas-City-Chiefs-vs--Cincinnati-Bengals-9-15-2024'],['PARKING: Kansas City Chiefs vs. Cincinnati Bengals','Arrowhead Stadium Parking Lots','Kansas City, MO','Sunday','9/15/2024','3:25 PM','6442550','PARKING--Kansas-City-Chiefs-vs--Cincinnati-Bengals-9-15-2024'],['Premium Tailgate Party: Atlanta Falcons vs. Kansas City Chiefs','Premium Tailgate Tent - ATL','Atlanta, GA','Sunday','9/22/2024','TBD','6686628','Premium-Tailgate-Party--Atlanta-Falcons-vs--Kansas-City-Chiefs-9-22-2024'],['PARKING: Atlanta Falcons vs. Kansas City Chiefs','Mercedes-Benz Stadium Parking Lots','Atlanta, GA','Sunday','9/22/2024','8:20 PM','6448894','PARKING--Atlanta-Falcons-vs--Kansas-City-Chiefs-9-22-2024'],['Atlanta Falcons vs. Kansas City Chiefs','Mercedes-Benz Stadium','Atlanta, GA','Sunday','9/22/2024','8:20 PM','6350199','Atlanta-Falcons-vs--Kansas-City-Chiefs-9-22-2024'],['PARKING: Los Angeles Chargers vs. Kansas City Chiefs','SoFi Stadium Parking Lots','Inglewood, CA','Sunday','9/29/2024','1:25 PM','6448663','PARKING--Los-Angeles-Chargers-vs--Kansas-City-Chiefs-9-29-2024'],['Los Angeles Chargers vs. Kansas City Chiefs','SoFi Stadium','Inglewood, CA','Sunday','9/29/2024','1:25 PM','6349863','Los-Angeles-Chargers-vs--Kansas-City-Chiefs-9-29-2024'],['Premium Tailgate Party: Kansas City Chiefs vs. New Orleans Saints','Premium Tailgate Lot - KC','Kansas City, MO','Monday','10/7/2024','TBD','6591922','Premium-Tailgate-Party--Kansas-City-Chiefs-vs--New-Orleans-Saints-10-7-2024']],'"Kansas City Chiefs"','https://www.ticketnetwork.com');