// 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-04A 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([['Boston Red Sox vs. Cincinnati Reds - Home Opener','Fenway Park','Boston, MA','Thursday','Apr 1','TBD','8140069','Boston-Red-Sox-vs--Cincinnati-Reds---Home-Opener-4-1-2027'],['Boston Red Sox vs. Cincinnati Reds','Fenway Park','Boston, MA','Saturday','Apr 3','TBD','8140073','Boston-Red-Sox-vs--Cincinnati-Reds-4-3-2027'],['Boston Red Sox vs. Cincinnati Reds','Fenway Park','Boston, MA','Sunday','Apr 4','TBD','8140074','Boston-Red-Sox-vs--Cincinnati-Reds-4-4-2027'],['Boston Red Sox vs. Houston Astros','Fenway Park','Boston, MA','Monday','Apr 5','TBD','8140079','Boston-Red-Sox-vs--Houston-Astros-4-5-2027'],['Boston Red Sox vs. Houston Astros','Fenway Park','Boston, MA','Tuesday','Apr 6','TBD','8140080','Boston-Red-Sox-vs--Houston-Astros-4-6-2027'],['Boston Red Sox vs. Houston Astros','Fenway Park','Boston, MA','Wednesday','Apr 7','TBD','8140081','Boston-Red-Sox-vs--Houston-Astros-4-7-2027'],['Boston Red Sox vs. Cleveland Guardians','Fenway Park','Boston, MA','Friday','Apr 16','TBD','8140085','Boston-Red-Sox-vs--Cleveland-Guardians-4-16-2027'],['Boston Red Sox vs. Cleveland Guardians','Fenway Park','Boston, MA','Saturday','Apr 17','TBD','8140087','Boston-Red-Sox-vs--Cleveland-Guardians-4-17-2027'],['Boston Red Sox vs. Cleveland Guardians','Fenway Park','Boston, MA','Sunday','Apr 18','TBD','8140089','Boston-Red-Sox-vs--Cleveland-Guardians-4-18-2027'],['Boston Red Sox vs. Cleveland Guardians','Fenway Park','Boston, MA','Monday','Apr 19','TBD','8140091','Boston-Red-Sox-vs--Cleveland-Guardians-4-19-2027'],['Boston Red Sox vs. Tampa Bay Rays','Fenway Park','Boston, MA','Tuesday','Apr 20','TBD','8140092','Boston-Red-Sox-vs--Tampa-Bay-Rays-4-20-2027'],['Boston Red Sox vs. Tampa Bay Rays','Fenway Park','Boston, MA','Wednesday','Apr 21','TBD','8140093','Boston-Red-Sox-vs--Tampa-Bay-Rays-4-21-2027'],['Boston Red Sox vs. Tampa Bay Rays','Fenway Park','Boston, MA','Thursday','Apr 22','TBD','8140096','Boston-Red-Sox-vs--Tampa-Bay-Rays-4-22-2027'],['Boston Red Sox vs. St. Louis Cardinals','Fenway Park','Boston, MA','Friday','Apr 30','TBD','8140101','Boston-Red-Sox-vs--St--Louis-Cardinals-4-30-2027']]);