//
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.CreateTable([['Miami FC vs. Memphis 901 FC','FIU Football Stadium','Miami, FL','quarta-feira','8 mai 24','19:00','6163456','Miami-FC-vs--Memphis-901-FC-5-8-2024'], ['Miami FC vs. Indy Eleven','FIU Football Stadium','Miami, FL','domingo','12 mai 24','19:00','6163457','Miami-FC-vs--Indy-Eleven-5-12-2024'], ['Miami FC vs. North Carolina FC','FIU Football Stadium','Miami, FL','sábado','25 mai 24','19:00','6163458','Miami-FC-vs--North-Carolina-FC-5-25-2024'], ['Miami FC vs. Louisville City FC','FIU Football Stadium','Miami, FL','sábado','1 jun 24','19:00','6163460','Miami-FC-vs--Louisville-City-FC-6-1-2024'], ['Miami FC vs. Loudoun United FC','FIU Football Stadium','Miami, FL','sábado','22 jun 24','19:00','6163462','Miami-FC-vs--Loudoun-United-FC-6-22-2024'], ['Miami FC vs. Detroit City FC','FIU Football Stadium','Miami, FL','sábado','29 jun 24','19:00','6163463','Miami-FC-vs--Detroit-City-FC-6-29-2024'], ['Miami Dolphins Preseason Home Game 1 (Date: TBD)','Hard Rock Stadium','Miami Gardens, FL','segunda-feira','1 jul 24','TBD','6349947','Miami-Dolphins-Preseason-Home-Game-1--Date--TBD--7-1-2024']],'Football in Miami','https://www.superingressos.com/boleto/eventos-Football-in-Miami.aspx');