// var TN_Widget = function() { return { //Options newWindow : true, linkText : "Tickets", tixUrl : "https://www.ticketnetwork.com/tix/", trackingParams : "", custLink : true, //depricated kbid : "", //Overwrittable functions trackingLink :"", CreateCustomUrl : function(row) { return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx"; }, CreateEventRow : function(row, isAlt) { return "" + row[3] +"
"+"" + row[4] + "
"+"" + row[5] + ""+"" + row[0] +"" + row[1] +"
" + row[2] +""+""+ this.linkText+ ""; }, 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,kywrds,url) { 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 < eventData.length; cntr++) newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1)); var objToAddTo; if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML = '' + newTable.join('') + '
'; } else document.write('
' + newTable.join('') + '
'); if(eventData.length >= 100 && kywrds != undefined) { if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML += '
See all events for '+ kywrds + ' on TicketNetwork.com
'; } else { document.write("
See all events for "+ kywrds + " on TicketNetwork.com
"); } } if(eventData.length > 0) { document.getElementById("previewNote").style.display = "none"; } } }; }(); //BPW-TNSERV-01A TN_Widget.CreateTable([['Arts Fishing Club','The Bowery Electric','New York, NY','Sunday','3/2/2025','8:00 PM','6910312','Arts-Fishing-Club-3-2-2025'],['Bandits on the Run','The Bowery Electric','New York, NY','Monday','3/10/2025','8:00 PM','6784795','Bandits-on-the-Run-3-10-2025'],['Muo Duo','The Bowery Electric','New York, NY','Wednesday','3/12/2025','7:00 PM','6960768','Muo-Duo-3-12-2025'],['Ours','The Bowery Electric','New York, NY','Thursday','3/13/2025','8:00 PM','6960766','Ours-3-13-2025'],['Wiped Out','The Bowery Electric','New York, NY','Friday','3/14/2025','7:30 PM','6847751','Wiped-Out-3-14-2025'],['Miki Fiki','The Bowery Electric','New York, NY','Saturday','3/22/2025','7:00 PM','6960775','Miki-Fiki-3-22-2025'],['Ours','The Bowery Electric','New York, NY','Thursday','3/27/2025','8:00 PM','6960767','Ours-3-27-2025'],['Bree Sharp','The Bowery Electric','New York, NY','Saturday','4/5/2025','7:00 PM','6960776','Bree-Sharp-4-5-2025'],['Ours','The Bowery Electric','New York, NY','Thursday','4/10/2025','8:00 PM','6960774','Ours-4-10-2025'],['Wolf Club','The Bowery Electric','New York, NY','Saturday','4/12/2025','7:00 PM','6960791','Wolf-Club-4-12-2025'],['Bandits on the Run','The Bowery Electric','New York, NY','Monday','4/14/2025','8:00 PM','6784796','Bandits-on-the-Run-4-14-2025'],['Jed Harrelson','The Bowery Electric','New York, NY','Sunday','4/20/2025','8:00 PM','6888145','Jed-Harrelson-4-20-2025'],['Townies','The Bowery Electric','New York, NY','Friday','4/25/2025','7:00 PM','6960789','Townies-4-25-2025'],['Bandits on the Run','The Bowery Electric','New York, NY','Monday','5/12/2025','8:00 PM','6784797','Bandits-on-the-Run-5-12-2025']],'The Bowery Electric','https://www.ticketnetwork.com/ticket/The-Bowery-Electric-events.aspx');