//
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-01A
TN_Widget.CreateTable([['Brooklyn Nets vs. Charlotte Hornets','Barclays Center','Brooklyn, NY','segunda-feira','1 dez 25','19:30','7341370','Brooklyn-Nets-vs--Charlotte-Hornets-12-1-2025'], ['Seton Hall Pirates vs. Central Connecticut State Blue Devils','Prudential Center','Newark, NJ','quarta-feira','3 dez 25','TBD','7320335','Seton-Hall-Pirates-vs--Central-Connecticut-State-Blue-Devils-12-3-2025'], ['New York Knicks vs. Charlotte Hornets','Madison Square Garden','New York, NY','quarta-feira','3 dez 25','19:30','7341122','New-York-Knicks-vs--Charlotte-Hornets-12-3-2025'], ['Brooklyn Nets vs. Utah Jazz','Barclays Center','Brooklyn, NY','quinta-feira','4 dez 25','19:30','7341372','Brooklyn-Nets-vs--Utah-Jazz-12-4-2025'], ['New York Knicks vs. Utah Jazz','Madison Square Garden','New York, NY','sexta-feira','5 dez 25','19:30','7341124','New-York-Knicks-vs--Utah-Jazz-12-5-2025'], ['St. Johns Red Storm vs. Mississippi Rebels','Madison Square Garden','New York, NY','sábado','6 dez 25','TBD','7284025','St--Johns-Red-Storm-vs--Mississippi-Rebels-12-6-2025'], ['Brooklyn Nets vs. New Orleans Pelicans','Barclays Center','Brooklyn, NY','sábado','6 dez 25','17:00','7341375','Brooklyn-Nets-vs--New-Orleans-Pelicans-12-6-2025']],'Basketball nyc december','https://www.superingressos.com/boleto/eventos-Basketball-nyc-december.aspx');