//
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-04A
TN_Widget.CreateTable([['Brooklyn Nightlife Awards','3 Dollar Bill','Brooklyn, NY','terça-feira','10 nov 26','18:00','8362315','Brooklyn-Nightlife-Awards-11-10-2026'], ['Afghan Whigs','Warsaw','Brooklyn, NY','terça-feira','10 nov 26','19:00','8022918','Afghan-Whigs-11-10-2026'], ['Orville Peck','Brooklyn Paramount','Brooklyn, NY','terça-feira','10 nov 26','19:00','8160849','Orville-Peck-11-10-2026'], ['Saosin','Brooklyn Bowl - Philadelphia','Philadelphia, PA','terça-feira','10 nov 26','19:00','7957475','Saosin-11-10-2026'], ['Franni Cash','The Sultan Room At The Turk's Inn','Brooklyn, NY','terça-feira','10 nov 26','19:00','8361920','Franni-Cash-11-10-2026'], ['Chat Pile','Brooklyn Steel','Brooklyn, NY','terça-feira','10 nov 26','19:30','8038464','Chat-Pile-11-10-2026'], ['New York Comedy Festival: Chris vs. The People','The Bell House','Brooklyn, NY','terça-feira','10 nov 26','19:30','8224062','New-York-Comedy-Festival--Chris-vs--The-People-11-10-2026']],'Events in Brooklyn','https://www.superingressos.com/boleto/eventos-Events-in-Brooklyn.aspx');