//
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-01A
TN_Widget.CreateTable([['Bob Sinclair - Producer','Marquee New York','New York, NY','sábado','27 abr 24','23:00','6309614','Bob-Sinclair---Producer-4-27-2024'], ['Rock and Roll Playhouse - The Music of The Strokes for Kids','Brooklyn Bowl - NY','Brooklyn, NY','domingo','28 abr 24','12:00','6296244','Rock-and-Roll-Playhouse---The-Music-of-The-Strokes-for-Kids-4-28-2024'], ['Distinguished Concerts International','Carnegie Hall - Isaac Stern Auditorium','New York, NY','domingo','28 abr 24','14:00','6290939','Distinguished-Concerts-International-4-28-2024'], ['Abhishek Upmanyu','Gramercy Theatre','New York, NY','domingo','28 abr 24','16:00','6244595','Abhishek-Upmanyu-4-28-2024'], ['Jim Gaffigan','Beacon Theatre - NY','New York, NY','domingo','28 abr 24','16:00','6243810','Jim-Gaffigan-4-28-2024'], ['Dying Fetus','Empire Live','Albany, NY','domingo','28 abr 24','18:30','6229645','Dying-Fetus-4-28-2024'], ['Decapitated','Warsaw','Brooklyn, NY','domingo','28 abr 24','18:30','6234543','Decapitated-4-28-2024']],'Concerts in New York','https://www.superingressos.com/boleto/eventos-Concerts-in-New-York.aspx');