//
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([['Anjelah Johnson-Reyes','Abraham Chavez Theatre','El Paso, TX','Saturday','3/15/2025','7:00 PM','6752275','Anjelah-Johnson-Reyes-3-15-2025'],['Blippi Live','Abraham Chavez Theatre','El Paso, TX','Friday','3/28/2025','6:00 PM','6937827','Blippi-Live-3-28-2025'],['Jerry Seinfeld','Abraham Chavez Theatre','El Paso, TX','Thursday','5/1/2025','7:00 PM','7042066','Jerry-Seinfeld-5-1-2025'],['Get The Led Out - Tribute Band','Abraham Chavez Theatre','El Paso, TX','Sunday','5/4/2025','7:00 PM','6965849','Get-The-Led-Out---Tribute-Band-5-4-2025'],['Rob Schneider','Abraham Chavez Theatre','El Paso, TX','Saturday','5/10/2025','7:30 PM','7020809','Rob-Schneider-5-10-2025'],['Ralph Barbosa & Rene Vaca','Abraham Chavez Theatre','El Paso, TX','Saturday','6/7/2025','7:00 PM','7009397','Ralph-Barbosa---Rene-Vaca-6-7-2025'],['Ninja Kidz Live: Infinite Possibilities','Abraham Chavez Theatre','El Paso, TX','Thursday','6/12/2025','6:00 PM','6873341','Ninja-Kidz-Live--Infinite-Possibilities-6-12-2025'],['Kevin Kaarl','Abraham Chavez Theatre','El Paso, TX','Friday','8/15/2025','8:00 PM','7040245','Kevin-Kaarl-8-15-2025'],['Kevin Kaarl','Abraham Chavez Theatre','El Paso, TX','Saturday','8/16/2025','8:00 PM','7009748','Kevin-Kaarl-8-16-2025'],['Eden Munoz','Abraham Chavez Theatre','El Paso, TX','Saturday','10/11/2025','8:00 PM','6944777','Eden-Munoz-10-11-2025']],'Abraham Chavez Theatre','https://www.ticketnetwork.com/ticket/Abraham-Chavez-Theatre-events.aspx');