//
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([['Annie','The Capitol Theatre - WA','Yakima, WA','Thursday','2/27/2025','7:30 PM','6917049','Annie-2-27-2025'],['Grand Kyiv Ballet: Swan Lake','The Capitol Theatre - WA','Yakima, WA','Saturday','3/1/2025','7:00 PM','6802459','Grand-Kyiv-Ballet--Swan-Lake-3-1-2025'],['Yakima Symphony Orchestra: Defiant Requiem','The Capitol Theatre - WA','Yakima, WA','Saturday','3/15/2025','7:30 PM','6968918','Yakima-Symphony-Orchestra--Defiant-Requiem-3-15-2025'],['Jeff Boyer's Big Bubble Bonanza','The Capitol Theatre - WA','Yakima, WA','Wednesday','3/19/2025','12:00 PM','6752429','Jeff-Boyer-s-Big-Bubble-Bonanza-3-19-2025'],['Alfred Robles','The Capitol Theatre - WA','Yakima, WA','Thursday','3/20/2025','7:30 PM','6952492','Alfred-Robles-3-20-2025'],['The Price Is Right - Live Stage Show','The Capitol Theatre - WA','Yakima, WA','Tuesday','4/1/2025','7:30 PM','6938481','The-Price-Is-Right---Live-Stage-Show-4-1-2025'],['Yakima Symphony Orchestra: The French Connection','The Capitol Theatre - WA','Yakima, WA','Saturday','4/5/2025','7:30 PM','6968919','Yakima-Symphony-Orchestra--The-French-Connection-4-5-2025'],['Sex N' The City - A Super Unauthorized Musical Parody','The Capitol Theatre - WA','Yakima, WA','Saturday','4/12/2025','7:30 PM','6968920','Sex-N--The-City---A-Super-Unauthorized-Musical-Parody-4-12-2025'],['Las Guaracheras','The Capitol Theatre - WA','Yakima, WA','Friday','4/25/2025','10:00 AM','6752431','Las-Guaracheras-4-25-2025'],['Felipe Esparza','The Capitol Theatre - WA','Yakima, WA','Saturday','5/3/2025','7:00 PM','6849990','Felipe-Esparza-5-3-2025'],['The Liverpool Legends - Beatles Tribute','The Capitol Theatre - WA','Yakima, WA','Sunday','5/4/2025','7:30 PM','6979912','The-Liverpool-Legends---Beatles-Tribute-5-4-2025'],['Lindsay Deutsch','The Capitol Theatre - WA','Yakima, WA','Saturday','5/10/2025','7:30 PM','6968922','Lindsay-Deutsch-5-10-2025'],['Yakima Symphony Orchestra: Mahler's First Symphony','The Capitol Theatre - WA','Yakima, WA','Saturday','5/31/2025','7:30 PM','6968923','Yakima-Symphony-Orchestra--Mahler-s-First-Symphony-5-31-2025'],['The Addams Family','The Capitol Theatre - WA','Yakima, WA','Monday','6/2/2025','7:30 PM','6912650','The-Addams-Family-6-2-2025'],['The Addams Family','The Capitol Theatre - WA','Yakima, WA','Tuesday','6/3/2025','7:30 PM','6912651','The-Addams-Family-6-3-2025'],['Whose Live Anyway?','The Capitol Theatre - WA','Yakima, WA','Sunday','6/8/2025','7:30 PM','6968924','Whose-Live-Anyway--6-8-2025'],['Toast - The Ultimate Bread Experience','The Capitol Theatre - WA','Yakima, WA','Friday','6/27/2025','7:00 PM','6977557','Toast---The-Ultimate-Bread-Experience-6-27-2025']],'Capitol Theatre (Yakima)','https://www.ticketnetwork.com/ticket/Capitol-Theatre-(Yakima)-events.aspx');