//
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-04B
TN_Widget.AddCss('//tn-widget.seatics.com/widget2Css/WidgetStyle20.css');
TN_Widget.CreateTable([['UFC 301: Pantoja vs. Erceg','Jeunesse Arena','Rio de Janeiro, Brazil','sábado','4 mai 24','TBD','6287076','UFC-301--Pantoja-vs--Erceg-5-4-2024'], ['UFC Fight Night: Lewis vs. Nascimento','Enterprise Center','St. Louis, MO','sábado','11 mai 24','19:00','6314393','UFC-Fight-Night--Lewis-vs--Nascimento-5-11-2024'], ['UFC 302: Makhachev vs. Poirier & Strickland vs. Costa','Prudential Center','Newark, NJ','sábado','1 jun 24','18:15','6287075','UFC-302--Makhachev-vs--Poirier---Strickland-vs--Costa-6-1-2024'], ['UFC Fight Night','KFC Yum! Center','Louisville, KY','sábado','8 jun 24','17:00','6390165','UFC-Fight-Night-6-8-2024'], ['UFC Hall of Fame Induction Ceremony','T-Mobile Arena','Las Vegas, NV','quinta-feira','27 jun 24','TBD','6295978','UFC-Hall-of-Fame-Induction-Ceremony-6-27-2024'], ['UFC 303: McGregor vs. Chandler','T-Mobile Arena','Las Vegas, NV','sábado','29 jun 24','15:00','6194240','UFC-303--McGregor-vs--Chandler-6-29-2024'], ['ONE Championship 168','Ball Arena','Denver, CO','sexta-feira','6 set 24','18:00','6369548','ONE-Championship-168-9-6-2024']],'UFC','https://www.superingressos.com/boleto/eventos-UFC.aspx');