//
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([['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Thursday','2/27/2025','7:00 PM','6558473','Liberation-2-27-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Friday','2/28/2025','7:00 PM','6558474','Liberation-2-28-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Saturday','3/1/2025','2:00 PM','6558475','Liberation-3-1-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Saturday','3/1/2025','7:30 PM','6558476','Liberation-3-1-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Sunday','3/2/2025','3:00 PM','6558477','Liberation-3-2-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Tuesday','3/4/2025','7:00 PM','6558478','Liberation-3-4-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Wednesday','3/5/2025','12:30 PM','6558480','Liberation-3-5-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Wednesday','3/5/2025','7:00 PM','6558479','Liberation-3-5-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Thursday','3/6/2025','7:00 PM','6558481','Liberation-3-6-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Friday','3/7/2025','7:00 PM','6558482','Liberation-3-7-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Saturday','3/8/2025','2:00 PM','6558484','Liberation-3-8-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Saturday','3/8/2025','7:30 PM','6558483','Liberation-3-8-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Sunday','3/9/2025','3:00 PM','6558485','Liberation-3-9-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Tuesday','3/11/2025','7:00 PM','6558486','Liberation-3-11-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Wednesday','3/12/2025','2:00 PM','6558488','Liberation-3-12-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Wednesday','3/12/2025','7:00 PM','6558487','Liberation-3-12-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Thursday','3/13/2025','7:00 PM','6558489','Liberation-3-13-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Friday','3/14/2025','7:00 PM','6558490','Liberation-3-14-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Saturday','3/15/2025','2:00 PM','6558492','Liberation-3-15-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Saturday','3/15/2025','7:30 PM','6558491','Liberation-3-15-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Sunday','3/16/2025','3:00 PM','6558493','Liberation-3-16-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Tuesday','3/18/2025','7:00 PM','6558494','Liberation-3-18-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Wednesday','3/19/2025','2:00 PM','6558496','Liberation-3-19-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Wednesday','3/19/2025','7:00 PM','6558495','Liberation-3-19-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Thursday','3/20/2025','7:00 PM','6558497','Liberation-3-20-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Friday','3/21/2025','7:00 PM','6558498','Liberation-3-21-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Saturday','3/22/2025','2:00 PM','6558500','Liberation-3-22-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Saturday','3/22/2025','7:30 PM','6558499','Liberation-3-22-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Sunday','3/23/2025','3:00 PM','6558501','Liberation-3-23-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Tuesday','3/25/2025','7:00 PM','6558502','Liberation-3-25-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Wednesday','3/26/2025','2:00 PM','6558504','Liberation-3-26-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Wednesday','3/26/2025','7:00 PM','6558503','Liberation-3-26-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Thursday','3/27/2025','7:00 PM','6558505','Liberation-3-27-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Friday','3/28/2025','7:00 PM','6558506','Liberation-3-28-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Saturday','3/29/2025','2:00 PM','6558508','Liberation-3-29-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Saturday','3/29/2025','7:30 PM','6558507','Liberation-3-29-2025'],['Liberation','Laura Pels Theatre At The Steinberg Center','New York, NY','Sunday','3/30/2025','3:00 PM','6558509','Liberation-3-30-2025']],'Laura Pels Theater','https://www.ticketnetwork.com/ticket/Laura-Pels-Theater-events.aspx');