//
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-02A
TN_Widget.AddCss('//tn-widget.seatics.com/widget2Css/WidgetStyle21.css');
TN_Widget.CreateTable([['Georges St. Pierre','Meridian Hall','Toronto, Canada','Lunes','29 SEP 25','20:00','7264214','Georges-St--Pierre-9-29-2025'], ['UFC 320: Ankalaev vs. Pereira','T-Mobile Arena','Las Vegas, NV','Sábado','4 OCT 25','18:00','7206179','UFC-320--Ankalaev-vs--Pereira-10-4-2025'], ['UFC Fight Night','Rogers Arena','Vancouver, Canada','Sábado','18 OCT 25','19:00','7206150','UFC-Fight-Night-10-18-2025'], ['UFC 321: Aspinall vs. Gane','Etihad Arena - Yas Island','Abu Dhabi, United Arab Emirates','Sábado','25 OCT 25','TBD','7258796','UFC-321--Aspinall-vs--Gane-10-25-2025'], ['UFC 322: Della Maddalena vs. Makhachev','Madison Square Garden','New York, NY','Sábado','15 NOV 25','TBD','7375529','UFC-322--Della-Maddalena-vs--Makhachev-11-15-2025']],'ufc','https://www.superboleteria.com/boleto/eventos-ufc.aspx');