//
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([['Los Tucanes De Tijuana','Vina Robles Amphitheater','Paso Robles, CA','Friday','5/2/2025','8:00 PM','6961009','Los-Tucanes-De-Tijuana-5-2-2025'],['Chris Isaak','Vina Robles Amphitheater','Paso Robles, CA','Friday','5/23/2025','8:00 PM','7032883','Chris-Isaak-5-23-2025'],['Jason Bonham's Led Zeppelin Evening','Vina Robles Amphitheater','Paso Robles, CA','Thursday','5/29/2025','7:30 PM','7008533','Jason-Bonham-s-Led-Zeppelin-Evening-5-29-2025'],['Leon Bridges','Vina Robles Amphitheater','Paso Robles, CA','Wednesday','6/4/2025','7:30 PM','6834614','Leon-Bridges-6-4-2025'],['Rod Stewart','Vina Robles Amphitheater','Paso Robles, CA','Sunday','6/15/2025','7:30 PM','6860364','Rod-Stewart-6-15-2025'],['Foreigner','Vina Robles Amphitheater','Paso Robles, CA','Wednesday','6/18/2025','8:00 PM','7021010','Foreigner-6-18-2025'],['Happy Together Tour','Vina Robles Amphitheater','Paso Robles, CA','Sunday','7/13/2025','7:30 PM','6945605','Happy-Together-Tour-7-13-2025'],['Joe Bonamassa','Vina Robles Amphitheater','Paso Robles, CA','Friday','8/1/2025','8:00 PM','6942654','Joe-Bonamassa-8-1-2025'],['Anjelah Johnson-Reyes','Vina Robles Amphitheater','Paso Robles, CA','Saturday','8/2/2025','8:00 PM','6996614','Anjelah-Johnson-Reyes-8-2-2025'],['Melissa Etheridge & Indigo Girls','Vina Robles Amphitheater','Paso Robles, CA','Thursday','8/7/2025','7:30 PM','6869774','Melissa-Etheridge---Indigo-Girls-8-7-2025'],['Lost 80's Live','Vina Robles Amphitheater','Paso Robles, CA','Friday','8/29/2025','6:15 PM','6885079','Lost-80-s-Live-8-29-2025'],['Chicago - The Band','Vina Robles Amphitheater','Paso Robles, CA','Tuesday','9/9/2025','8:00 PM','6927771','Chicago---The-Band-9-9-2025'],['The Head and The Heart','Vina Robles Amphitheater','Paso Robles, CA','Friday','9/26/2025','7:30 PM','7013498','The-Head-and-The-Heart-9-26-2025']],'Vina Robles Amphitheatre','https://www.ticketnetwork.com/ticket/Vina-Robles-Amphitheatre-events.aspx');