//
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 += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02A
TN_Widget.CreateTable([['Import Face-Off','Texas Motorplex','Ennis, TX','Sunday','3/2/2025','TBD','6924238','Import-Face-Off-3-2-2025'],['TX2K25','Texas Motorplex','Ennis, TX','Tuesday','3/11/2025','TBD','6934972','TX2K25-3-11-2025'],['TX2K25','Texas Motorplex','Ennis, TX','Wednesday','3/12/2025','TBD','6934973','TX2K25-3-12-2025'],['TX2K25','Texas Motorplex','Ennis, TX','Thursday','3/13/2025','TBD','6934974','TX2K25-3-13-2025'],['TX2K25','Texas Motorplex','Ennis, TX','Friday','3/14/2025','TBD','6934975','TX2K25-3-14-2025'],['TX2K25','Texas Motorplex','Ennis, TX','Saturday','3/15/2025','TBD','6934976','TX2K25-3-15-2025'],['TX2K25','Texas Motorplex','Ennis, TX','Sunday','3/16/2025','TBD','6934978','TX2K25-3-16-2025'],['Race Wars','Texas Motorplex','Ennis, TX','Sunday','3/30/2025','TBD','6934979','Race-Wars-3-30-2025'],['Funny Car Chaos Classic','Texas Motorplex','Ennis, TX','Friday','4/4/2025','TBD','6934980','Funny-Car-Chaos-Classic-4-4-2025'],['Funny Car Chaos Classic','Texas Motorplex','Ennis, TX','Saturday','4/5/2025','TBD','6934981','Funny-Car-Chaos-Classic-4-5-2025'],['The Big Showdown','Texas Motorplex','Ennis, TX','Saturday','4/12/2025','TBD','6934982','The-Big-Showdown-4-12-2025'],['Texas Truck Jam','Texas Motorplex','Ennis, TX','Friday','4/25/2025','TBD','6934983','Texas-Truck-Jam-4-25-2025'],['Texas Truck Jam','Texas Motorplex','Ennis, TX','Saturday','4/26/2025','TBD','6934984','Texas-Truck-Jam-4-26-2025'],['Texas Motorplex Hot Summer Nights','Texas Motorplex','Ennis, TX','Saturday','5/3/2025','TBD','6934985','Texas-Motorplex-Hot-Summer-Nights-5-3-2025'],['Street Madness','Texas Motorplex','Ennis, TX','Saturday','5/10/2025','TBD','6934986','Street-Madness-5-10-2025'],['NHRA Lucas Oil Double Divisional','Texas Motorplex','Ennis, TX','Thursday','5/15/2025','TBD','6934987','NHRA-Lucas-Oil-Double-Divisional-5-15-2025'],['NHRA Lucas Oil Double Divisional','Texas Motorplex','Ennis, TX','Friday','5/16/2025','TBD','6934988','NHRA-Lucas-Oil-Double-Divisional-5-16-2025'],['NHRA Lucas Oil Double Divisional','Texas Motorplex','Ennis, TX','Saturday','5/17/2025','TBD','6934989','NHRA-Lucas-Oil-Double-Divisional-5-17-2025'],['NHRA Lucas Oil Double Divisional','Texas Motorplex','Ennis, TX','Sunday','5/18/2025','TBD','6934990','NHRA-Lucas-Oil-Double-Divisional-5-18-2025'],['Flicker Promotions Series Spring Stampede','Texas Motorplex','Ennis, TX','Thursday','5/22/2025','TBD','6934991','Flicker-Promotions-Series-Spring-Stampede-5-22-2025'],['Flicker Promotions Series Spring Stampede','Texas Motorplex','Ennis, TX','Friday','5/23/2025','TBD','6934992','Flicker-Promotions-Series-Spring-Stampede-5-23-2025'],['Flicker Promotions Series Spring Stampede','Texas Motorplex','Ennis, TX','Saturday','5/24/2025','TBD','6934993','Flicker-Promotions-Series-Spring-Stampede-5-24-2025'],['Flicker Promotions Series Spring Stampede','Texas Motorplex','Ennis, TX','Sunday','5/25/2025','TBD','6934994','Flicker-Promotions-Series-Spring-Stampede-5-25-2025'],['Street Car Takeover','Texas Motorplex','Ennis, TX','Friday','5/30/2025','TBD','6934995','Street-Car-Takeover-5-30-2025'],['Street Car Takeover','Texas Motorplex','Ennis, TX','Saturday','5/31/2025','TBD','6934996','Street-Car-Takeover-5-31-2025'],['Texas Whipfest','Texas Motorplex','Ennis, TX','Saturday','6/21/2025','TBD','6934997','Texas-Whipfest-6-21-2025'],['Texas Motorplex Bracket Series','Texas Motorplex','Ennis, TX','Friday','6/27/2025','TBD','6934998','Texas-Motorplex-Bracket-Series-6-27-2025'],['Texas Motorplex Bracket Series','Texas Motorplex','Ennis, TX','Saturday','6/28/2025','TBD','6934999','Texas-Motorplex-Bracket-Series-6-28-2025'],['Texas Motorplex Bracket Series','Texas Motorplex','Ennis, TX','Friday','7/25/2025','TBD','6935001','Texas-Motorplex-Bracket-Series-7-25-2025'],['Texas Motorplex Bracket Series','Texas Motorplex','Ennis, TX','Saturday','7/26/2025','TBD','6935002','Texas-Motorplex-Bracket-Series-7-26-2025'],['Texas Truck Nationals','Texas Motorplex','Ennis, TX','Saturday','8/23/2025','TBD','6935003','Texas-Truck-Nationals-8-23-2025'],['Latexas Bracket Series','Texas Motorplex','Ennis, TX','Friday','8/29/2025','TBD','6935004','Latexas-Bracket-Series-8-29-2025'],['Latexas Bracket Series','Texas Motorplex','Ennis, TX','Saturday','8/30/2025','TBD','6935005','Latexas-Bracket-Series-8-30-2025'],['Latexas Bracket Series','Texas Motorplex','Ennis, TX','Sunday','8/31/2025','TBD','6935006','Latexas-Bracket-Series-8-31-2025'],['Dodge Hyperformance','Texas Motorplex','Ennis, TX','Friday','9/5/2025','TBD','6935007','Dodge-Hyperformance-9-5-2025'],['Dodge Hyperformance','Texas Motorplex','Ennis, TX','Saturday','9/6/2025','TBD','6935008','Dodge-Hyperformance-9-6-2025'],['NHRDA World Finals','Texas Motorplex','Ennis, TX','Friday','9/12/2025','TBD','6935009','NHRDA-World-Finals-9-12-2025'],['NHRDA World Finals','Texas Motorplex','Ennis, TX','Saturday','9/13/2025','TBD','6935010','NHRDA-World-Finals-9-13-2025'],['NHRA Texas FallNationals','Texas Motorplex','Ennis, TX','Thursday','10/9/2025','TBD','6561323','NHRA-Texas-FallNationals-10-9-2025'],['NHRA Texas FallNationals','Texas Motorplex','Ennis, TX','Friday','10/10/2025','TBD','6561324','NHRA-Texas-FallNationals-10-10-2025'],['NHRA Texas FallNationals','Texas Motorplex','Ennis, TX','Saturday','10/11/2025','TBD','6561325','NHRA-Texas-FallNationals-10-11-2025'],['NHRA Texas FallNationals','Texas Motorplex','Ennis, TX','Sunday','10/12/2025','TBD','6561326','NHRA-Texas-FallNationals-10-12-2025'],['Street Outlaws No Prep Kings','Texas Motorplex','Ennis, TX','Friday','10/24/2025','TBD','6935011','Street-Outlaws-No-Prep-Kings-10-24-2025'],['Street Outlaws No Prep Kings','Texas Motorplex','Ennis, TX','Saturday','10/25/2025','TBD','6935012','Street-Outlaws-No-Prep-Kings-10-25-2025'],['Import Face-Off','Texas Motorplex','Ennis, TX','Sunday','11/2/2025','TBD','6935013','Import-Face-Off-11-2-2025'],['Texas Radial Roundup','Texas Motorplex','Ennis, TX','Friday','11/7/2025','TBD','6935014','Texas-Radial-Roundup-11-7-2025'],['Texas Radial Roundup','Texas Motorplex','Ennis, TX','Saturday','11/8/2025','TBD','6935015','Texas-Radial-Roundup-11-8-2025'],['Street Car Showdown','Texas Motorplex','Ennis, TX','Friday','12/12/2025','TBD','6935016','Street-Car-Showdown-12-12-2025'],['Street Car Showdown','Texas Motorplex','Ennis, TX','Saturday','12/13/2025','TBD','6935017','Street-Car-Showdown-12-13-2025']],'Texas Motorplex','https://www.ticketnetwork.com/ticket/Texas-Motorplex-events.aspx');