// 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 Ballet: Carmen','Citizens Bank Opera House','Boston, MA','Saturday','May 4','1:30 PM','5735265','Boston-Ballet--Carmen-5-4-2024'],['Clue - A New Comedy','Emerson Colonial Theatre','Boston, MA','Saturday','May 4','2:00 PM','5598058','Clue---A-New-Comedy-5-4-2024'],['Blue Man Group','Charles Playhouse','Boston, MA','Saturday','May 4','2:00 PM','5947432','Blue-Man-Group-5-4-2024'],['Alvin Ailey American Dance Theater','Wang Theater At The Boch Center','Boston, MA','Saturday','May 4','2:00 PM','6196139','Alvin-Ailey-American-Dance-Theater-5-4-2024'],['Blue Man Group','Charles Playhouse','Boston, MA','Saturday','May 4','5:00 PM','5947433','Blue-Man-Group-5-4-2024'],['Red Bull Dance Your Style','Citizens House Of Blues - Boston','Boston, MA','Saturday','May 4','6:00 PM','6355157','Red-Bull-Dance-Your-Style-5-4-2024'],['Boston Ballet: Carmen','Citizens Bank Opera House','Boston, MA','Saturday','May 4','7:30 PM','5735263','Boston-Ballet--Carmen-5-4-2024'],['Alvin Ailey American Dance Theater','Wang Theater At The Boch Center','Boston, MA','Saturday','May 4','8:00 PM','6196142','Alvin-Ailey-American-Dance-Theater-5-4-2024'],['Blue Man Group','Charles Playhouse','Boston, MA','Saturday','May 4','8:00 PM','5947434','Blue-Man-Group-5-4-2024'],['Clue - A New Comedy','Emerson Colonial Theatre','Boston, MA','Saturday','May 4','8:00 PM','5598059','Clue---A-New-Comedy-5-4-2024'],['A Strange Loop','Calderwood Pavilion at Boston Center For The Arts','Boston, MA','Saturday','May 4','8:00 PM','6349703','A-Strange-Loop-5-4-2024'],['Sonja Morgan','City Winery - Boston','Boston, MA','Sunday','May 5','12:00 PM','6397414','Sonja-Morgan-5-5-2024']]);