//
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.AddCss('//tn-widget.seatics.com/widget2Css/WidgetStyle20.css');
TN_Widget.CreateTable([['Abba Voyage','Abba Arena','London, United Kingdom','sábado','4 mai 24','15:00','6195727','Abba-Voyage-5-4-2024'], ['Abba Voyage','Abba Arena','London, United Kingdom','sábado','4 mai 24','19:45','6195731','Abba-Voyage-5-4-2024'], ['Abba Voyage','Abba Arena','London, United Kingdom','domingo','5 mai 24','13:00','6195735','Abba-Voyage-5-5-2024'], ['Abba Voyage','Abba Arena','London, United Kingdom','domingo','5 mai 24','18:00','6195739','Abba-Voyage-5-5-2024'], ['Abba Voyage','Abba Arena','London, United Kingdom','segunda-feira','6 mai 24','15:00','6195711','Abba-Voyage-5-6-2024'], ['Abba Voyage','Abba Arena','London, United Kingdom','segunda-feira','6 mai 24','19:45','6195712','Abba-Voyage-5-6-2024'], ['Elbow','O2 Arena - London','London, United Kingdom','quinta-feira','9 mai 24','18:30','6039117','Elbow-5-9-2024'], ['Abba Voyage','Abba Arena','London, United Kingdom','quinta-feira','9 mai 24','19:45','6195717','Abba-Voyage-5-9-2024'], ['Abba Voyage','Abba Arena','London, United Kingdom','sexta-feira','10 mai 24','19:45','6195722','Abba-Voyage-5-10-2024'], ['Abba Voyage','Abba Arena','London, United Kingdom','sábado','11 mai 24','15:00','6195728','Abba-Voyage-5-11-2024']],'London, United Kingdom + concert rock','https://www.superingressos.com/boleto/eventos-concert-rock.aspx?cid=216&spid=823&ctyName=London');