//
var TN_Widget = function()
{
return {
//Options
newWindow : true,
linkText : "Veja Ingressos",
tixUrl : "https://www.superingressos.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"plzGetReplaced",
CreateCustomUrl : function(row)
{
return this.tixUrl + row[7] + "-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[3] +" "+"" +
row[4] + " "+"" +
row[5] + " | "+"" +
row[0] +" | " +
row[1] +" " +
row[2] +" | "+""+ this.linkText+ " |
";
},
GetAffiliateTrackURL: function(){
return this.cutLink? this.CreateCustomUrl(row) :"";
},
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';
}else
document.write('' + newTable.join('') + '
');
if(eventData.length>=100 && kywrds!=undefined) //need to add link to all events if more than 100
{
if(objToAddTo = document.getElementById("tn_results_container"))
{
objToAddTo.innerHTML += '';
}
else
{
document.write('');
}
}
}
};
}();
//BPW-TNSERV-04A
TN_Widget.CreateTable([['2027 US Open Tennis Championships - Session 1','Arthur Ashe Stadium','Flushing, NY','domingo','29 ago 27','11:00','8268344','2027-US-Open-Tennis-Championships---Session-1-8-29-2027'], ['2027 US Open Tennis Championships: Grounds Pass - Sunday Admission','National Tennis Center','Flushing, NY','domingo','29 ago 27','11:00','8279573','2027-US-Open-Tennis-Championships--Grounds-Pass---Sunday-Admission-8-29-2027'], ['2027 US Open Tennis Championships - Session 2','Arthur Ashe Stadium','Flushing, NY','domingo','29 ago 27','19:00','8268345','2027-US-Open-Tennis-Championships---Session-2-8-29-2027'], ['2027 US Open Tennis Championships: Grounds Pass - Sunday Eve Admission','National Tennis Center','Flushing, NY','domingo','29 ago 27','19:00','8279578','2027-US-Open-Tennis-Championships--Grounds-Pass---Sunday-Eve-Admission-8-29-2027'], ['2027 US Open Tennis Championships - Session 3','Arthur Ashe Stadium','Flushing, NY','segunda-feira','30 ago 27','11:00','8268346','2027-US-Open-Tennis-Championships---Session-3-8-30-2027'], ['2027 US Open Tennis Championships: Grounds Pass - Monday Admission','National Tennis Center','Flushing, NY','segunda-feira','30 ago 27','11:00','8279587','2027-US-Open-Tennis-Championships--Grounds-Pass---Monday-Admission-8-30-2027'], ['2027 US Open Tennis Championships: Grounds Pass - Monday Eve Admission','National Tennis Center','Flushing, NY','segunda-feira','30 ago 27','19:00','8279592','2027-US-Open-Tennis-Championships--Grounds-Pass---Monday-Eve-Admission-8-30-2027'], ['2027 US Open Tennis Championships - Session 4','Arthur Ashe Stadium','Flushing, NY','segunda-feira','30 ago 27','19:00','8268347','2027-US-Open-Tennis-Championships---Session-4-8-30-2027'], ['2027 US Open Tennis Championships - Session 5','Arthur Ashe Stadium','Flushing, NY','terça-feira','31 ago 27','11:00','8268348','2027-US-Open-Tennis-Championships---Session-5-8-31-2027'], ['2027 US Open Tennis Championships: Grounds Pass - Tuesday Admission','National Tennis Center','Flushing, NY','terça-feira','31 ago 27','11:00','8279597','2027-US-Open-Tennis-Championships--Grounds-Pass---Tuesday-Admission-8-31-2027']],'Us Open Flushing','https://www.superingressos.com/boleto/eventos-Us-Open-Flushing.aspx');