// 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-04A TN_Widget.CreateTable([['Distinguished Concerts International','Carnegie Hall - Isaac Stern Auditorium','New York, NY','Sunday','4/28/2024','2:00 PM','6290939','Distinguished-Concerts-International-4-28-2024'],['Abhishek Upmanyu','Gramercy Theatre','New York, NY','Sunday','4/28/2024','4:00 PM','6244595','Abhishek-Upmanyu-4-28-2024'],['Jim Gaffigan','Beacon Theatre - NY','New York, NY','Sunday','4/28/2024','4:00 PM','6243810','Jim-Gaffigan-4-28-2024'],['Me First And The Gimme Gimmes','Irving Plaza','New York, NY','Sunday','4/28/2024','7:00 PM','6266139','Me-First-And-The-Gimme-Gimmes-4-28-2024'],['Ahmed Al-Kadri','The Loft At City Winery - New York City','New York, NY','Sunday','4/28/2024','7:00 PM','6349259','Ahmed-Al-Kadri-4-28-2024'],['Jim Gaffigan','Beacon Theatre - NY','New York, NY','Sunday','4/28/2024','7:00 PM','6132870','Jim-Gaffigan-4-28-2024'],['Stand Up Comedy In New York City','Greenwich Village Comedy Club','New York, NY','Sunday','4/28/2024','7:30 PM','6310588','Stand-Up-Comedy-In-New-York-City-4-28-2024'],['Malcolm Todd','Webster Hall','New York, NY','Sunday','4/28/2024','8:00 PM','6283747','Malcolm-Todd-4-28-2024'],['Live Dead & Brothers: An Allstar Celebration of Grateful Dead & Allman Brothers','Sony Hall','New York, NY','Sunday','4/28/2024','8:00 PM','6215803','Live-Dead---Brothers--An-Allstar-Celebration-of-Grateful-Dead---Allman-Brothers-4-28-2024'],['Brenn!','Mercury Lounge - NY','New York, NY','Monday','4/29/2024','6:00 PM','6267001','Brenn--4-29-2024']],'New York, NY + concert','https://www.ticketnetwork.com/ticket/concerts-events.aspx?cid=217&spid=35&ctyName=New York');