// var TN_Widget = function() { var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; return { newWindow : true, CreateEventRow : function(row, isAlt) { var dateArray = row[4].split('/'); var date = months[dateArray[0]] + " " + dateArray[1]; var parking = row[0].split(':')[0] if (parking !== "PARKING") { return "
" + row[3].substring(0,3) + "
" + date + "" + row[5] + "
" + row[0] + "" + row[1] + ", " + row[2] + "
"; } }, 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,kwds,url) { if(typeof(TN_SetWidgetOptions) == "function") TN_SetWidgetOptions(); //for backwards compatability var newResults = []; for(var cntr = 0; cntr < eventData.length; cntr++) newResults.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1)); var objToAddTo; if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML = '
' + newResults.join('') + '
'; } else document.write('
' + newResults.join('') + '
'); if(eventData.length >= 101 && kwds != undefined) { if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML += '
See all events for '+ kwds + ' on TicketNetwork.com
'; } else { document.write("
See all events for "+ kwds + " on TicketNetwork.com
"); } } } }; }(); //BPW-TNSERV-01B TN_Widget.AddCss('//tn-widget.seatics.com/widget2Css/results-style-1.css'); TN_Widget.AddCss('//s3.amazonaws.com/ticketnetwork/fonts/TTNorms/TTNorms.css'); TN_Widget.CreateTable([['Social Distortion & Bad Religion','The Rooftop at Pier 17','New York, NY','Wednesday','5/8/2024','6:00 PM','6241307','Social-Distortion---Bad-Religion-5-8-2024'],['Freddie Gibbs & Madlib','The Rooftop at Pier 17','New York, NY','Saturday','5/11/2024','7:00 PM','6229214','Freddie-Gibbs---Madlib-5-11-2024'],['Electric Callboy','The Rooftop at Pier 17','New York, NY','Monday','5/13/2024','6:30 PM','6150804','Electric-Callboy-5-13-2024'],['Needtobreathe & Judah and The Lion','The Rooftop at Pier 17','New York, NY','Friday','5/31/2024','7:30 PM','5938815','Needtobreathe---Judah-and-The-Lion-5-31-2024'],['Isaiah Rashad','The Rooftop at Pier 17','New York, NY','Saturday','6/1/2024','7:00 PM','6385082','Isaiah-Rashad-6-1-2024'],['Greensky Bluegrass','The Rooftop at Pier 17','New York, NY','Friday','6/14/2024','7:00 PM','6323532','Greensky-Bluegrass-6-14-2024'],['Reggae Fest Blaze','The Rooftop at Pier 17','New York, NY','Saturday','6/15/2024','3:00 PM','6373515','Reggae-Fest-Blaze-6-15-2024'],['Trombone Shorty And Orleans Avenue','The Rooftop at Pier 17','New York, NY','Sunday','6/16/2024','7:00 PM','6253755','Trombone-Shorty-And-Orleans-Avenue-6-16-2024'],['Something Corporate','The Rooftop at Pier 17','New York, NY','Friday','6/21/2024','7:00 PM','6289481','Something-Corporate-6-21-2024'],['Billy Currington & Larry Fleet','The Rooftop at Pier 17','New York, NY','Saturday','6/22/2024','7:00 PM','6227182','Billy-Currington---Larry-Fleet-6-22-2024'],['Cavetown & Mother Mother','The Rooftop at Pier 17','New York, NY','Tuesday','7/9/2024','6:00 PM','6219997','Cavetown---Mother-Mother-7-9-2024'],['Cavetown & Mother Mother','The Rooftop at Pier 17','New York, NY','Wednesday','7/10/2024','6:00 PM','6219998','Cavetown---Mother-Mother-7-10-2024'],['moe.','The Rooftop at Pier 17','New York, NY','Thursday','7/11/2024','6:30 PM','6266259','moe--7-11-2024'],['Michael Franti and Spearhead','The Rooftop at Pier 17','New York, NY','Friday','7/12/2024','6:30 PM','6343679','Michael-Franti-and-Spearhead-7-12-2024'],['Old Crow Medicine Show','The Rooftop at Pier 17','New York, NY','Wednesday','7/17/2024','7:00 PM','6303448','Old-Crow-Medicine-Show-7-17-2024'],['Totally Tubular Festival: Thomas Dolby, Modern English & Men Without Hats','The Rooftop at Pier 17','New York, NY','Thursday','7/18/2024','5:00 PM','6203723','Totally-Tubular-Festival--Thomas-Dolby--Modern-English---Men-Without-Hats-7-18-2024'],['9AM Banger','The Rooftop at Pier 17','New York, NY','Saturday','7/20/2024','9:00 AM','6412629','9AM-Banger-7-20-2024'],['Two Door Cinema Club','The Rooftop at Pier 17','New York, NY','Tuesday','7/23/2024','7:00 PM','6302661','Two-Door-Cinema-Club-7-23-2024'],['Two Door Cinema Club','The Rooftop at Pier 17','New York, NY','Wednesday','7/24/2024','7:00 PM','6310940','Two-Door-Cinema-Club-7-24-2024'],['O.A.R. & Fitz and The Tantrums','The Rooftop at Pier 17','New York, NY','Thursday','7/25/2024','6:00 PM','6083935','O-A-R----Fitz-and-The-Tantrums-7-25-2024']],'rooftop pier 17 concerts','http://www.ticketnetwork.com/en/search/?text=rooftop%20pier%2017%20concerts');