// 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([['Boston Red Sox vs. Detroit Tigers','Fenway Park','Boston, MA','Saturday','Jun 1','4:10 PM','5814098','Boston-Red-Sox-vs--Detroit-Tigers-6-1-2024'],['Boston Red Sox vs. Detroit Tigers','Fenway Park','Boston, MA','Sunday','Jun 2','1:35 PM','5814099','Boston-Red-Sox-vs--Detroit-Tigers-6-2-2024'],['Boston Red Sox vs. Atlanta Braves','Fenway Park','Boston, MA','Tuesday','Jun 4','7:10 PM','5814100','Boston-Red-Sox-vs--Atlanta-Braves-6-4-2024'],['Boston Red Sox vs. Atlanta Braves','Fenway Park','Boston, MA','Wednesday','Jun 5','1:35 PM','5814101','Boston-Red-Sox-vs--Atlanta-Braves-6-5-2024'],['Boston Red Sox vs. Philadelphia Phillies','Fenway Park','Boston, MA','Tuesday','Jun 11','7:10 PM','5814102','Boston-Red-Sox-vs--Philadelphia-Phillies-6-11-2024'],['Boston Red Sox vs. Philadelphia Phillies','Fenway Park','Boston, MA','Wednesday','Jun 12','7:10 PM','5814103','Boston-Red-Sox-vs--Philadelphia-Phillies-6-12-2024'],['Boston Red Sox vs. Philadelphia Phillies','Fenway Park','Boston, MA','Thursday','Jun 13','7:10 PM','5814104','Boston-Red-Sox-vs--Philadelphia-Phillies-6-13-2024'],['Boston Red Sox vs. New York Yankees','Fenway Park','Boston, MA','Friday','Jun 14','7:10 PM','5814105','Boston-Red-Sox-vs--New-York-Yankees-6-14-2024'],['Boston Red Sox vs. New York Yankees','Fenway Park','Boston, MA','Saturday','Jun 15','7:15 PM','5814106','Boston-Red-Sox-vs--New-York-Yankees-6-15-2024'],['Boston Red Sox vs. New York Yankees','Fenway Park','Boston, MA','Sunday','Jun 16','7:10 PM','5814107','Boston-Red-Sox-vs--New-York-Yankees-6-16-2024'],['Boston Red Sox vs. Toronto Blue Jays','Fenway Park','Boston, MA','Monday','Jun 24','7:10 PM','5814108','Boston-Red-Sox-vs--Toronto-Blue-Jays-6-24-2024'],['Boston Red Sox vs. Toronto Blue Jays','Fenway Park','Boston, MA','Tuesday','Jun 25','7:10 PM','5814109','Boston-Red-Sox-vs--Toronto-Blue-Jays-6-25-2024'],['Boston Red Sox vs. Toronto Blue Jays','Fenway Park','Boston, MA','Wednesday','Jun 26','7:10 PM','5814110','Boston-Red-Sox-vs--Toronto-Blue-Jays-6-26-2024'],['Boston Red Sox vs. San Diego Padres','Fenway Park','Boston, MA','Friday','Jun 28','7:10 PM','5814111','Boston-Red-Sox-vs--San-Diego-Padres-6-28-2024'],['Boston Red Sox vs. San Diego Padres','Fenway Park','Boston, MA','Saturday','Jun 29','4:10 PM','5814112','Boston-Red-Sox-vs--San-Diego-Padres-6-29-2024'],['Boston Red Sox vs. San Diego Padres','Fenway Park','Boston, MA','Sunday','Jun 30','1:35 PM','5814113','Boston-Red-Sox-vs--San-Diego-Padres-6-30-2024']]);