// 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-01A 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 vs. Buffalo Bills (Date: TBD)','Gillette Stadium','Foxborough, MA','Friday','Aug 7','TBD','7729941','New-England-Patriots-vs--Buffalo-Bills--Date--TBD--8-7-2026'],['New England Patriots vs. New York Jets (Date: TBD)','Gillette Stadium','Foxborough, MA','Saturday','Aug 8','TBD','7729942','New-England-Patriots-vs--New-York-Jets--Date--TBD--8-8-2026'],['New England Patriots vs. Miami Dolphins (Date: TBD)','Gillette Stadium','Foxborough, MA','Sunday','Aug 9','TBD','7729943','New-England-Patriots-vs--Miami-Dolphins--Date--TBD--8-9-2026'],['New England Patriots vs. Green Bay Packers (Date: TBD)','Gillette Stadium','Foxborough, MA','Tuesday','Aug 11','TBD','7729949','New-England-Patriots-vs--Green-Bay-Packers--Date--TBD--8-11-2026'],['New England Patriots vs. Las Vegas Raiders (Date: TBD)','Gillette Stadium','Foxborough, MA','Wednesday','Aug 12','TBD','7729951','New-England-Patriots-vs--Las-Vegas-Raiders--Date--TBD--8-12-2026'],['New England Patriots vs. Minnesota Vikings (Date: TBD)','Gillette Stadium','Foxborough, MA','Thursday','Aug 13','TBD','7729953','New-England-Patriots-vs--Minnesota-Vikings--Date--TBD--8-13-2026'],['New England Patriots vs. Pittsburgh Steelers (Date: TBD)','Gillette Stadium','Foxborough, MA','Friday','Aug 14','TBD','7729955','New-England-Patriots-vs--Pittsburgh-Steelers--Date--TBD--8-14-2026']]);