//
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-02A
TN_Widget.CreateTable([['Santana','Isleta Amphitheater','Albuquerque, NM','Saturday','4/19/2025','8:00 PM','6874756','Santana-4-19-2025'],['Sessanta V 2.0: Primus, Puscifer & A Perfect Circle','Isleta Amphitheater','Albuquerque, NM','Sunday','4/27/2025','7:30 PM','6710968','Sessanta-V-2-0--Primus--Puscifer---A-Perfect-Circle-4-27-2025'],['Tyler Childers','Isleta Amphitheater','Albuquerque, NM','Thursday','6/5/2025','8:00 PM','6826122','Tyler-Childers-6-5-2025'],['Pierce The Veil, Sleeping with Sirens & Beach Weather','Isleta Amphitheater','Albuquerque, NM','Tuesday','6/17/2025','7:00 PM','6861040','Pierce-The-Veil--Sleeping-with-Sirens---Beach-Weather-6-17-2025'],['Dierks Bentley, Zach Top & The Band Loula','Isleta Amphitheater','Albuquerque, NM','Saturday','6/21/2025','7:00 PM','6994494','Dierks-Bentley--Zach-Top---The-Band-Loula-6-21-2025'],['Styx, Kevin Cronin & Don Felder','Isleta Amphitheater','Albuquerque, NM','Saturday','6/28/2025','6:45 PM','6868940','Styx--Kevin-Cronin---Don-Felder-6-28-2025'],['Jason Aldean, Nate Smith & RaeLynn','Isleta Amphitheater','Albuquerque, NM','Thursday','7/24/2025','7:30 PM','6944225','Jason-Aldean--Nate-Smith---RaeLynn-7-24-2025'],['Creed','Isleta Amphitheater','Albuquerque, NM','Monday','8/4/2025','7:00 PM','6874504','Creed-8-4-2025'],['Alabama Shakes','Isleta Amphitheater','Albuquerque, NM','Friday','8/8/2025','8:00 PM','6977772','Alabama-Shakes-8-8-2025'],['Lainey Wilson, Ernest & Kaitlin Butts','Isleta Amphitheater','Albuquerque, NM','Friday','8/15/2025','7:00 PM','6964653','Lainey-Wilson--Ernest---Kaitlin-Butts-8-15-2025'],['Tedeschi Trucks Band','Isleta Amphitheater','Albuquerque, NM','Tuesday','8/19/2025','7:00 PM','6946845','Tedeschi-Trucks-Band-8-19-2025'],['Goo Goo Dolls & Dashboard Confessional','Isleta Amphitheater','Albuquerque, NM','Tuesday','9/9/2025','7:30 PM','6827533','Goo-Goo-Dolls---Dashboard-Confessional-9-9-2025'],['Kidz Bop Live','Isleta Amphitheater','Albuquerque, NM','Sunday','10/5/2025','4:00 PM','6980724','Kidz-Bop-Live-10-5-2025']],'Isleta Amphitheater','https://www.ticketnetwork.com/ticket/Isleta-Amphitheater-events.aspx');