//
var TN_Widget = function()
{
return {
//Options
newWindow : true,
linkText : "Ver Boletos",
tixUrl : "https://www.superboleteria.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"plzGetReplaced",
CreateCustomUrl : function(row)
{
return this.tixUrl + "boletos-" + row[7] + "Sheet"+ 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.AddCss('//tn-widget.seatics.com/widget2Css/WidgetStyle21.css');
TN_Widget.CreateTable([['UFC 301: Pantoja vs. Erceg','Jeunesse Arena','Rio de Janeiro, Brazil','Sábado','4 MAY 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 MAY 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','Jueves','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','Viernes','6 SEP 24','18:00','6369548','ONE-Championship-168-9-6-2024']],'ufc','https://www.superboleteria.com/boleto/eventos-ufc.aspx');