//
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 dateArray = row[4].split('/');
var date = months[dateArray[0]] + " " + dateArray[1];
var parking = row[0].split(':')[0]
if (parking !== "PARKING") {
return "
";
}
},
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 newResults = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newResults.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newResults.join('') + '
';
} else
document.write('' + newResults.join('') + '
');
if(eventData.length >= 101 && kwds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
}
};
}();
//BPW-TNSERV-04A
TN_Widget.AddCss('//tn-widget.seatics.com/widget2Css/results-style-1.css');
TN_Widget.AddCss('//s3.amazonaws.com/ticketnetwork/fonts/TTNorms/TTNorms.css');
TN_Widget.CreateTable([['Premium Tailgate Party: New York Jets vs. Indianapolis Colts','Premium Tailgate Tent - NY','East Rutherford, NJ','Sunday','11/17/2024','TBD','6467840','Premium-Tailgate-Party--New-York-Jets-vs--Indianapolis-Colts-11-17-2024'],['PARKING: New York Jets vs. Indianapolis Colts','MetLife Stadium Parking Lots','East Rutherford, NJ','Sunday','11/17/2024','1:00 PM','6448867','PARKING--New-York-Jets-vs--Indianapolis-Colts-11-17-2024'],['New York Jets vs. Indianapolis Colts','MetLife Stadium','East Rutherford, NJ','Sunday','11/17/2024','1:00 PM','6349820','New-York-Jets-vs--Indianapolis-Colts-11-17-2024']],'Cults','http://www.ticketnetwork.com/en/search/?text=Cults');