// var TN_Widget = function() { return { //Options newWindow : true, linkText : "View Tickets", tixUrl : "https://www.ticketliquidator.com/tickets/", trackingParams : "", custLink : true, //depricated kbid : "", //Overwrittable functions CreateCustomUrl : function(row) { var customUrl = row[6] + '/' + row[0].replace(/\//g, '') + '-tickets-' + row[3].substring(0,3) + '-' + row[4] + '-' + row[7].substring(row[7].length - 4) + '-' + row[1] return customUrl.replace(/\s+/g, '-').replace(/&/g, '').replace(/[.,#!$%^&*;:{}=_`~()]/g, '').toLowerCase(); }, CreateEventRow : function(row, isAlt) { return "" + "
" + row[3].substring(0,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) { 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'; else document.write('
' + newTable.join('') + '
'); } }; }(); //BPW-TNSERV-04B TN_Widget.AddCss('https://fonts.googleapis.com/css?family=Open+Sans:400,700'); TN_Widget.AddCss('https://tickettransaction.com/BrokerSites/01504-011/widget2Css/WidgetStyle24.css'); TN_Widget.CreateTable([['New England Patriots Preseason Game #1 (Date: TBD)','Gillette Stadium','Foxborough, MA','Friday','Aug 1','TBD','6977628','New-England-Patriots-Preseason-Game--1--Date--TBD--8-1-2025'],['New England Patriots vs. Buffalo Bills (Date: TBD)','Gillette Stadium','Foxborough, MA','Saturday','Aug 2','TBD','6977629','New-England-Patriots-vs--Buffalo-Bills--Date--TBD--8-2-2025'],['New England Patriots vs. Miami Dolphins (Date: TBD)','Gillette Stadium','Foxborough, MA','Sunday','Aug 3','TBD','6977630','New-England-Patriots-vs--Miami-Dolphins--Date--TBD--8-3-2025'],['New England Patriots vs. New York Jets (Date: TBD)','Gillette Stadium','Foxborough, MA','Monday','Aug 4','TBD','6977631','New-England-Patriots-vs--New-York-Jets--Date--TBD--8-4-2025'],['New England Patriots vs. Atlanta Falcons (Date: TBD)','Gillette Stadium','Foxborough, MA','Tuesday','Aug 5','TBD','6977632','New-England-Patriots-vs--Atlanta-Falcons--Date--TBD--8-5-2025'],['New England Patriots vs. Carolina Panthers (Date: TBD)','Gillette Stadium','Foxborough, MA','Wednesday','Aug 6','TBD','6977633','New-England-Patriots-vs--Carolina-Panthers--Date--TBD--8-6-2025'],['New England Patriots vs. Cleveland Browns (Date: TBD)','Gillette Stadium','Foxborough, MA','Thursday','Aug 7','TBD','6977634','New-England-Patriots-vs--Cleveland-Browns--Date--TBD--8-7-2025'],['New England Patriots vs. Pittsburgh Steelers (Date: TBD)','Gillette Stadium','Foxborough, MA','Friday','Aug 8','TBD','6977635','New-England-Patriots-vs--Pittsburgh-Steelers--Date--TBD--8-8-2025'],['New England Patriots vs. Las Vegas Raiders (Date: TBD)','Gillette Stadium','Foxborough, MA','Sunday','Aug 10','TBD','6977636','New-England-Patriots-vs--Las-Vegas-Raiders--Date--TBD--8-10-2025'],['New England Patriots vs. New York Giants (Date: TBD)','Gillette Stadium','Foxborough, MA','Monday','Aug 11','TBD','6977637','New-England-Patriots-vs--New-York-Giants--Date--TBD--8-11-2025'],['2025 New England Patriots Season Tickets (Includes Tickets To All Regular Season Home Games)','Gillette Stadium','Foxborough, MA','Saturday','Sep 6','TBD','6907006','2025-New-England-Patriots-Season-Tickets--Includes-Tickets-To-All-Regular-Season-Home-Games--9-6-2025']]);