//
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-01A
TN_Widget.CreateTable([['BodyTraffic','Byham Theater','Pittsburgh, PA','Saturday','2/22/2025','7:30 PM','6864740','BodyTraffic-2-22-2025'],['Jessica Kirson','Byham Theater','Pittsburgh, PA','Sunday','2/23/2025','7:00 PM','6917039','Jessica-Kirson-2-23-2025'],['Darcy & Jer','Byham Theater','Pittsburgh, PA','Monday','2/24/2025','8:00 PM','6784891','Darcy---Jer-2-24-2025'],['The High Kings','Byham Theater','Pittsburgh, PA','Monday','3/3/2025','7:30 PM','6716655','The-High-Kings-3-3-2025'],['Ballet Folklorico de Mexico','Byham Theater','Pittsburgh, PA','Wednesday','3/5/2025','7:30 PM','6904378','Ballet-Folklorico-de-Mexico-3-5-2025'],['Pretty Guardian Sailor Moon: The Super Live','Byham Theater','Pittsburgh, PA','Wednesday','3/12/2025','7:30 PM','6935101','Pretty-Guardian-Sailor-Moon--The-Super-Live-3-12-2025'],['The Sharpe Family Singers','Byham Theater','Pittsburgh, PA','Friday','3/14/2025','7:30 PM','6875786','The-Sharpe-Family-Singers-3-14-2025'],['Lords Of The Sound Orchestra: The Music of Hans Zimmer','Byham Theater','Pittsburgh, PA','Sunday','3/16/2025','7:00 PM','6957994','Lords-Of-The-Sound-Orchestra--The-Music-of-Hans-Zimmer-3-16-2025'],['Shamrock Tenors','Byham Theater','Pittsburgh, PA','Thursday','3/20/2025','7:30 PM','6946244','Shamrock-Tenors-3-20-2025'],['Jeremy Piven','Byham Theater','Pittsburgh, PA','Friday','3/21/2025','7:30 PM','6854344','Jeremy-Piven-3-21-2025'],['Jim Henson's Fraggle Rock Live','Byham Theater','Pittsburgh, PA','Thursday','3/27/2025','7:00 PM','6885854','Jim-Henson-s-Fraggle-Rock-Live-3-27-2025'],['Danae Hays','Byham Theater','Pittsburgh, PA','Friday','3/28/2025','8:00 PM','6763934','Danae-Hays-3-28-2025'],['Jesus Christ Superstar','Byham Theater','Pittsburgh, PA','Thursday','4/3/2025','7:30 PM','6876965','Jesus-Christ-Superstar-4-3-2025'],['Jesus Christ Superstar','Byham Theater','Pittsburgh, PA','Friday','4/4/2025','7:30 PM','6876966','Jesus-Christ-Superstar-4-4-2025'],['Jesus Christ Superstar','Byham Theater','Pittsburgh, PA','Saturday','4/5/2025','7:30 PM','6876970','Jesus-Christ-Superstar-4-5-2025'],['Jesus Christ Superstar','Byham Theater','Pittsburgh, PA','Sunday','4/6/2025','1:30 PM','6876971','Jesus-Christ-Superstar-4-6-2025'],['Jesus Christ Superstar','Byham Theater','Pittsburgh, PA','Wednesday','4/9/2025','1:30 PM','6876972','Jesus-Christ-Superstar-4-9-2025'],['Jesus Christ Superstar','Byham Theater','Pittsburgh, PA','Thursday','4/10/2025','7:30 PM','6876973','Jesus-Christ-Superstar-4-10-2025'],['Jesus Christ Superstar','Byham Theater','Pittsburgh, PA','Friday','4/11/2025','7:30 PM','6876974','Jesus-Christ-Superstar-4-11-2025'],['Jesus Christ Superstar','Byham Theater','Pittsburgh, PA','Saturday','4/12/2025','1:30 PM','6876976','Jesus-Christ-Superstar-4-12-2025'],['Jesus Christ Superstar','Byham Theater','Pittsburgh, PA','Saturday','4/12/2025','7:30 PM','6876975','Jesus-Christ-Superstar-4-12-2025'],['Jesus Christ Superstar','Byham Theater','Pittsburgh, PA','Sunday','4/13/2025','1:30 PM','6876977','Jesus-Christ-Superstar-4-13-2025'],['Jesus Christ Superstar','Byham Theater','Pittsburgh, PA','Sunday','4/13/2025','6:00 PM','6876978','Jesus-Christ-Superstar-4-13-2025'],['Twyla Tharp Dance','Byham Theater','Pittsburgh, PA','Saturday','4/19/2025','7:30 PM','6958108','Twyla-Tharp-Dance-4-19-2025'],['Malandain Ballet Biarritz','Byham Theater','Pittsburgh, PA','Wednesday','5/7/2025','7:30 PM','6876575','Malandain-Ballet-Biarritz-5-7-2025'],['Trevor Wallace','Byham Theater','Pittsburgh, PA','Friday','5/9/2025','7:00 PM','6931175','Trevor-Wallace-5-9-2025'],['360 All-Stars','Byham Theater','Pittsburgh, PA','Wednesday','5/14/2025','7:30 PM','6904379','360-All-Stars-5-14-2025'],['123 Andres','Byham Theater','Pittsburgh, PA','Saturday','5/17/2025','11:00 AM','6972985','123-Andres-5-17-2025'],['Sarah Millican','Byham Theater','Pittsburgh, PA','Wednesday','6/11/2025','8:00 PM','6743944','Sarah-Millican-6-11-2025'],['Jimmy Carr','Byham Theater','Pittsburgh, PA','Sunday','6/22/2025','7:00 PM','6834190','Jimmy-Carr-6-22-2025']],'Byham Theatre','https://www.ticketnetwork.com/ticket/Byham-Theatre-events.aspx');