//
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-03A
TN_Widget.CreateTable([['San Diego Gulls vs. Abbotsford Canucks','Pechanga Arena - San Diego','San Diego, CA','Wednesday','4/2/2025','7:00 PM','6561613','San-Diego-Gulls-vs--Abbotsford-Canucks-4-2-2025'],['Felipe Esparza','Pechanga Arena - San Diego','San Diego, CA','Saturday','4/5/2025','7:00 PM','6754417','Felipe-Esparza-4-5-2025'],['Disney On Ice: Into The Magic','Pechanga Arena - San Diego','San Diego, CA','Thursday','4/10/2025','7:00 PM','6956875','Disney-On-Ice--Into-The-Magic-4-10-2025'],['Disney On Ice: Into The Magic','Pechanga Arena - San Diego','San Diego, CA','Friday','4/11/2025','7:00 PM','6956876','Disney-On-Ice--Into-The-Magic-4-11-2025'],['Disney On Ice: Into The Magic','Pechanga Arena - San Diego','San Diego, CA','Saturday','4/12/2025','11:00 AM','6956877','Disney-On-Ice--Into-The-Magic-4-12-2025'],['Disney On Ice: Into The Magic','Pechanga Arena - San Diego','San Diego, CA','Saturday','4/12/2025','3:00 PM','6956878','Disney-On-Ice--Into-The-Magic-4-12-2025'],['Disney On Ice: Into The Magic','Pechanga Arena - San Diego','San Diego, CA','Saturday','4/12/2025','7:00 PM','6956879','Disney-On-Ice--Into-The-Magic-4-12-2025'],['Disney On Ice: Into The Magic','Pechanga Arena - San Diego','San Diego, CA','Sunday','4/13/2025','1:00 PM','6956880','Disney-On-Ice--Into-The-Magic-4-13-2025'],['Disney On Ice: Into The Magic','Pechanga Arena - San Diego','San Diego, CA','Sunday','4/13/2025','5:00 PM','6956881','Disney-On-Ice--Into-The-Magic-4-13-2025'],['San Diego Gulls vs. Henderson Silver Knights','Pechanga Arena - San Diego','San Diego, CA','Wednesday','4/16/2025','7:00 PM','6561615','San-Diego-Gulls-vs--Henderson-Silver-Knights-4-16-2025'],['San Diego Seals vs. Albany FireWolves','Pechanga Arena - San Diego','San Diego, CA','Friday','4/18/2025','7:30 PM','6715373','San-Diego-Seals-vs--Albany-FireWolves-4-18-2025'],['San Diego Gulls vs. Coachella Valley Firebirds','Pechanga Arena - San Diego','San Diego, CA','Saturday','4/19/2025','6:00 PM','6561618','San-Diego-Gulls-vs--Coachella-Valley-Firebirds-4-19-2025'],['J Balvin','Pechanga Arena - San Diego','San Diego, CA','Sunday','5/4/2025','8:00 PM','6833944','J-Balvin-5-4-2025'],['Top Rank Boxing: Navarrete vs. Suarez','Pechanga Arena - San Diego','San Diego, CA','Saturday','5/10/2025','2:30 PM','7064522','Top-Rank-Boxing--Navarrete-vs--Suarez-5-10-2025'],['Shane Gillis','Pechanga Arena - San Diego','San Diego, CA','Saturday','6/7/2025','8:00 PM','6819887','Shane-Gillis-6-7-2025'],['Wu-Tang Clan','Pechanga Arena - San Diego','San Diego, CA','Saturday','6/21/2025','8:00 PM','7006462','Wu-Tang-Clan-6-21-2025'],['Disney's Descendants & Zombies: Worlds Collide','Pechanga Arena - San Diego','San Diego, CA','Thursday','7/17/2025','7:00 PM','6815840','Disney-s-Descendants---Zombies--Worlds-Collide-7-17-2025'],['Phil Wickham & Brandon Lake','Pechanga Arena - San Diego','San Diego, CA','Friday','8/1/2025','7:00 PM','7024957','Phil-Wickham---Brandon-Lake-8-1-2025'],['Hot Wheels Monster Trucks Live','Pechanga Arena - San Diego','San Diego, CA','Saturday','9/20/2025','12:30 PM','7027646','Hot-Wheels-Monster-Trucks-Live-9-20-2025'],['Hot Wheels Monster Trucks Live','Pechanga Arena - San Diego','San Diego, CA','Saturday','9/20/2025','7:30 PM','7027647','Hot-Wheels-Monster-Trucks-Live-9-20-2025'],['Hot Wheels Monster Trucks Live','Pechanga Arena - San Diego','San Diego, CA','Sunday','9/21/2025','2:30 PM','7027648','Hot-Wheels-Monster-Trucks-Live-9-21-2025']],'Valley View Casino Center','https://www.ticketnetwork.com/ticket/Valley-View-Casino-Center-events.aspx');