// 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([['NASCAR Pole Day','New Hampshire Motor Speedway','Loudon, NH','Friday','7/19/2019','9:00 AM','4058268','NASCAR-Pole-Day-7-19-2019'],['NASCAR Xfinity Series: Lakes Region 200','New Hampshire Motor Speedway','Loudon, NH','Saturday','7/20/2019','2:00 PM','3810532','NASCAR-Xfinity-Series--Lakes-Region-200-7-20-2019'],['Monster Energy NASCAR Cup Series: Foxwoods Resort Casino 301','New Hampshire Motor Speedway','Loudon, NH','Sunday','7/21/2019','3:00 PM','3618394','Monster-Energy-NASCAR-Cup-Series--Foxwoods-Resort-Casino-301-7-21-2019'],['NASCAR Gander Outdoors Truck Series: Gander RV 150','Pocono Raceway','Long Pond, PA','Saturday','7/27/2019','1:00 PM','3816506','NASCAR-Gander-Outdoors-Truck-Series--Gander-RV-150-7-27-2019'],['NASCAR Xfinity Series: U.S. Cellular 250','Iowa Speedway','Newton, IA','Saturday','7/27/2019','3:30 PM','3810539','NASCAR-Xfinity-Series--U-S--Cellular-250-7-27-2019'],['Monster Energy NASCAR Cup Series: Gander RV 400','Pocono Raceway','Long Pond, PA','Sunday','7/28/2019','3:00 PM','3618393','Monster-Energy-NASCAR-Cup-Series--Gander-RV-400-7-28-2019'],['NASCAR Gander Outdoors Truck Series: Eldora Dirt Derby','Eldora Speedway','New Weston, OH','Thursday','8/1/2019','9:00 PM','3777544','NASCAR-Gander-Outdoors-Truck-Series--Eldora-Dirt-Derby-8-1-2019'],['Brickyard Vintage Racing Invitational: Indy Legends Charity Pro-Am (Time: TBD)','Indianapolis Motor Speedway','Indianapolis, IN','Saturday','8/3/2019','12:00 PM','4082139','Brickyard-Vintage-Racing-Invitational--Indy-Legends-Charity-Pro-Am--Time--TBD--8-3-2019'],['Brickyard Vintage Racing Invitational: Feature Races (Time: TBD)','Indianapolis Motor Speedway','Indianapolis, IN','Sunday','8/4/2019','12:00 PM','4082138','Brickyard-Vintage-Racing-Invitational--Feature-Races--Time--TBD--8-4-2019'],['Monster Energy NASCAR Cup Series: GoBowling at The Glen','Watkins Glen International Speedway','Watkins Glen, NY','Sunday','8/4/2019','3:00 PM','3618392','Monster-Energy-NASCAR-Cup-Series--GoBowling-at-The-Glen-8-4-2019']],'NASCAR','http://www.ticketnetwork.com/ticket/NASCAR-events.aspx');