//
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-03A
TN_Widget.CreateTable([['C.S. Lewis' The Screwtape Letters','Byham Theater','Pittsburgh, PA','Sunday','7/13/2025','3:00 PM','7054817','C-S--Lewis--The-Screwtape-Letters-7-13-2025'],['C.S. Lewis' The Screwtape Letters','Byham Theater','Pittsburgh, PA','Sunday','7/13/2025','7:00 PM','7059821','C-S--Lewis--The-Screwtape-Letters-7-13-2025'],['Josh Johnson','Byham Theater','Pittsburgh, PA','Friday','8/15/2025','7:00 PM','7140142','Josh-Johnson-8-15-2025'],['Josh Johnson','Byham Theater','Pittsburgh, PA','Saturday','8/16/2025','7:00 PM','7029122','Josh-Johnson-8-16-2025'],['Josh Johnson','Byham Theater','Pittsburgh, PA','Saturday','8/16/2025','9:30 PM','7254632','Josh-Johnson-8-16-2025'],['Chris Distefano','Byham Theater','Pittsburgh, PA','Saturday','8/23/2025','7:00 PM','7114933','Chris-Distefano-8-23-2025'],['Tom Papa','Byham Theater','Pittsburgh, PA','Saturday','9/6/2025','7:00 PM','7144267','Tom-Papa-9-6-2025'],['Chris D'Elia','Byham Theater','Pittsburgh, PA','Friday','9/12/2025','8:00 PM','7105803','Chris-D-Elia-9-12-2025'],['Nate Jackson','Byham Theater','Pittsburgh, PA','Thursday','9/18/2025','7:30 PM','7217007','Nate-Jackson-9-18-2025'],['Dog Man - The Musical','Byham Theater','Pittsburgh, PA','Saturday','9/27/2025','12:00 PM','7202875','Dog-Man---The-Musical-9-27-2025'],['Dog Man - The Musical','Byham Theater','Pittsburgh, PA','Saturday','9/27/2025','4:00 PM','7209497','Dog-Man---The-Musical-9-27-2025'],['Queen Bitch: John Cameron Mitchell Sings David Bowie','Byham Theater','Pittsburgh, PA','Friday','10/3/2025','7:30 PM','7214109','Queen-Bitch--John-Cameron-Mitchell-Sings-David-Bowie-10-3-2025'],['The Concert - A Tribute to ABBA','Byham Theater','Pittsburgh, PA','Wednesday','10/8/2025','7:30 PM','7000698','The-Concert---A-Tribute-to-ABBA-10-8-2025'],['Il Divo','Byham Theater','Pittsburgh, PA','Tuesday','10/14/2025','7:30 PM','7158311','Il-Divo-10-14-2025'],['Canadian Brass','Byham Theater','Pittsburgh, PA','Saturday','10/18/2025','7:30 PM','7215175','Canadian-Brass-10-18-2025'],['The 4th Witch','Byham Theater','Pittsburgh, PA','Saturday','10/25/2025','7:00 PM','7221945','The-4th-Witch-10-25-2025'],['A Drag Queen Christmas','Byham Theater','Pittsburgh, PA','Wednesday','11/19/2025','7:30 PM','7209406','A-Drag-Queen-Christmas-11-19-2025'],['Omnium Circus - I'mPossible','Byham Theater','Pittsburgh, PA','Saturday','11/22/2025','2:00 PM','7231203','Omnium-Circus---I-mPossible-11-22-2025'],['Sesame Street Live: Elmo and Friends Say Hello','Byham Theater','Pittsburgh, PA','Sunday','11/30/2025','2:00 PM','7159490','Sesame-Street-Live--Elmo-and-Friends-Say-Hello-11-30-2025'],['Sesame Street Live: Elmo and Friends Say Hello','Byham Theater','Pittsburgh, PA','Sunday','11/30/2025','6:00 PM','7159491','Sesame-Street-Live--Elmo-and-Friends-Say-Hello-11-30-2025'],['The Fab Four - The Ultimate Tribute','Byham Theater','Pittsburgh, PA','Friday','1/9/2026','7:30 PM','7094212','The-Fab-Four---The-Ultimate-Tribute-1-9-2026'],['Darcy & Jer','Byham Theater','Pittsburgh, PA','Monday','2/9/2026','8:00 PM','6784891','Darcy---Jer-2-9-2026']],'Byham Theatre','https://www.ticketnetwork.com/ticket/Byham-Theatre-events.aspx');