//
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-03A
TN_Widget.CreateTable([['Amanda Miguel','Spotlight 29 Casino','Coachella, CA','Saturday','5/10/2025','8:00 PM','6913675','Amanda-Miguel-5-10-2025'],['AHL Pacific Division Finals: Colorado Eagles vs. TBD - Home Game 1 (Date: TBD)','Blue Federal Credit Union Arena','Loveland, CO','Wednesday','5/14/2025','TBD','7085809','AHL-Pacific-Division-Finals--Colorado-Eagles-vs--TBD---Home-Game-1--Date--TBD--5-14-2025'],['Suelta La Lengua','Spotlight 29 Casino','Coachella, CA','Friday','5/16/2025','8:00 PM','6945408','Suelta-La-Lengua-5-16-2025'],['AHL Pacific Division Finals: Colorado Eagles vs. TBD - Home Game 2 (Date: TBD - If Necessary)','Blue Federal Credit Union Arena','Loveland, CO','Saturday','5/17/2025','TBD','7085810','AHL-Pacific-Division-Finals--Colorado-Eagles-vs--TBD---Home-Game-2--Date--TBD---If-Necessary--5-17-2025'],['AHL Pacific Division Finals: Colorado Eagles vs. TBD - Home Game 3 (Date: TBD - If Necessary)','Blue Federal Credit Union Arena','Loveland, CO','Thursday','5/22/2025','TBD','7085811','AHL-Pacific-Division-Finals--Colorado-Eagles-vs--TBD---Home-Game-3--Date--TBD---If-Necessary--5-22-2025'],['Grupo Laberinto','Spotlight 29 Casino','Coachella, CA','Friday','6/13/2025','8:00 PM','6991860','Grupo-Laberinto-6-13-2025'],['Tania Estrada','Spotlight 29 Casino','Coachella, CA','Friday','6/20/2025','8:00 PM','7130843','Tania-Estrada-6-20-2025'],['Gerardo Coronel','Spotlight 29 Casino','Coachella, CA','Saturday','6/28/2025','8:00 PM','7055526','Gerardo-Coronel-6-28-2025'],['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'],['Yuri','Spotlight 29 Casino','Coachella, CA','Saturday','9/27/2025','8:00 PM','7069647','Yuri-9-27-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'],['Night Ranger','Spotlight 29 Casino','Coachella, CA','Saturday','11/1/2025','8:00 PM','7120370','Night-Ranger-11-1-2025'],['Conjunto Primavera','Spotlight 29 Casino','Coachella, CA','Friday','11/21/2025','8:00 PM','7148504','Conjunto-Primavera-11-21-2025'],['Coachella 2026 Weekend 1 - 3 Day Pass','Empire Polo Field','Indio, CA','Friday','4/10/2026','TBD','7103989','Coachella-2026-Weekend-1---3-Day-Pass-4-10-2026'],['Coachella 2026 Weekend 2 - 3 Day Pass','Empire Polo Field','Indio, CA','Friday','4/17/2026','TBD','7103990','Coachella-2026-Weekend-2---3-Day-Pass-4-17-2026']],'Coachella','http://www.ticketnetwork.com/ticket/Coachella-events.aspx');