// var TN_Widget = function() { return { //Options newWindow : true, linkText : "View Tickets", tixUrl : "https://www.ticketliquidator.com/tix/tickets.aspx", trackingParams : "", custLink : true, //depricated kbid : "", //Overwrittable functions CreateCustomUrl : function(row) { return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx"; }, 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-01B 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 Home Game 1 (Date: TBD)','Gillette Stadium','Foxborough, MA','Monday','Jul 1','TBD','6349961','New-England-Patriots-Preseason-Home-Game-1--Date--TBD--7-1-2024'],['New England Patriots Preseason Home Game 2 (Date: TBD)','Gillette Stadium','Foxborough, MA','Tuesday','Jul 2','TBD','6349962','New-England-Patriots-Preseason-Home-Game-2--Date--TBD--7-2-2024'],['New England Patriots vs. Buffalo Bills (Date: TBD)','Gillette Stadium','Foxborough, MA','Thursday','Jul 4','TBD','6349963','New-England-Patriots-vs--Buffalo-Bills--Date--TBD--7-4-2024']]);