//
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 += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02A
TN_Widget.CreateTable([['Purpose - Play','Helen Hayes Theatre','New York, NY','Thursday','2/27/2025','8:00 PM','6893667','Purpose---Play-2-27-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Friday','2/28/2025','8:00 PM','6893668','Purpose---Play-2-28-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','3/1/2025','2:00 PM','6893684','Purpose---Play-3-1-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','3/1/2025','8:00 PM','6893673','Purpose---Play-3-1-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Sunday','3/2/2025','3:00 PM','6893690','Purpose---Play-3-2-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Tuesday','3/4/2025','8:00 PM','6893691','Purpose---Play-3-4-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Wednesday','3/5/2025','8:00 PM','6893692','Purpose---Play-3-5-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Thursday','3/6/2025','8:00 PM','6893693','Purpose---Play-3-6-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Friday','3/7/2025','8:00 PM','6893694','Purpose---Play-3-7-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','3/8/2025','2:00 PM','6893685','Purpose---Play-3-8-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','3/8/2025','8:00 PM','6893674','Purpose---Play-3-8-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Sunday','3/9/2025','2:00 PM','6893695','Purpose---Play-3-9-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Sunday','3/9/2025','7:00 PM','6893696','Purpose---Play-3-9-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Tuesday','3/11/2025','8:00 PM','6893697','Purpose---Play-3-11-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Wednesday','3/12/2025','2:00 PM','6893700','Purpose---Play-3-12-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Wednesday','3/12/2025','8:00 PM','6893698','Purpose---Play-3-12-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Thursday','3/13/2025','8:00 PM','6893701','Purpose---Play-3-13-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Friday','3/14/2025','8:00 PM','6893702','Purpose---Play-3-14-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','3/15/2025','2:00 PM','6893686','Purpose---Play-3-15-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','3/15/2025','8:00 PM','6893675','Purpose---Play-3-15-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Sunday','3/16/2025','3:00 PM','6893703','Purpose---Play-3-16-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Wednesday','3/19/2025','8:00 PM','6893704','Purpose---Play-3-19-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Thursday','3/20/2025','7:00 PM','6893705','Purpose---Play-3-20-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Friday','3/21/2025','7:00 PM','6893706','Purpose---Play-3-21-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','3/22/2025','2:00 PM','6893687','Purpose---Play-3-22-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','3/22/2025','8:00 PM','6893676','Purpose---Play-3-22-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Sunday','3/23/2025','2:00 PM','6893708','Purpose---Play-3-23-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Sunday','3/23/2025','7:00 PM','6893707','Purpose---Play-3-23-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Tuesday','3/25/2025','7:00 PM','6893709','Purpose---Play-3-25-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Wednesday','3/26/2025','2:00 PM','6893710','Purpose---Play-3-26-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Wednesday','3/26/2025','8:00 PM','6893711','Purpose---Play-3-26-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Thursday','3/27/2025','7:00 PM','6893712','Purpose---Play-3-27-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Friday','3/28/2025','7:00 PM','6893713','Purpose---Play-3-28-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','3/29/2025','2:00 PM','6893688','Purpose---Play-3-29-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','3/29/2025','8:00 PM','6893677','Purpose---Play-3-29-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Sunday','3/30/2025','3:00 PM','6893714','Purpose---Play-3-30-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Tuesday','4/1/2025','7:00 PM','6893771','Purpose---Play-4-1-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Wednesday','4/2/2025','2:00 PM','6893743','Purpose---Play-4-2-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Wednesday','4/2/2025','8:00 PM','6893715','Purpose---Play-4-2-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Thursday','4/3/2025','7:00 PM','6893772','Purpose---Play-4-3-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Friday','4/4/2025','7:00 PM','6893773','Purpose---Play-4-4-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','4/5/2025','2:00 PM','6893744','Purpose---Play-4-5-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','4/5/2025','8:00 PM','6893716','Purpose---Play-4-5-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Sunday','4/6/2025','3:00 PM','6893813','Purpose---Play-4-6-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Tuesday','4/8/2025','7:00 PM','6893774','Purpose---Play-4-8-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Wednesday','4/9/2025','2:00 PM','6893745','Purpose---Play-4-9-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Wednesday','4/9/2025','8:00 PM','6893717','Purpose---Play-4-9-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Thursday','4/10/2025','7:00 PM','6893775','Purpose---Play-4-10-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Friday','4/11/2025','7:00 PM','6893776','Purpose---Play-4-11-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','4/12/2025','2:00 PM','6893746','Purpose---Play-4-12-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','4/12/2025','8:00 PM','6893718','Purpose---Play-4-12-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Sunday','4/13/2025','3:00 PM','6893814','Purpose---Play-4-13-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Tuesday','4/15/2025','7:00 PM','6893777','Purpose---Play-4-15-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Wednesday','4/16/2025','2:00 PM','6893747','Purpose---Play-4-16-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Wednesday','4/16/2025','8:00 PM','6893719','Purpose---Play-4-16-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Thursday','4/17/2025','7:00 PM','6893778','Purpose---Play-4-17-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Friday','4/18/2025','7:00 PM','6893779','Purpose---Play-4-18-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','4/19/2025','2:00 PM','6893748','Purpose---Play-4-19-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','4/19/2025','8:00 PM','6893720','Purpose---Play-4-19-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Sunday','4/20/2025','3:00 PM','6893815','Purpose---Play-4-20-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Tuesday','4/22/2025','7:00 PM','6893780','Purpose---Play-4-22-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Wednesday','4/23/2025','2:00 PM','6893749','Purpose---Play-4-23-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Wednesday','4/23/2025','8:00 PM','6893721','Purpose---Play-4-23-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Thursday','4/24/2025','7:00 PM','6893781','Purpose---Play-4-24-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Friday','4/25/2025','7:00 PM','6893782','Purpose---Play-4-25-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','4/26/2025','2:00 PM','6893750','Purpose---Play-4-26-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','4/26/2025','8:00 PM','6893722','Purpose---Play-4-26-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Sunday','4/27/2025','3:00 PM','6893816','Purpose---Play-4-27-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Tuesday','4/29/2025','7:00 PM','6893783','Purpose---Play-4-29-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Wednesday','4/30/2025','2:00 PM','6893751','Purpose---Play-4-30-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Wednesday','4/30/2025','8:00 PM','6893723','Purpose---Play-4-30-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Thursday','5/1/2025','7:00 PM','6893784','Purpose---Play-5-1-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Friday','5/2/2025','7:00 PM','6893785','Purpose---Play-5-2-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','5/3/2025','2:00 PM','6893752','Purpose---Play-5-3-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','5/3/2025','8:00 PM','6893724','Purpose---Play-5-3-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Sunday','5/4/2025','3:00 PM','6893817','Purpose---Play-5-4-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Tuesday','5/6/2025','7:00 PM','6893786','Purpose---Play-5-6-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Wednesday','5/7/2025','2:00 PM','6893753','Purpose---Play-5-7-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Wednesday','5/7/2025','8:00 PM','6893725','Purpose---Play-5-7-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Thursday','5/8/2025','7:00 PM','6893787','Purpose---Play-5-8-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Friday','5/9/2025','7:00 PM','6893788','Purpose---Play-5-9-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','5/10/2025','2:00 PM','6893754','Purpose---Play-5-10-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','5/10/2025','8:00 PM','6893726','Purpose---Play-5-10-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Sunday','5/11/2025','3:00 PM','6893818','Purpose---Play-5-11-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Tuesday','5/13/2025','7:00 PM','6893789','Purpose---Play-5-13-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Wednesday','5/14/2025','2:00 PM','6893755','Purpose---Play-5-14-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Wednesday','5/14/2025','8:00 PM','6893727','Purpose---Play-5-14-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Thursday','5/15/2025','7:00 PM','6893790','Purpose---Play-5-15-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Friday','5/16/2025','7:00 PM','6893791','Purpose---Play-5-16-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','5/17/2025','2:00 PM','6893756','Purpose---Play-5-17-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','5/17/2025','8:00 PM','6893728','Purpose---Play-5-17-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Sunday','5/18/2025','3:00 PM','6893819','Purpose---Play-5-18-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Tuesday','5/20/2025','7:00 PM','6893792','Purpose---Play-5-20-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Wednesday','5/21/2025','2:00 PM','6893757','Purpose---Play-5-21-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Wednesday','5/21/2025','8:00 PM','6893729','Purpose---Play-5-21-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Thursday','5/22/2025','7:00 PM','6893793','Purpose---Play-5-22-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Friday','5/23/2025','7:00 PM','6893794','Purpose---Play-5-23-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','5/24/2025','2:00 PM','6893758','Purpose---Play-5-24-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Saturday','5/24/2025','8:00 PM','6893730','Purpose---Play-5-24-2025'],['Purpose - Play','Helen Hayes Theatre','New York, NY','Sunday','5/25/2025','2:00 PM','6893820','Purpose---Play-5-25-2025']],'Helen Hayes Theatre','https://www.ticketnetwork.com/ticket/Helen-Hayes-Theatre-events.aspx');