// 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-03A TN_Widget.CreateTable([['Foodieland','Texas Motor Speedway','Fort Worth, TX','Friday','3/7/2025','3:00 PM','6714821','Foodieland-3-7-2025'],['Foodieland','Texas Motor Speedway','Fort Worth, TX','Saturday','3/8/2025','1:00 PM','6714822','Foodieland-3-8-2025'],['Foodieland','Texas Motor Speedway','Fort Worth, TX','Sunday','3/9/2025','1:00 PM','6714823','Foodieland-3-9-2025'],['World of Outlaws Sprint Car Series','Kennedale Speedway Park','Kennedale, TX','Friday','3/14/2025','TBD','6924483','World-of-Outlaws-Sprint-Car-Series-3-14-2025'],['World of Outlaws Sprint Car Series','Kennedale Speedway Park','Kennedale, TX','Saturday','3/15/2025','TBD','6924484','World-of-Outlaws-Sprint-Car-Series-3-15-2025'],['World of Outlaws Sprint Car Series','Cotton Bowl Speedway','Paige, TX','Friday','3/21/2025','TBD','6924485','World-of-Outlaws-Sprint-Car-Series-3-21-2025'],['World of Outlaws Sprint Car Series','Cotton Bowl Speedway','Paige, TX','Saturday','3/22/2025','TBD','6924486','World-of-Outlaws-Sprint-Car-Series-3-22-2025'],['Goodguys Car Show','Texas Motor Speedway','Fort Worth, TX','Friday','4/25/2025','8:00 AM','6842023','Goodguys-Car-Show-4-25-2025'],['Goodguys Car Show','Texas Motor Speedway','Fort Worth, TX','Saturday','4/26/2025','8:00 AM','6842022','Goodguys-Car-Show-4-26-2025'],['NASCAR Craftsman Truck Series','Texas Motor Speedway','Fort Worth, TX','Friday','5/2/2025','7:00 PM','6677061','NASCAR-Craftsman-Truck-Series-5-2-2025'],['NASCAR Xfinity Series','Texas Motor Speedway','Fort Worth, TX','Saturday','5/3/2025','1:00 PM','6677024','NASCAR-Xfinity-Series-5-3-2025'],['NASCAR Cup Series','Texas Motor Speedway','Fort Worth, TX','Sunday','5/4/2025','2:30 PM','6676954','NASCAR-Cup-Series-5-4-2025'],['Goodguys Car Show','Texas Motor Speedway','Fort Worth, TX','Friday','9/26/2025','8:00 AM','6842098','Goodguys-Car-Show-9-26-2025'],['Goodguys Car Show','Texas Motor Speedway','Fort Worth, TX','Saturday','9/27/2025','8:00 AM','6842099','Goodguys-Car-Show-9-27-2025'],['Goodguys Car Show','Texas Motor Speedway','Fort Worth, TX','Sunday','9/28/2025','8:00 AM','6842100','Goodguys-Car-Show-9-28-2025'],['Hwy 30 Music Fest - 4 Day Pass','Texas Motor Speedway','Fort Worth, TX','Wednesday','10/17/2074','12:00 AM','6031112','Hwy-30-Music-Fest---4-Day-Pass-10-17-2074']],'Texas Motor Speedway','https://www.ticketnetwork.com/ticket/Texas-Motor-Speedway-events.aspx');