//
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-01A
TN_Widget.CreateTable([['FKA Twigs','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Thursday','4/9/2026','8:00 PM','7747060','FKA-Twigs-4-9-2026'],['Goodguys Car Show','Del Mar Fairgrounds','Del Mar, CA','Friday','4/10/2026','8:00 AM','7494016','Goodguys-Car-Show-4-10-2026'],['Goodguys Car Show','Del Mar Fairgrounds','Del Mar, CA','Saturday','4/11/2026','8:00 AM','7494017','Goodguys-Car-Show-4-11-2026'],['Josiah Queen','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Saturday','4/11/2026','7:00 PM','7376315','Josiah-Queen-4-11-2026'],['Goodguys Car Show','Del Mar Fairgrounds','Del Mar, CA','Sunday','4/12/2026','8:00 AM','7494018','Goodguys-Car-Show-4-12-2026'],['Royel Otis','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Monday','4/13/2026','8:00 PM','7746515','Royel-Otis-4-13-2026'],['Grateful Shred','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Friday','4/17/2026','8:00 PM','7719448','Grateful-Shred-4-17-2026'],['Vandelux','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Saturday','4/25/2026','9:00 PM','7734101','Vandelux-4-25-2026'],['Cory Wong','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Sunday','4/26/2026','8:30 PM','7570138','Cory-Wong-4-26-2026'],['Foodieland','Del Mar Fairgrounds','Del Mar, CA','Friday','5/1/2026','3:00 PM','7513238','Foodieland-5-1-2026'],['Foodieland','Del Mar Fairgrounds','Del Mar, CA','Saturday','5/2/2026','1:00 PM','7513239','Foodieland-5-2-2026'],['Foodieland','Del Mar Fairgrounds','Del Mar, CA','Sunday','5/3/2026','1:00 PM','7513240','Foodieland-5-3-2026'],['The 27 Club','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Friday','5/22/2026','8:00 PM','7746533','The-27-Club-5-22-2026'],['Collie Buddz','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Thursday','5/28/2026','8:00 PM','7699760','Collie-Buddz-5-28-2026'],['The Psychedelic Furs & We Are Scientists','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Friday','5/29/2026','8:00 PM','7756933','The-Psychedelic-Furs---We-Are-Scientists-5-29-2026'],['Wale & Smino','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Saturday','5/30/2026','8:00 PM','7734123','Wale---Smino-5-30-2026'],['The Last Dinner Party','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Sunday','5/31/2026','8:00 PM','7495676','The-Last-Dinner-Party-5-31-2026'],['Chicago - The Band','Del Mar Fairgrounds','Del Mar, CA','Wednesday','6/10/2026','7:30 PM','7797423','Chicago---The-Band-6-10-2026'],['Koe Wetzel','Del Mar Fairgrounds','Del Mar, CA','Friday','6/12/2026','7:30 PM','7734057','Koe-Wetzel-6-12-2026'],['Los Tucanes De Tijuana','Del Mar Fairgrounds','Del Mar, CA','Sunday','6/14/2026','7:30 PM','7734058','Los-Tucanes-De-Tijuana-6-14-2026'],['Marshmello','Del Mar Fairgrounds','Del Mar, CA','Friday','6/19/2026','7:30 PM','7734167','Marshmello-6-19-2026'],['Good Charlotte','Del Mar Fairgrounds','Del Mar, CA','Saturday','6/20/2026','7:30 PM','7734059','Good-Charlotte-6-20-2026'],['J Boog','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Saturday','6/20/2026','8:00 PM','7830440','J-Boog-6-20-2026'],['Pancho Barraza & Banda Machos','Del Mar Fairgrounds','Del Mar, CA','Sunday','6/21/2026','7:30 PM','7797862','Pancho-Barraza---Banda-Machos-6-21-2026'],['Nelly','Del Mar Fairgrounds','Del Mar, CA','Thursday','6/25/2026','7:30 PM','7797869','Nelly-6-25-2026'],['Don Carlos','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Friday','6/26/2026','6:00 PM','7837096','Don-Carlos-6-26-2026'],['Maren Morris','Del Mar Fairgrounds','Del Mar, CA','Friday','6/26/2026','7:30 PM','7797870','Maren-Morris-6-26-2026'],['Karl Denson's Tiny Universe','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Saturday','6/27/2026','8:00 PM','7830429','Karl-Denson-s-Tiny-Universe-6-27-2026'],['Andrew Santino','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Sunday','6/28/2026','4:00 PM','7828656','Andrew-Santino-6-28-2026'],['Andrew Santino','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Sunday','6/28/2026','7:00 PM','7828657','Andrew-Santino-6-28-2026'],['El Coyote & Chuy Lizarraga','Del Mar Fairgrounds','Del Mar, CA','Sunday','6/28/2026','7:30 PM','7797854','El-Coyote---Chuy-Lizarraga-6-28-2026'],['AJR','Del Mar Fairgrounds','Del Mar, CA','Wednesday','7/1/2026','6:00 PM','7797860','AJR-7-1-2026'],['Conjunto Primavera','Del Mar Fairgrounds','Del Mar, CA','Sunday','7/5/2026','7:30 PM','7797867','Conjunto-Primavera-7-5-2026'],['The Hip Abduction','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Friday','7/10/2026','8:00 PM','7808478','The-Hip-Abduction-7-10-2026'],['Stray Cats','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Sunday','7/26/2026','8:00 PM','7791418','Stray-Cats-7-26-2026'],['Modest Mouse','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Wednesday','8/5/2026','8:00 PM','7793834','Modest-Mouse-8-5-2026'],['The Breeders','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Tuesday','8/25/2026','8:00 PM','7677421','The-Breeders-8-25-2026'],['Peter Hook and The Light','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Friday','9/18/2026','8:00 PM','7357091','Peter-Hook-and-The-Light-9-18-2026'],['Sammy Rae and The Friends & Melt','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Saturday','10/3/2026','8:00 PM','7829028','Sammy-Rae-and-The-Friends---Melt-10-3-2026']],'Del Mar Fairgrounds','https://www.ticketnetwork.com/ticket/Del-Mar-Fairgrounds-events.aspx');