//
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([['Fortunate Youth','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Friday','2/14/2025','7:00 PM','6880439','Fortunate-Youth-2-14-2025'],['Hippo Campus & Mei Semones','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Tuesday','2/18/2025','8:00 PM','6689698','Hippo-Campus---Mei-Semones-2-18-2025'],['Lyle Lovett & His Acoustic Group','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Wednesday','3/5/2025','8:00 PM','6601221','Lyle-Lovett---His-Acoustic-Group-3-5-2025'],['Flipturn','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Thursday','3/6/2025','8:00 PM','6764705','Flipturn-3-6-2025'],['The Simon & Garfunkel Story','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Sunday','3/9/2025','7:00 PM','6891375','The-Simon---Garfunkel-Story-3-9-2025'],['Saint Motel','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Wednesday','3/12/2025','8:00 PM','6726178','Saint-Motel-3-12-2025'],['Classic Albums Live Tribute Show: The Eagles - Hotel California','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Thursday','3/13/2025','8:00 PM','6891471','Classic-Albums-Live-Tribute-Show--The-Eagles---Hotel-California-3-13-2025'],['The String Cheese Incident','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Friday','3/14/2025','7:00 PM','6829886','The-String-Cheese-Incident-3-14-2025'],['Rocket Con San Diego','Del Mar Fairgrounds','Del Mar, CA','Saturday','3/15/2025','TBD','6931890','Rocket-Con-San-Diego-3-15-2025'],['The String Cheese Incident','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Saturday','3/15/2025','7:00 PM','6829887','The-String-Cheese-Incident-3-15-2025'],['Rocket Con San Diego','Del Mar Fairgrounds','Del Mar, CA','Sunday','3/16/2025','TBD','6931891','Rocket-Con-San-Diego-3-16-2025'],['Todd Rundgren & Rob Shirakbari: What The World Needs Now - The Burt Bacharach Songbook In Concert','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Tuesday','3/25/2025','8:00 PM','6933296','Todd-Rundgren---Rob-Shirakbari--What-The-World-Needs-Now---The-Burt-Bacharach-Songbook-In-Concert-3-25-2025'],['Refused & Quicksand','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Saturday','3/29/2025','8:00 PM','6698481','Refused---Quicksand-3-29-2025'],['Allah Las','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Sunday','3/30/2025','8:00 PM','6966144','Allah-Las-3-30-2025'],['Goodguys Car Show','Del Mar Fairgrounds','Del Mar, CA','Friday','4/4/2025','8:00 AM','6842243','Goodguys-Car-Show-4-4-2025'],['Dilated Peoples & Souls of Mischief','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Friday','4/4/2025','8:00 PM','6963721','Dilated-Peoples---Souls-of-Mischief-4-4-2025'],['Goodguys Car Show','Del Mar Fairgrounds','Del Mar, CA','Saturday','4/5/2025','8:00 AM','6842244','Goodguys-Car-Show-4-5-2025'],['Matt Nathanson','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Saturday','4/5/2025','7:00 PM','6739170','Matt-Nathanson-4-5-2025'],['Goodguys Car Show','Del Mar Fairgrounds','Del Mar, CA','Sunday','4/6/2025','8:00 AM','6842245','Goodguys-Car-Show-4-6-2025'],['The Wailers','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Friday','4/25/2025','8:00 PM','6883346','The-Wailers-4-25-2025'],['Dean Lewis','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Tuesday','4/29/2025','8:00 PM','6501908','Dean-Lewis-4-29-2025'],['Foodieland','Del Mar Fairgrounds','Del Mar, CA','Friday','5/2/2025','3:00 PM','6714845','Foodieland-5-2-2025'],['Foodieland','Del Mar Fairgrounds','Del Mar, CA','Saturday','5/3/2025','1:00 PM','6714846','Foodieland-5-3-2025'],['Foodieland','Del Mar Fairgrounds','Del Mar, CA','Sunday','5/4/2025','1:00 PM','6714848','Foodieland-5-4-2025'],['Remi Wolf','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Saturday','5/10/2025','8:00 PM','6778082','Remi-Wolf-5-10-2025'],['Remi Wolf','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Sunday','5/11/2025','8:00 PM','6786306','Remi-Wolf-5-11-2025'],['Ok Go','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Wednesday','5/14/2025','8:00 PM','6936166','Ok-Go-5-14-2025'],['Hermanos Gutierrez','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Friday','5/16/2025','8:00 PM','6959661','Hermanos-Gutierrez-5-16-2025'],['Jack's Mannequin','The Sound At The Del Mar Fairgrounds','Del Mar, CA','Sunday','11/23/2025','8:00 PM','6956036','Jack-s-Mannequin-11-23-2025']],'Del Mar Fairgrounds','https://www.ticketnetwork.com/ticket/Del-Mar-Fairgrounds-events.aspx');