//
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([['Stereolab','Rio Theatre - Santa Cruz','Santa Cruz, CA','Friday','10/24/2025','8:00 PM','7013664','Stereolab-10-24-2025'],['Rachael & Vilray','Rio Theatre - Santa Cruz','Santa Cruz, CA','Saturday','10/25/2025','7:30 PM','7392482','Rachael---Vilray-10-25-2025'],['Zach Williams, We The Kingdom, Ben Fuller & Leanna Crawford','Rio Rancho Events Center','Rio Rancho, NM','Sunday','10/26/2025','7:00 PM','7032779','Zach-Williams--We-The-Kingdom--Ben-Fuller---Leanna-Crawford-10-26-2025'],['Todd Snider','Rio Theatre - Santa Cruz','Santa Cruz, CA','Saturday','11/8/2025','8:00 PM','7284982','Todd-Snider-11-8-2025'],['Built To Spill','Rio Theatre - Santa Cruz','Santa Cruz, CA','Friday','11/14/2025','7:30 PM','7163662','Built-To-Spill-11-14-2025'],['Lindsey Stirling','Rio Rancho Events Center','Rio Rancho, NM','Sunday','12/7/2025','7:00 PM','7350729','Lindsey-Stirling-12-7-2025'],['Heart','Rio Rancho Events Center','Rio Rancho, NM','Saturday','3/7/2026','7:30 PM','7414891','Heart-3-7-2026'],['Albuquerque Isotopes vs. Round Rock Express','Rio Grande Credit Union Field at Isotopes Park','Albuquerque, NM','Tuesday','7/21/2026','TBD','7410589','Albuquerque-Isotopes-vs--Round-Rock-Express-7-21-2026'],['Albuquerque Isotopes vs. Round Rock Express','Rio Grande Credit Union Field at Isotopes Park','Albuquerque, NM','Wednesday','7/22/2026','TBD','7410590','Albuquerque-Isotopes-vs--Round-Rock-Express-7-22-2026'],['Albuquerque Isotopes vs. Round Rock Express','Rio Grande Credit Union Field at Isotopes Park','Albuquerque, NM','Thursday','7/23/2026','TBD','7410591','Albuquerque-Isotopes-vs--Round-Rock-Express-7-23-2026'],['Albuquerque Isotopes vs. Round Rock Express','Rio Grande Credit Union Field at Isotopes Park','Albuquerque, NM','Friday','7/24/2026','TBD','7410592','Albuquerque-Isotopes-vs--Round-Rock-Express-7-24-2026'],['Albuquerque Isotopes vs. Round Rock Express','Rio Grande Credit Union Field at Isotopes Park','Albuquerque, NM','Saturday','7/25/2026','TBD','7410593','Albuquerque-Isotopes-vs--Round-Rock-Express-7-25-2026'],['Albuquerque Isotopes vs. Round Rock Express','Rio Grande Credit Union Field at Isotopes Park','Albuquerque, NM','Sunday','7/26/2026','TBD','7410594','Albuquerque-Isotopes-vs--Round-Rock-Express-7-26-2026'],['Brantley Gilbert','Rio Rancho Events Center','Rio Rancho, NM','Friday','9/4/2026','8:00 PM','7206079','Brantley-Gilbert-9-4-2026']],'Rock In Rio','http://www.ticketnetwork.com/ticket/Rock-In-Rio-events.aspx');