//
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.AddCss('//tn-widget.seatics.com/widget2Css/WidgetStyle21.css');
TN_Widget.CreateTable([['Paris Saint-Germain FC vs. Le Havre AC','Parc Des Princes','Paris, France','domingo','28 abr 24','TBD','5794119','Paris-Saint-Germain-FC-vs--Le-Havre-AC-4-28-2024'], ['Dave Matthews Band','Salle Pleyel ','Paris, France','quinta-feira','2 mai 24','TBD','6009742','Dave-Matthews-Band-5-2-2024'], ['UEFA Champions League - Semi-Finals: Paris Saint-Germain FC vs. Borussia Dortmund','Parc Des Princes','Paris, France','terça-feira','7 mai 24','20:00','6387787','UEFA-Champions-League---Semi-Finals--Paris-Saint-Germain-FC-vs--Borussia-Dortmund-5-7-2024'], ['Paris Saint-Germain FC vs. Toulouse FC','Parc Des Princes','Paris, France','sábado','11 mai 24','TBD','5794120','Paris-Saint-Germain-FC-vs--Toulouse-FC-5-11-2024'], ['Rod Stewart','Le Zenith - Paris','Paris, France','domingo','30 jun 24','TBD','6128610','Rod-Stewart-6-30-2024'], ['AC/DC','Hippodrome ParisLongchamp','Paris, France','terça-feira','13 ago 24','TBD','6277696','AC-DC-8-13-2024']],'Paris, France','https://www.superingressos.com/boleto/eventos-Paris-France.aspx');