//
var TN_Widget = function() {
var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
return {
newWindow : true,
CreateEventRow : function(row, isAlt) {
var t = row[4].split("/");
t[0] = months[t[0]];
t[2] = ", " + t[2];
return "
" +
t[0] + " " + "" + t[1] + "" +
t[2] + " " +
row[3].substring(0,3) + " " +
row[5] + " | " +
row[0] + " " +
row[1] + " - " +
row[2] + " | " + this.btnText + "" +
" |
";
},
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,kwds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
var footerLink = "";
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else if(document.querySelector(".tnpl_results_container") != null) {
document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else
document.write("" + newTable.join('') + "" + footerLink + "
");
}
};
}();
//BPW-TNSERV-01A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['HEP Canadian Show Jumping Championship','Coca-Cola Coliseum','Toronto, Canada','Friday','11/6/2026','7:00 PM','7616856','HEP-Canadian-Show-Jumping-Championship-11-6-2026'],['Championship Show Jumping','Coca-Cola Coliseum','Toronto, Canada','Saturday','11/7/2026','1:00 PM','7617138','Championship-Show-Jumping-11-7-2026'],['HEP Canadian Show Jumping Championship','Coca-Cola Coliseum','Toronto, Canada','Saturday','11/7/2026','7:00 PM','7616902','HEP-Canadian-Show-Jumping-Championship-11-7-2026'],['Family Day At The Royal Horse Show','Coca-Cola Coliseum','Toronto, Canada','Sunday','11/8/2026','1:30 PM','7616859','Family-Day-At-The-Royal-Horse-Show-11-8-2026'],['Knightwood Derby National Championship','Coca-Cola Coliseum','Toronto, Canada','Tuesday','11/10/2026','7:00 PM','7616851','Knightwood-Derby-National-Championship-11-10-2026'],['Opening Night International Show Jumping: The McKee 5 Challenge Show','Coca-Cola Coliseum','Toronto, Canada','Wednesday','11/11/2026','7:00 PM','7616863','Opening-Night-International-Show-Jumping--The-McKee-5-Challenge-Show-11-11-2026'],['Big Ben International Challenge','Coca-Cola Coliseum','Toronto, Canada','Thursday','11/12/2026','7:00 PM','7616896','Big-Ben-International-Challenge-11-12-2026'],['Royal International Show Jumping Challenge','Coca-Cola Coliseum','Toronto, Canada','Friday','11/13/2026','7:00 PM','7616864','Royal-International-Show-Jumping-Challenge-11-13-2026'],['The K9 Equine Challenge & FEI 2 Grand Prix','Coca-Cola Coliseum','Toronto, Canada','Saturday','11/14/2026','1:00 PM','7616858','The-K9-Equine-Challenge---FEI-2-Grand-Prix-11-14-2026'],['Longines FEI World Cup TM','Coca-Cola Coliseum','Toronto, Canada','Saturday','11/14/2026','7:00 PM','7616898','Longines-FEI-World-Cup-TM-11-14-2026'],['Royal Rodeo Championship','Coca-Cola Coliseum','Toronto, Canada','Sunday','11/15/2026','11:00 AM','7616893','Royal-Rodeo-Championship-11-15-2026'],['Royal Rodeo Championship Finals','Coca-Cola Coliseum','Toronto, Canada','Sunday','11/15/2026','2:00 PM','7616865','Royal-Rodeo-Championship-Finals-11-15-2026']],'horse show','https://www.ticketnetwork.com');