//
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([['Social Distortion & Bad Religion','The Rooftop at Pier 17','New York, NY','quarta-feira','8 mai 24','18:00','6241307','Social-Distortion---Bad-Religion-5-8-2024'], ['Freddie Gibbs & Madlib','The Rooftop at Pier 17','New York, NY','sábado','11 mai 24','19:00','6229214','Freddie-Gibbs---Madlib-5-11-2024'], ['Electric Callboy','The Rooftop at Pier 17','New York, NY','segunda-feira','13 mai 24','19:00','6150804','Electric-Callboy-5-13-2024'], ['Needtobreathe & Judah and The Lion','The Rooftop at Pier 17','New York, NY','sexta-feira','31 mai 24','19:30','5938815','Needtobreathe---Judah-and-The-Lion-5-31-2024'], ['Isaiah Rashad','The Rooftop at Pier 17','New York, NY','sábado','1 jun 24','19:00','6385082','Isaiah-Rashad-6-1-2024'], ['Greensky Bluegrass','The Rooftop at Pier 17','New York, NY','sexta-feira','14 jun 24','19:00','6323532','Greensky-Bluegrass-6-14-2024'], ['Reggae Fest Blaze','The Rooftop at Pier 17','New York, NY','sábado','15 jun 24','15:00','6373515','Reggae-Fest-Blaze-6-15-2024'], ['Trombone Shorty And Orleans Avenue','The Rooftop at Pier 17','New York, NY','domingo','16 jun 24','19:00','6253755','Trombone-Shorty-And-Orleans-Avenue-6-16-2024'], ['Something Corporate','The Rooftop at Pier 17','New York, NY','sexta-feira','21 jun 24','19:00','6289481','Something-Corporate-6-21-2024'], ['Billy Currington & Larry Fleet','The Rooftop at Pier 17','New York, NY','sábado','22 jun 24','19:00','6227182','Billy-Currington---Larry-Fleet-6-22-2024']],'The Rooftop at Pier 17','https://www.superingressos.com/lugares/boletos-The-Rooftop-at-Pier-17.aspx');