//
var TN_Widget = function()
{
return {
//Options
newWindow : true,
linkText : "Voir Billets",
tixUrl : "https://www.superbillets.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-04A
TN_Widget.AddCss('//tn-widget.seatics.com/widget2Css/WidgetStyle21.css');
TN_Widget.CreateTable([['Pinstripe Bowl','Yankee Stadium','Bronx, NY','Samedi','26 déc 26','12:00','8026506','Pinstripe-Bowl-12-26-2026'], ['New York City FC vs. Inter Miami CF','Yankee Stadium','Bronx, NY','Mercredi','3 mars 27','19:00','8348371','New-York-City-FC-vs--Inter-Miami-CF-3-3-2027'], ['New York City FC vs. Philadelphia Union','Yankee Stadium','Bronx, NY','Samedi','6 mars 27','15:00','8348373','New-York-City-FC-vs--Philadelphia-Union-3-6-2027'], ['New York City FC vs. Toronto FC','Yankee Stadium','Bronx, NY','Samedi','13 mars 27','19:00','8348375','New-York-City-FC-vs--Toronto-FC-3-13-2027'], ['New York Yankees vs. Toronto Blue Jays - Home Opener','Yankee Stadium','Bronx, NY','Jeudi','25 mars 27','13:35','8140328','New-York-Yankees-vs--Toronto-Blue-Jays---Home-Opener-3-25-2027'], ['New York Yankees vs. Toronto Blue Jays','Yankee Stadium','Bronx, NY','Samedi','27 mars 27','13:35','8140332','New-York-Yankees-vs--Toronto-Blue-Jays-3-27-2027'], ['New York Yankees vs. Toronto Blue Jays','Yankee Stadium','Bronx, NY','Dimanche','28 mars 27','13:35','8140333','New-York-Yankees-vs--Toronto-Blue-Jays-3-28-2027'], ['New York Yankees vs. Athletics','Yankee Stadium','Bronx, NY','Lundi','29 mars 27','19:05','8140335','New-York-Yankees-vs--Athletics-3-29-2027'], ['New York Yankees vs. Athletics','Yankee Stadium','Bronx, NY','Mardi','30 mars 27','19:05','8140337','New-York-Yankees-vs--Athletics-3-30-2027'], ['New York Yankees vs. Athletics','Yankee Stadium','Bronx, NY','Mercredi','31 mars 27','TBD','8140339','New-York-Yankees-vs--Athletics-3-31-2027'], ['New York City FC vs. Columbus Crew','Yankee Stadium','Bronx, NY','Samedi','3 avril 27','19:00','8348381','New-York-City-FC-vs--Columbus-Crew-4-3-2027'], ['New York Yankees vs. Arizona Diamondbacks','Yankee Stadium','Bronx, NY','Vendredi','9 avril 27','19:05','8140343','New-York-Yankees-vs--Arizona-Diamondbacks-4-9-2027'], ['New York Yankees vs. Arizona Diamondbacks','Yankee Stadium','Bronx, NY','Samedi','10 avril 27','13:35','8140345','New-York-Yankees-vs--Arizona-Diamondbacks-4-10-2027'], ['New York Yankees vs. Arizona Diamondbacks','Yankee Stadium','Bronx, NY','Dimanche','11 avril 27','13:35','8140348','New-York-Yankees-vs--Arizona-Diamondbacks-4-11-2027'], ['New York Yankees vs. Washington Nationals','Yankee Stadium','Bronx, NY','Vendredi','16 avril 27','19:05','8140349','New-York-Yankees-vs--Washington-Nationals-4-16-2027'], ['New York Yankees vs. Washington Nationals','Yankee Stadium','Bronx, NY','Samedi','17 avril 27','13:35','8140350','New-York-Yankees-vs--Washington-Nationals-4-17-2027'], ['New York Yankees vs. Washington Nationals','Yankee Stadium','Bronx, NY','Dimanche','18 avril 27','13:35','8140351','New-York-Yankees-vs--Washington-Nationals-4-18-2027'], ['New York Yankees vs. Milwaukee Brewers','Yankee Stadium','Bronx, NY','Lundi','19 avril 27','19:05','8140355','New-York-Yankees-vs--Milwaukee-Brewers-4-19-2027'], ['New York Yankees vs. Milwaukee Brewers','Yankee Stadium','Bronx, NY','Mardi','20 avril 27','19:05','8140356','New-York-Yankees-vs--Milwaukee-Brewers-4-20-2027'], ['New York Yankees vs. Milwaukee Brewers','Yankee Stadium','Bronx, NY','Mercredi','21 avril 27','19:05','8140357','New-York-Yankees-vs--Milwaukee-Brewers-4-21-2027']],'bronx, yankees','https://www.superbillets.com/billets/evenements-bronx,-yankees.aspx');