//
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-04A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['National Finals Rodeo','Thomas & Mack Center','Las Vegas, NV','Thursday','12/3/2026','5:45 PM','7627786','National-Finals-Rodeo-12-3-2026'],['National Finals Rodeo','Thomas & Mack Center','Las Vegas, NV','Friday','12/4/2026','5:45 PM','7627787','National-Finals-Rodeo-12-4-2026'],['National Finals Rodeo','Thomas & Mack Center','Las Vegas, NV','Saturday','12/5/2026','5:45 PM','7627788','National-Finals-Rodeo-12-5-2026'],['National Finals Rodeo','Thomas & Mack Center','Las Vegas, NV','Sunday','12/6/2026','5:45 PM','7627789','National-Finals-Rodeo-12-6-2026'],['National Finals Rodeo','Thomas & Mack Center','Las Vegas, NV','Monday','12/7/2026','5:45 PM','7627790','National-Finals-Rodeo-12-7-2026'],['National Finals Rodeo','Thomas & Mack Center','Las Vegas, NV','Tuesday','12/8/2026','5:45 PM','7627791','National-Finals-Rodeo-12-8-2026'],['National Finals Rodeo','Thomas & Mack Center','Las Vegas, NV','Wednesday','12/9/2026','5:45 PM','7627792','National-Finals-Rodeo-12-9-2026'],['National Finals Rodeo','Thomas & Mack Center','Las Vegas, NV','Thursday','12/10/2026','5:45 PM','7627793','National-Finals-Rodeo-12-10-2026'],['National Finals Rodeo','Thomas & Mack Center','Las Vegas, NV','Friday','12/11/2026','5:45 PM','7627795','National-Finals-Rodeo-12-11-2026'],['National Finals Rodeo','Thomas & Mack Center','Las Vegas, NV','Saturday','12/12/2026','5:45 PM','7627796','National-Finals-Rodeo-12-12-2026']],'Nfr','https://www.ticketnetwork.com');