//
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-02A
TN_Widget.CreateTable([['Miami Marlins vs. Washington Nationals','loanDepot park','Miami, FL','segunda-feira','29 abr 24','18:40','5815047','Miami-Marlins-vs--Washington-Nationals-4-29-2024'], ['NBA Eastern Conference First Round: Miami Heat vs. Boston Celtics - Home Game 2, Series Game 4','Kaseya Center','Miami, FL','segunda-feira','29 abr 24','19:30','6281880','NBA-Eastern-Conference-First-Round--Miami-Heat-vs--Boston-Celtics---Home-Game-2--Series-Game-4-4-29-2024'], ['Miami Marlins vs. Colorado Rockies','loanDepot park','Miami, FL','terça-feira','30 abr 24','18:40','5815048','Miami-Marlins-vs--Colorado-Rockies-4-30-2024'], ['Beetlejuice - The Musical','Ziff Opera House At The Adrienne Arsht Center','Miami, FL','terça-feira','29 abr 25','20:00','6300141','Beetlejuice---The-Musical-4-29-2025'], ['Beetlejuice - The Musical','Ziff Opera House At The Adrienne Arsht Center','Miami, FL','quarta-feira','30 abr 25','20:00','6300142','Beetlejuice---The-Musical-4-30-2025'], ['Brent Faiyaz','The Ground At Club Space','Miami, FL','quinta-feira','10 abr 70','TBD','4232695','Brent-Faiyaz-4-10-2070'], ['India Martinez','The Fillmore Miami Beach At Jackie Gleason Theater','Miami Beach, FL','sábado','21 abr 74','20:00','6281397','India-Martinez-4-21-2074'], ['Panter Belico','FPL Solar Amphitheater','Miami, FL','quinta-feira','26 abr 74','20:00','6246191','Panter-Belico-4-26-2074']],'Miami april','https://www.superingressos.com/boleto/eventos-Miami-april.aspx');