//
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-03A
TN_Widget.CreateTable([['New York City FC vs. Columbus Crew','Yankee Stadium','Bronx, NY','quarta-feira','17 set 25','19:30','7314285','New-York-City-FC-vs--Columbus-Crew-9-17-2025'], ['New York City FC vs. Charlotte FC','Yankee Stadium','Bronx, NY','sábado','20 set 25','TBD','6891716','New-York-City-FC-vs--Charlotte-FC-9-20-2025'], ['New York Yankees vs. Kansas City Royals','Yankee Stadium','Bronx, NY','sexta-feira','17 abr 26','TBD','7367871','New-York-Yankees-vs--Kansas-City-Royals-4-17-2026'], ['New York Yankees vs. Kansas City Royals','Yankee Stadium','Bronx, NY','sábado','18 abr 26','TBD','7367872','New-York-Yankees-vs--Kansas-City-Royals-4-18-2026'], ['New York Yankees vs. Kansas City Royals','Yankee Stadium','Bronx, NY','domingo','19 abr 26','TBD','7367873','New-York-Yankees-vs--Kansas-City-Royals-4-19-2026']],'Yankees in New york city','https://www.superingressos.com/boleto/eventos-Yankees-in-New-york-city.aspx');