// var TN_Widget = function() { return { //Options newWindow : true, linkText : "Tickets", tixUrl : "https://www.ticketnetwork.com/tix/", trackingParams : "", custLink : true, //depricated kbid : "", //Overwrittable functions trackingLink :"", CreateCustomUrl : function(row) { return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx"; }, CreateEventRow : function(row, isAlt) { return "" + row[3] +"
"+"" + row[4] + "
"+"" + row[5] + ""+"" + row[0] +"" + row[1] +"
" + row[2] +""+""+ this.linkText+ ""; }, 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 < eventData.length; cntr++) newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1)); var objToAddTo; if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML = '' + newTable.join('') + '
'; } else document.write('
' + newTable.join('') + '
'); if(eventData.length >= 100 && kywrds != undefined) { if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML += '
See all events for '+ kywrds + ' on TicketNetwork.com
'; } else { document.write("
See all events for "+ kywrds + " on TicketNetwork.com
"); } } if(eventData.length > 0) { document.getElementById("previewNote").style.display = "none"; } } }; }(); //BPW-TNSERV-01A TN_Widget.CreateTable([['World Senior Professional Bull Riders World Finals','Mesquite Arena','Mesquite, TX','Thursday','11/7/2024','7:30 PM','6786739','World-Senior-Professional-Bull-Riders-World-Finals-11-7-2024'],['World Senior Professional Bull Riders World Finals','Mesquite Arena','Mesquite, TX','Friday','11/8/2024','7:30 PM','6786740','World-Senior-Professional-Bull-Riders-World-Finals-11-8-2024'],['World Senior Professional Bull Riders World Finals','Mesquite Arena','Mesquite, TX','Saturday','11/9/2024','7:30 PM','6786741','World-Senior-Professional-Bull-Riders-World-Finals-11-9-2024'],['PBR World Finals - 2 Day Pass','AT&T Stadium','Arlington, TX','Saturday','5/17/2025','TBD','6561620','PBR-World-Finals---2-Day-Pass-5-17-2025'],['PBR World Finals - Saturday Pass (Time: TBD)','AT&T Stadium','Arlington, TX','Saturday','5/17/2025','12:00 PM','6561628','PBR-World-Finals---Saturday-Pass--Time--TBD--5-17-2025'],['PBR World Finals - Sunday Pass (Time: TBD)','AT&T Stadium','Arlington, TX','Sunday','5/18/2025','12:00 PM','6561631','PBR-World-Finals---Sunday-Pass--Time--TBD--5-18-2025']],'Professional Bull Riders World Finals','https://www.ticketnetwork.com/ticket/Professional-Bull-Riders-World-Finals-events.aspx');