//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "Tickets",
tixUrl : "https://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[3] +" "+"" +
row[4] + " "+"" +
row[5] + " | "+"" +
row[0] +" | " +
row[1] +" " +
row[2] +" | "+""+ this.linkText+ " |
";
},
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,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04A
TN_Widget.CreateTable([['2025 US Open Tennis Championships: Grounds Pass - Sunday Admission','National Tennis Center','Flushing, NY','Sunday','8/24/2025','11:00 AM','6962516','2025-US-Open-Tennis-Championships--Grounds-Pass---Sunday-Admission-8-24-2025'],['2025 US Open Tennis Championships: Grandstand - Session 1','Grandstand Stadium at National Tennis Center','Flushing, NY','Sunday','8/24/2025','11:00 AM','6962505','2025-US-Open-Tennis-Championships--Grandstand---Session-1-8-24-2025'],['2025 US Open Tennis Championships: Grounds Pass - Monday Admission','National Tennis Center','Flushing, NY','Monday','8/25/2025','11:00 AM','6696335','2025-US-Open-Tennis-Championships--Grounds-Pass---Monday-Admission-8-25-2025'],['2025 US Open Tennis Championships: Grandstand - Session 3','Grandstand Stadium at National Tennis Center','Flushing, NY','Monday','8/25/2025','11:00 AM','6696318','2025-US-Open-Tennis-Championships--Grandstand---Session-3-8-25-2025'],['2025 US Open Tennis Championships: Grandstand - Session 5','Grandstand Stadium at National Tennis Center','Flushing, NY','Tuesday','8/26/2025','11:00 AM','6696319','2025-US-Open-Tennis-Championships--Grandstand---Session-5-8-26-2025'],['2025 US Open Tennis Championships: Grounds Pass - Tuesday Admission','National Tennis Center','Flushing, NY','Tuesday','8/26/2025','11:00 AM','6696336','2025-US-Open-Tennis-Championships--Grounds-Pass---Tuesday-Admission-8-26-2025'],['2025 US Open Tennis Championships: Grounds Pass - Wednesday Admission','National Tennis Center','Flushing, NY','Wednesday','8/27/2025','11:00 AM','6696337','2025-US-Open-Tennis-Championships--Grounds-Pass---Wednesday-Admission-8-27-2025'],['2025 US Open Tennis Championships: Grandstand - Session 7','Grandstand Stadium at National Tennis Center','Flushing, NY','Wednesday','8/27/2025','11:00 AM','6696320','2025-US-Open-Tennis-Championships--Grandstand---Session-7-8-27-2025'],['2025 US Open Tennis Championships: Grandstand - Session 9','Grandstand Stadium at National Tennis Center','Flushing, NY','Thursday','8/28/2025','11:00 AM','6696321','2025-US-Open-Tennis-Championships--Grandstand---Session-9-8-28-2025'],['2025 US Open Tennis Championships: Grounds Pass - Thursday Admission','National Tennis Center','Flushing, NY','Thursday','8/28/2025','11:00 AM','6696339','2025-US-Open-Tennis-Championships--Grounds-Pass---Thursday-Admission-8-28-2025'],['2025 US Open Tennis Championships: Grandstand - Session 11','Grandstand Stadium at National Tennis Center','Flushing, NY','Friday','8/29/2025','11:00 AM','6696323','2025-US-Open-Tennis-Championships--Grandstand---Session-11-8-29-2025'],['2025 US Open Tennis Championships: Grounds Pass - Friday Admission','National Tennis Center','Flushing, NY','Friday','8/29/2025','11:00 AM','6696340','2025-US-Open-Tennis-Championships--Grounds-Pass---Friday-Admission-8-29-2025'],['2025 US Open Tennis Championships: Grounds Pass - Saturday Admission','National Tennis Center','Flushing, NY','Saturday','8/30/2025','11:00 AM','6696341','2025-US-Open-Tennis-Championships--Grounds-Pass---Saturday-Admission-8-30-2025'],['2025 US Open Tennis Championships: Grandstand - Session 13','Grandstand Stadium at National Tennis Center','Flushing, NY','Sunday','8/31/2025','11:00 AM','6696326','2025-US-Open-Tennis-Championships--Grandstand---Session-13-8-31-2025'],['2025 US Open Tennis Championships: Grounds Pass - Sunday Admission','National Tennis Center','Flushing, NY','Sunday','8/31/2025','11:00 AM','6696342','2025-US-Open-Tennis-Championships--Grounds-Pass---Sunday-Admission-8-31-2025'],['2025 US Open Tennis Championships: Grounds Pass - Monday Admission','National Tennis Center','Flushing, NY','Monday','9/1/2025','11:00 AM','6696345','2025-US-Open-Tennis-Championships--Grounds-Pass---Monday-Admission-9-1-2025'],['2025 US Open Tennis Championships: Grounds Pass - Tuesday Admission','National Tennis Center','Flushing, NY','Tuesday','9/2/2025','11:00 AM','6696346','2025-US-Open-Tennis-Championships--Grounds-Pass---Tuesday-Admission-9-2-2025'],['2025 US Open Tennis Championships: Grounds Pass - Wednesday Admission','National Tennis Center','Flushing, NY','Wednesday','9/3/2025','12:00 PM','6696349','2025-US-Open-Tennis-Championships--Grounds-Pass---Wednesday-Admission-9-3-2025']],'Billie Jean King National Tennis','https://www.ticketnetwork.com/ticket/Billie-Jean-King-National-Tennis-events.aspx');