// 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. Baltimore Orioles','Fenway Park','Boston, MA','Tuesday','Jun 2','TBD','7367361','Boston-Red-Sox-vs--Baltimore-Orioles-6-2-2026'],['Boston Red Sox vs. Baltimore Orioles','Fenway Park','Boston, MA','Wednesday','Jun 3','TBD','7367362','Boston-Red-Sox-vs--Baltimore-Orioles-6-3-2026'],['Boston Red Sox vs. Baltimore Orioles','Fenway Park','Boston, MA','Thursday','Jun 4','TBD','7367364','Boston-Red-Sox-vs--Baltimore-Orioles-6-4-2026'],['Boston Red Sox vs. Texas Rangers','Fenway Park','Boston, MA','Friday','Jun 12','TBD','7367375','Boston-Red-Sox-vs--Texas-Rangers-6-12-2026'],['Boston Red Sox vs. Texas Rangers','Fenway Park','Boston, MA','Saturday','Jun 13','TBD','7367376','Boston-Red-Sox-vs--Texas-Rangers-6-13-2026'],['Boston Red Sox vs. Texas Rangers','Fenway Park','Boston, MA','Sunday','Jun 14','TBD','7367377','Boston-Red-Sox-vs--Texas-Rangers-6-14-2026'],['Boston Red Sox vs. Toronto Blue Jays','Fenway Park','Boston, MA','Tuesday','Jun 16','TBD','7367388','Boston-Red-Sox-vs--Toronto-Blue-Jays-6-16-2026'],['Boston Red Sox vs. Toronto Blue Jays','Fenway Park','Boston, MA','Wednesday','Jun 17','TBD','7367389','Boston-Red-Sox-vs--Toronto-Blue-Jays-6-17-2026'],['Boston Red Sox vs. Toronto Blue Jays','Fenway Park','Boston, MA','Thursday','Jun 18','TBD','7367390','Boston-Red-Sox-vs--Toronto-Blue-Jays-6-18-2026'],['Boston Red Sox vs. New York Yankees','Fenway Park','Boston, MA','Thursday','Jun 25','TBD','7367392','Boston-Red-Sox-vs--New-York-Yankees-6-25-2026'],['Boston Red Sox vs. New York Yankees','Fenway Park','Boston, MA','Friday','Jun 26','TBD','7367395','Boston-Red-Sox-vs--New-York-Yankees-6-26-2026'],['Boston Red Sox vs. New York Yankees','Fenway Park','Boston, MA','Saturday','Jun 27','TBD','7367396','Boston-Red-Sox-vs--New-York-Yankees-6-27-2026'],['Boston Red Sox vs. New York Yankees','Fenway Park','Boston, MA','Sunday','Jun 28','TBD','7367397','Boston-Red-Sox-vs--New-York-Yankees-6-28-2026'],['Boston Red Sox vs. Washington Nationals','Fenway Park','Boston, MA','Monday','Jun 29','TBD','7367398','Boston-Red-Sox-vs--Washington-Nationals-6-29-2026'],['Boston Red Sox vs. Washington Nationals','Fenway Park','Boston, MA','Tuesday','Jun 30','TBD','7367399','Boston-Red-Sox-vs--Washington-Nationals-6-30-2026']]);