//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://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[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ 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([['Spokane Symphony: James Lowe - Masterworks 1','Martin Woldson Theatre At The Fox','Spokane, WA','Saturday','9/14/2024','7:30 PM','6658787','Spokane-Symphony--James-Lowe---Masterworks-1-9-14-2024'],['Spokane Symphony: James Lowe - Masterworks 1','Martin Woldson Theatre At The Fox','Spokane, WA','Sunday','9/15/2024','3:00 PM','6658788','Spokane-Symphony--James-Lowe---Masterworks-1-9-15-2024'],['Masterworks 2: Scotland The Brave','Martin Woldson Theatre At The Fox','Spokane, WA','Saturday','10/5/2024','7:30 PM','6555633','Masterworks-2--Scotland-The-Brave-10-5-2024'],['North State Symphony: Masterworks 1 - Beethoven & Tchaikovsky','Cascade Theatre','Redding, CA','Saturday','10/19/2024','7:30 PM','6669608','North-State-Symphony--Masterworks-1---Beethoven---Tchaikovsky-10-19-2024'],['Spokane Symphony: Morihiko Nakahara - Masterworks 3','Martin Woldson Theatre At The Fox','Spokane, WA','Saturday','11/2/2024','7:30 PM','6660633','Spokane-Symphony--Morihiko-Nakahara---Masterworks-3-11-2-2024'],['Naples Philharmonic Masterworks: Rachmaninoff Piano Concerto No. 3','Artis-Naples','Naples, FL','Thursday','11/14/2024','7:30 PM','6581021','Naples-Philharmonic-Masterworks--Rachmaninoff-Piano-Concerto-No--3-11-14-2024'],['Naples Philharmonic Masterworks: Rachmaninoff Piano Concerto No. 3','Artis-Naples','Naples, FL','Saturday','11/16/2024','7:30 PM','6581022','Naples-Philharmonic-Masterworks--Rachmaninoff-Piano-Concerto-No--3-11-16-2024'],['Elkhart County Symphony: Slavic Masterworks','The Lerner','Elkhart, IN','Sunday','11/17/2024','4:00 PM','6649293','Elkhart-County-Symphony--Slavic-Masterworks-11-17-2024'],['Lehigh University Philharmonic: American Masterworks','Zoellner Arts Center - Baker Hall','Bethlehem, PA','Friday','12/6/2024','7:30 PM','6565298','Lehigh-University-Philharmonic--American-Masterworks-12-6-2024'],['Lehigh University Philharmonic: American Masterworks','Zoellner Arts Center - Baker Hall','Bethlehem, PA','Saturday','12/7/2024','7:30 PM','6565299','Lehigh-University-Philharmonic--American-Masterworks-12-7-2024'],['South Florida Symphony Orchestra: Sebrina Maria Alfonso - Bernstein's Candide','Au-Rene Theater at Broward Ctr For The Perf Arts','Fort Lauderdale, FL','Thursday','1/16/2025','7:30 PM','6693274','South-Florida-Symphony-Orchestra--Sebrina-Maria-Alfonso---Bernstein-s-Candide-1-16-2025'],['Spokane Symphony: James Lowe - Masterworks 4','Martin Woldson Theatre At The Fox','Spokane, WA','Saturday','1/18/2025','7:30 PM','6660634','Spokane-Symphony--James-Lowe---Masterworks-4-1-18-2025'],['Spokane Symphony: James Lowe - Masterworks 5','Martin Woldson Theatre At The Fox','Spokane, WA','Saturday','2/1/2025','7:30 PM','6660635','Spokane-Symphony--James-Lowe---Masterworks-5-2-1-2025'],['Spokane Symphony: Shira Samuels-Shragg - Masterworks 6','Martin Woldson Theatre At The Fox','Spokane, WA','Saturday','3/1/2025','7:30 PM','6660636','Spokane-Symphony--Shira-Samuels-Shragg---Masterworks-6-3-1-2025'],['Jack M. Champaigne Masterworks: Alastair','Morris Performing Arts Center','South Bend, IN','Saturday','3/22/2025','7:30 PM','6623325','Jack-M--Champaigne-Masterworks--Alastair-3-22-2025'],['Spokane Symphony: James Lowe - Masterworks 7','Martin Woldson Theatre At The Fox','Spokane, WA','Saturday','3/29/2025','7:30 PM','6660637','Spokane-Symphony--James-Lowe---Masterworks-7-3-29-2025'],['Spokane Symphony: James Lowe - Masterworks 8','Martin Woldson Theatre At The Fox','Spokane, WA','Saturday','4/26/2025','7:30 PM','6660638','Spokane-Symphony--James-Lowe---Masterworks-8-4-26-2025'],['Spokane Symphony: James Lowe - Masterworks 9','Martin Woldson Theatre At The Fox','Spokane, WA','Saturday','5/10/2025','7:30 PM','6660639','Spokane-Symphony--James-Lowe---Masterworks-9-5-10-2025']],'Masterworks Concert','http://www.ticketnetwork.com/ticket/Masterworks-Concert-events.aspx');