// var TN_Widget = function() { return { CreateEventRow : function(row, isAlt) { return "" + row[3] + "
" + row[4] + "
" + row[5] + "" + row[0] + "" + row[1] + "
" + row[2] + "Tickets"; }, 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; if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML = '' + newTable.join('') + '
'; } else document.write('
' + newTable.join('') + '
'); if(eventData.length >= 100 && kwds != undefined) { if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML += '
See all events for '+ kwds + ' on TicketNetwork.com
'; } else { document.write("
See all events for "+ kwds + " on TicketNetwork.com
"); } } } }; }(); //A10W050 TN_Widget.AddCss('//tn-widget.seatics.com/widget2Css/WidgetStyle9.css'); TN_Widget.CreateTable([['NASCAR Xfinity Series: Drive for the Cure 300','Charlotte Motor Speedway','Concord, NC','Saturday','9/29/2018','3:00 PM','3147589','NASCAR-Xfinity-Series--Drive-for-the-Cure-300-9-29-2018'],['Monster Energy NASCAR Cup Series: Bank of America Roval 400','Charlotte Motor Speedway','Concord, NC','Sunday','9/30/2018','2:00 PM','3147553','Monster-Energy-NASCAR-Cup-Series--Bank-of-America-Roval-400-9-30-2018'],['NASCAR Xfinity Series','Dover International Speedway','Dover, DE','Saturday','10/6/2018','3:00 PM','3147587','NASCAR-Xfinity-Series-10-6-2018'],['Monster Energy NASCAR Cup Series','Dover International Speedway','Dover, DE','Sunday','10/7/2018','2:00 PM','3147554','Monster-Energy-NASCAR-Cup-Series-10-7-2018'],['NASCAR Camping World Truck Series: Fred's 250','Talladega Superspeedway','Talladega, AL','Saturday','10/13/2018','12:00 PM','3147628','NASCAR-Camping-World-Truck-Series--Fred-s-250-10-13-2018'],['Monster Energy NASCAR Cup Series: Alabama 500','Talladega Superspeedway','Talladega, AL','Sunday','10/14/2018','1:00 PM','3147555','Monster-Energy-NASCAR-Cup-Series--Alabama-500-10-14-2018'],['NASCAR Xfinity Series: Kansas Lottery 300','Kansas Speedway','Kansas City, KS','Saturday','10/20/2018','1:30 PM','3147603','NASCAR-Xfinity-Series--Kansas-Lottery-300-10-20-2018'],['Monster Energy NASCAR Cup Series: Hollywood Casino 400','Kansas Speedway','Kansas City, KS','Sunday','10/21/2018','1:00 PM','3147556','Monster-Energy-NASCAR-Cup-Series--Hollywood-Casino-400-10-21-2018'],['NASCAR Camping World Truck Series: Texas Roadhouse 200','Martinsville Speedway','Ridgeway, VA','Saturday','10/27/2018','1:00 PM','3147611','NASCAR-Camping-World-Truck-Series--Texas-Roadhouse-200-10-27-2018'],['Monster Energy NASCAR Cup Series: First Data 500','Martinsville Speedway','Ridgeway, VA','Sunday','10/28/2018','2:30 PM','3147557','Monster-Energy-NASCAR-Cup-Series--First-Data-500-10-28-2018']],'NASCAR','http://www.ticketnetwork.com/ticket/NASCAR-events.aspx');