//
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([['Echo Bloom','Mercury Lounge - NY','New York, NY','terça-feira','8 set 26','18:00','8213946','Echo-Bloom-9-8-2026'], ['Vader','Empire Underground','Albany, NY','terça-feira','8 set 26','18:30','8126360','Vader-9-8-2026'], ['Ray LaMontagne','Crouse Hinds Theater - Mulroy Civic Center At Oncenter','Syracuse, NY','terça-feira','8 set 26','19:00','7039524','Ray-LaMontagne-9-8-2026'], ['Emarosa','Water Street Music Hall','Rochester, NY','terça-feira','8 set 26','19:00','7892928','Emarosa-9-8-2026'], ['3Quency','Gramercy Theatre','New York, NY','terça-feira','8 set 26','19:00','7902149','3Quency-9-8-2026'], ['Lucki','Brooklyn Paramount','Brooklyn, NY','terça-feira','8 set 26','19:00','7981090','Lucki-9-8-2026'], ['Emmet Cohen Trio','Birdland Jazz Club','New York, NY','terça-feira','8 set 26','19:00','8068685','Emmet-Cohen-Trio-9-8-2026']],'Concerts in New York','https://www.superingressos.com/boleto/eventos-Concerts-in-New-York.aspx');