// 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
"); } } } }; }(); //BPW-TNSERV-01A TN_Widget.AddCss('//tn-widget.seatics.com/widget2Css/WidgetStyle9.css'); TN_Widget.CreateTable([['Monster Energy NASCAR Cup Series Qualifying','Atlanta Motor Speedway','Hampton, GA','Friday','2/22/2019','5:30 PM','3537160','Monster-Energy-NASCAR-Cup-Series-Qualifying-2-22-2019'],['NASCAR Xfinity Series: Rinnai 250 & NASCAR Gander Outdoors Truck Series: Atlanta 200','Atlanta Motor Speedway','Hampton, GA','Saturday','2/23/2019','2:00 PM','3599214','NASCAR-Xfinity-Series--Rinnai-250---NASCAR-Gander-Outdoors-Truck-Series--Atlanta-200-2-23-2019'],['Monster Energy NASCAR Cup Series: Folds Of Honor Quiktrip 500','Atlanta Motor Speedway','Hampton, GA','Sunday','2/24/2019','1:00 PM','3537159','Monster-Energy-NASCAR-Cup-Series--Folds-Of-Honor-Quiktrip-500-2-24-2019'],['NASCAR Gander Outdoors Truck Series: Stratosphere 200','Las Vegas Motor Speedway','Las Vegas, NV','Friday','3/1/2019','TBD','3785581','NASCAR-Gander-Outdoors-Truck-Series--Stratosphere-200-3-1-2019'],['NASCAR Xfinity Series: Boyd Gaming 300','Las Vegas Motor Speedway','Las Vegas, NV','Saturday','3/2/2019','2:00 PM','3767652','NASCAR-Xfinity-Series--Boyd-Gaming-300-3-2-2019'],['Monster Energy NASCAR Cup Series: Pennzoil 400','Las Vegas Motor Speedway','Las Vegas, NV','Sunday','3/3/2019','12:30 PM','3618408','Monster-Energy-NASCAR-Cup-Series--Pennzoil-400-3-3-2019'],['NASCAR Xfinity Series','ISM Raceway','Avondale, AZ','Saturday','3/9/2019','2:00 PM','3565545','NASCAR-Xfinity-Series-3-9-2019'],['Monster Energy NASCAR Cup Series: TicketGuardian 500','ISM Raceway','Avondale, AZ','Sunday','3/10/2019','1:30 PM','3565544','Monster-Energy-NASCAR-Cup-Series--TicketGuardian-500-3-10-2019'],['NASCAR Xfinity Series: NXS 300','Auto Club Speedway','Fontana, CA','Saturday','3/16/2019','2:00 PM','3648878','NASCAR-Xfinity-Series--NXS-300-3-16-2019'],['Monster Energy NASCAR Cup Series: Auto Club 400','Auto Club Speedway','Fontana, CA','Sunday','3/17/2019','12:30 PM','3618407','Monster-Energy-NASCAR-Cup-Series--Auto-Club-400-3-17-2019']],'NASCAR','http://www.ticketnetwork.com/ticket/NASCAR-events.aspx');