//
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([['Auburn Symphony Orchestra','Federal Way Performing Arts & Events Center','Federal Way, WA','Saturday','3/1/2025','7:00 PM','6582948','Auburn-Symphony-Orchestra-3-1-2025'],['Kodo','Woltosz Theatre At Gogue Performing Arts Center','Auburn, AL','Thursday','3/20/2025','7:00 PM','6704171','Kodo-3-20-2025'],['Anoushka Shankar','Woltosz Theatre At Gogue Performing Arts Center','Auburn, AL','Saturday','3/22/2025','7:00 PM','6631708','Anoushka-Shankar-3-22-2025'],['Mamma Mia!','Woltosz Theatre At Gogue Performing Arts Center','Auburn, AL','Tuesday','3/25/2025','7:00 PM','6974049','Mamma-Mia--3-25-2025'],['Mamma Mia!','Woltosz Theatre At Gogue Performing Arts Center','Auburn, AL','Wednesday','3/26/2025','7:00 PM','6631709','Mamma-Mia--3-26-2025'],['Hadestown','Woltosz Theatre At Gogue Performing Arts Center','Auburn, AL','Monday','4/28/2025','7:00 PM','6686391','Hadestown-4-28-2025'],['Hadestown','Woltosz Theatre At Gogue Performing Arts Center','Auburn, AL','Tuesday','4/29/2025','7:00 PM','6631713','Hadestown-4-29-2025'],['Hadestown','Woltosz Theatre At Gogue Performing Arts Center','Auburn, AL','Wednesday','4/30/2025','7:00 PM','6704223','Hadestown-4-30-2025'],['Auburn Symphony Orchestra: Geoffrey Boers - Ode to Joy','Federal Way Performing Arts & Events Center','Federal Way, WA','Sunday','5/4/2025','2:30 PM','6812260','Auburn-Symphony-Orchestra--Geoffrey-Boers---Ode-to-Joy-5-4-2025']],'Auburn Performing Arts Center','https://www.ticketnetwork.com/ticket/Auburn-Performing-Arts-Center-events.aspx');