//
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-02B
TN_Widget.CreateTable([['Formula 1: 2024 Miami Grand Prix - 3 Day Pass','Miami International Autodrome At Hard Rock Stadium','Miami Gardens, FL','sexta-feira','3 mai 24','TBD','5725317','Formula-1--2024-Miami-Grand-Prix---3-Day-Pass-5-3-2024'], ['Formula 1: 2024 Miami Grand Prix - 2 Day Pass','Miami International Autodrome At Hard Rock Stadium','Miami Gardens, FL','sábado','4 mai 24','TBD','6376642','Formula-1--2024-Miami-Grand-Prix---2-Day-Pass-5-4-2024'], ['Formula 1: 2024 Miami Grand Prix - Saturday','Miami International Autodrome At Hard Rock Stadium','Miami Gardens, FL','sábado','4 mai 24','13:00','5762542','Formula-1--2024-Miami-Grand-Prix---Saturday-5-4-2024'], ['Judas Priest','Wings Event Center','Kalamazoo, MI','sábado','4 mai 24','19:00','6084096','Judas-Priest-5-4-2024'], ['Formula 1: 2024 Miami Grand Prix - Sunday','Miami International Autodrome At Hard Rock Stadium','Miami Gardens, FL','domingo','5 mai 24','16:00','5762543','Formula-1--2024-Miami-Grand-Prix---Sunday-5-5-2024'], ['Metallica - 2 Day Pass','Olympiastadion - Munich','München, Germany','sexta-feira','24 mai 24','TBD','5678117','Metallica---2-Day-Pass-5-24-2024'], ['Metallica (Time: TBD)','Olympiastadion - Munich','München, Germany','sexta-feira','24 mai 24','18:00','5678115','Metallica--Time--TBD--5-24-2024']],'Hard Rock Stadium','https://www.superingressos.com/boleto/eventos-Hard-Rock-Stadium.aspx');