//
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-03B
TN_Widget.CreateTable([['Sum 41 & The Interrupters','Brooklyn Paramount','Brooklyn, NY','segunda-feira','6 mai 24','19:00','6215159','Sum-41---The-Interrupters-5-6-2024'], ['Bradley Simpson','Baby's All Right - Brooklyn ','Brooklyn, NY','segunda-feira','6 mai 24','19:00','6317999','Bradley-Simpson-5-6-2024'], ['Rainbow Kitten Surprise ','Brooklyn Bowl - Nashville','Nashville, TN','segunda-feira','6 mai 24','20:00','6321968','Rainbow-Kitten-Surprise--5-6-2024'], ['Architects','Brooklyn Paramount','Brooklyn, NY','terça-feira','7 mai 24','19:00','6151974','Architects-5-7-2024'], ['Chastity Belt','Warsaw','Brooklyn, NY','terça-feira','7 mai 24','19:00','6090308','Chastity-Belt-5-7-2024'], ['Babehoven','Baby's All Right - Brooklyn ','Brooklyn, NY','terça-feira','7 mai 24','19:00','6264369','Babehoven-5-7-2024'], ['Rome Emperors vs. Brooklyn Cyclones','AdventHealth Stadium','Rome, GA','terça-feira','7 mai 24','19:00','5964239','Rome-Emperors-vs--Brooklyn-Cyclones-5-7-2024']],'Events in Brooklyn','https://www.superingressos.com/boleto/eventos-Events-in-Brooklyn.aspx');