//
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([['Sullivan King','Bill Graham Civic Auditorium','San Francisco, CA','Friday','3/14/2025','7:00 PM','6752815','Sullivan-King-3-14-2025'],['Gareth Emery','Bill Graham Civic Auditorium','San Francisco, CA','Friday','3/21/2025','8:00 PM','6778796','Gareth-Emery-3-21-2025'],['Kayzo','Bill Graham Civic Auditorium','San Francisco, CA','Saturday','4/5/2025','7:00 PM','6875853','Kayzo-4-5-2025'],['The Avett Brothers','Bill Graham Civic Auditorium','San Francisco, CA','Thursday','4/10/2025','8:00 PM','6733237','The-Avett-Brothers-4-10-2025'],['FKA Twigs','Bill Graham Civic Auditorium','San Francisco, CA','Saturday','4/19/2025','8:00 PM','6936611','FKA-Twigs-4-19-2025'],['Phish - 2 Day Pass','Bill Graham Civic Auditorium','San Francisco, CA','Tuesday','4/22/2025','TBD','6945292','Phish---2-Day-Pass-4-22-2025'],['Phish','Bill Graham Civic Auditorium','San Francisco, CA','Tuesday','4/22/2025','7:30 PM','6945289','Phish-4-22-2025'],['Phish','Bill Graham Civic Auditorium','San Francisco, CA','Wednesday','4/23/2025','7:30 PM','6945290','Phish-4-23-2025'],['Nick Cave and the Bad Seeds','Bill Graham Civic Auditorium','San Francisco, CA','Wednesday','5/14/2025','8:00 PM','6693324','Nick-Cave-and-the-Bad-Seeds-5-14-2025'],['One Ok Rock','Bill Graham Civic Auditorium','San Francisco, CA','Friday','5/16/2025','8:00 PM','6950618','One-Ok-Rock-5-16-2025'],['Justice','Bill Graham Civic Auditorium','San Francisco, CA','Wednesday','5/21/2025','8:00 PM','6861867','Justice-5-21-2025'],['Justice','Bill Graham Civic Auditorium','San Francisco, CA','Thursday','5/22/2025','8:00 PM','6869581','Justice-5-22-2025'],['Jay Shetty','Bill Graham Civic Auditorium','San Francisco, CA','Friday','5/30/2025','8:00 PM','6959087','Jay-Shetty-5-30-2025'],['Peach Pit & Briston Maroney','Bill Graham Civic Auditorium','San Francisco, CA','Tuesday','6/10/2025','7:00 PM','6837239','Peach-Pit---Briston-Maroney-6-10-2025'],['BINI','Bill Graham Civic Auditorium','San Francisco, CA','Tuesday','6/17/2025','8:00 PM','6997773','BINI-6-17-2025'],['Simple Plan','Bill Graham Civic Auditorium','San Francisco, CA','Tuesday','8/12/2025','6:30 PM','7008564','Simple-Plan-8-12-2025'],['Ludovico Einaudi','Bill Graham Civic Auditorium','San Francisco, CA','Wednesday','10/22/2025','8:00 PM','6959692','Ludovico-Einaudi-10-22-2025']],'Bill Graham Civic Auditorium','https://www.ticketnetwork.com/ticket/Bill-Graham-Civic-Auditorium-events.aspx');