//
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-04A
TN_Widget.CreateTable([['Wavy Train ft. Donald Glaude','Live in the Atrium at The Catalyst','Santa Cruz, CA','Saturday','11/21/2026','7:30 PM','8319592','Wavy-Train-ft--Donald-Glaude-11-21-2026'],['Blackout Wednesday','Live in the Atrium at The Catalyst','Santa Cruz, CA','Wednesday','11/25/2026','7:00 PM','8367134','Blackout-Wednesday-11-25-2026'],['Bald & Boujee - The Pitbull Tribute Party','Live in the Atrium at The Catalyst','Santa Cruz, CA','Friday','12/4/2026','9:00 PM','8360348','Bald---Boujee---The-Pitbull-Tribute-Party-12-4-2026'],['Dance...4 U - Slayyyter & Charli XCX Tribute Night','Live in the Atrium at The Catalyst','Santa Cruz, CA','Saturday','12/5/2026','9:00 PM','8360347','Dance---4-U---Slayyyter---Charli-XCX-Tribute-Night-12-5-2026'],['Starcrawler','Live in the Atrium at The Catalyst','Santa Cruz, CA','Friday','12/18/2026','8:00 PM','8350839','Starcrawler-12-18-2026'],['Youth Fountain','Live in the Atrium at The Catalyst','Santa Cruz, CA','Wednesday','1/27/2027','8:00 PM','8301750','Youth-Fountain-1-27-2027'],['Girl Ultra','Live in the Atrium at The Catalyst','Santa Cruz, CA','Saturday','2/27/2027','9:00 PM','8311883','Girl-Ultra-2-27-2027'],['Tommy Lefroy','Live in the Atrium at The Catalyst','Santa Cruz, CA','Thursday','3/4/2027','8:30 PM','8330048','Tommy-Lefroy-3-4-2027'],['The Lemonheads','Live in the Atrium at The Catalyst','Santa Cruz, CA','Saturday','3/6/2027','8:30 PM','8266223','The-Lemonheads-3-6-2027']],'The Catalyst Atrium','http://www.ticketnetwork.com/ticket/The-Catalyst-Atrium-events.aspx');