//
var TN_Widget = function() {
var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
return {
newWindow : true,
CreateEventRow : function(row, isAlt) {
var t = row[4].split("/");
t[0] = months[t[0]];
t[2] = ", " + t[2];
return "
" +
t[0] + " " + "" + t[1] + "" +
t[2] + " " +
row[3].substring(0,3) + " " +
row[5] + " | " +
row[0] + " " +
row[1] + " - " +
row[2] + " | " + this.btnText + "" +
" |
";
},
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,kwds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
var footerLink = "";
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else if(document.querySelector(".tnpl_results_container") != null) {
document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else
document.write("" + newTable.join('') + "" + footerLink + "
");
}
};
}();
//BPW-TNSERV-04A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Luz Pazos','Spotlight 29 Casino','Coachella, CA','Friday','7/11/2025','8:00 PM','7130842','Luz-Pazos-7-11-2025'],['Martin Rizo ','Spotlight 29 Casino','Coachella, CA','Friday','7/18/2025','8:00 PM','7130844','Martin-Rizo--7-18-2025'],['Banda Machos','Spotlight 29 Casino','Coachella, CA','Saturday','7/19/2025','8:00 PM','6966246','Banda-Machos-7-19-2025'],['George Lopez','Spotlight 29 Casino','Coachella, CA','Saturday','8/16/2025','8:00 PM','7021050','George-Lopez-8-16-2025'],['Lupillo Rivera','Spotlight 29 Casino','Coachella, CA','Friday','9/12/2025','8:00 PM','7078250','Lupillo-Rivera-9-12-2025'],['.38 Special','Spotlight 29 Casino','Coachella, CA','Friday','9/19/2025','8:00 PM','7120358','-38-Special-9-19-2025'],['Los Horoscopos De Durango','Spotlight 29 Casino','Coachella, CA','Friday','9/26/2025','8:00 PM','7230356','Los-Horoscopos-De-Durango-9-26-2025'],['Yuri','Spotlight 29 Casino','Coachella, CA','Saturday','9/27/2025','8:00 PM','7069647','Yuri-9-27-2025'],['MJ Live - Michael Jackson Tribute','Spotlight 29 Casino','Coachella, CA','Saturday','10/4/2025','8:00 PM','7245530','MJ-Live---Michael-Jackson-Tribute-10-4-2025'],['Bee Gees Gold - A Tribute to The Bee Gees','Spotlight 29 Casino','Coachella, CA','Saturday','10/18/2025','8:00 PM','7104962','Bee-Gees-Gold---A-Tribute-to-The-Bee-Gees-10-18-2025']],'"Coachella"','https://www.ticketnetwork.com');